public class OdiKMTemplate extends oracle.odi.domain.support.AbstractOdiEntity implements IWorkDevelopmentOdiEntity, oracle.odi.domain.impexp.IExportable, oracle.odi.impexp.smartie.ISmartExportable, oracle.odi.core.audit.support.IAuditableFirstClassObject, ITemplate
| Constructor and Description |
|---|
OdiKMTemplate(java.lang.String templateName)
Constructs a new OdiKMTemplate
|
OdiKMTemplate(java.lang.String templateName,
OdiTechnology technology,
oracle.odi.domain.topology.language.OdiLanguage baseLanguage)
Constructs a new OdiKMTemplate
|
| Modifier and Type | Method and Description |
|---|---|
OdiKMTemplateTemplateJoin |
addOdiKMTemplateReference(OdiKMTemplate odiKMTemplate)
Adds the {link OdiKMTemplate}'s reference to this
OdiKMTemplate. |
oracle.odi.domain.topology.language.OdiLanguage |
getBaseLanguage()
Obtains the base language for which this
OdiKMTemplate
is designed to be used. |
java.lang.String |
getBaseLanguageName()
Get the base language name associated with this template.
|
java.lang.String |
getDomainInterfaceType() |
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
java.util.List |
getKms()
Returns the KMs that are referencing this
OdiKMTemplate. |
java.lang.String |
getName()
Returns the name of this entity instance.
|
java.util.List |
getOdiKMTemplateReferenceList()
Returns the list of
OdiKMTemplate's that are
referenced by this OdiKMTemplate. |
java.util.List |
getOdiKMTemplateReferredList()
Returns the list of
OdiKMTemplate's that are
referred by this OdiKMTemplate. |
java.util.List |
getOdiKMTemplateRefferedList()
Returns the list of
OdiKMTemplate's that are
referenced by this OdiKMTemplate. |
java.lang.String |
getQualifiedName() |
OdiTechnology |
getTechnology()
Obtains the technology for which this
OdiKMTemplate
is designed to be used. |
java.lang.String |
getTechnologyName()
Gets the technology name associated with this template.
|
java.lang.Number |
getTemplateId()
Obtains the Id for this
OdiKMTemplate. |
java.lang.String |
getTemplateName()
Obtains the name of this
OdiKMTemplate. |
java.lang.String |
getTemplateText()
Obtains the text of the template.
|
boolean |
isFromInclude()
If true, indicates that this template declaration was generated by expanding
an INCLUDE command.
|
boolean |
isGeneric()
Checks if this template applies to all (generic) technologies.
|
boolean |
isReplicateNewlines()
If true, indicates that the newline characters in this template are intended to be reproduced
in the generated code.
|
boolean |
isSeeded()
Returns whether this
OdiKMTemplate is seeded or not. |
OdiKMTemplateTemplateJoin |
removeOdiKMTemplateReference(OdiKMTemplate odiKMTemplate)
Removes the {link OdiKMTemplate}'s reference from this
OdiKMTemplate. |
void |
setBaseLanguage(oracle.odi.domain.topology.language.OdiLanguage baseLanguage)
Obtains the base language for which this
OdiKMTemplate
is designed to be used. |
void |
setIsReplicateNewlines(boolean value) |
void |
setTechnology(OdiTechnology technology)
Specifies the technology for which this
OdiKMTemplate
is designed to be used. |
void |
setTemplateName(java.lang.String templateName)
Specifies the name of this
OdiKMTemplate. |
void |
setTemplateText(java.lang.String templateText)
Specifies the text of the template.
|
java.lang.String |
toString() |
getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded, isNew, preCommitequals, getBigNumericId, getGlobalId, getNumericId, getParent, hashCodegetFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeededgetGlobalId, getParentgetBigNumericId, getGlobalId, getNumericIdpublic OdiKMTemplate(java.lang.String templateName)
templateName - - the name of the templatepublic OdiKMTemplate(java.lang.String templateName,
OdiTechnology technology,
oracle.odi.domain.topology.language.OdiLanguage baseLanguage)
templateName - - the name of the templatetechnology - - the technology for which this template is
designed to be used.baseLanguage - - The base language for which this
template is designed to be used.public java.lang.Number getTemplateId()
OdiKMTemplate.public java.lang.String getTemplateName()
OdiKMTemplate.public java.lang.String getName()
IOdiEntitygetName in interface IModelObjectgetName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntitypublic void setTemplateName(java.lang.String templateName)
OdiKMTemplate.templateName - the templateName to setpublic OdiTechnology getTechnology()
OdiKMTemplate
is designed to be used.public void setTechnology(OdiTechnology technology)
OdiKMTemplate
is designed to be used.technology - the technology to setpublic oracle.odi.domain.topology.language.OdiLanguage getBaseLanguage()
OdiKMTemplate
is designed to be used.public void setBaseLanguage(oracle.odi.domain.topology.language.OdiLanguage baseLanguage)
OdiKMTemplate
is designed to be used.baseLanguage - the baseLanguage to setpublic boolean isSeeded()
OdiKMTemplate is seeded or not.true if this OdiKMTemplate is seeded, false otherwisepublic java.lang.String getTemplateText()
getTemplateText in interface ITemplatepublic void setTemplateText(java.lang.String templateText)
templateText - the templateText to setpublic void setIsReplicateNewlines(boolean value)
public java.util.List getKms()
OdiKMTemplate.public java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId() method. The necessity for the
getInternalId() abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.
getInternalId in interface IRepositoryEntitypublic java.lang.String getQualifiedName()
getQualifiedName in interface IModelObjectpublic java.lang.String getDomainInterfaceType()
getDomainInterfaceType in interface IModelObjectBasepublic boolean isGeneric()
ITemplatepublic boolean isFromInclude()
ITemplateisFromInclude in interface ITemplatepublic boolean isReplicateNewlines()
ITemplateisReplicateNewlines in interface ITemplatepublic java.lang.String toString()
toString in class oracle.odi.domain.support.AbstractOdiEntitypublic java.lang.String getBaseLanguageName()
ITemplategetBaseLanguageName in interface ITemplatepublic java.lang.String getTechnologyName()
ITemplategetTechnologyName in interface ITemplatepublic OdiKMTemplateTemplateJoin addOdiKMTemplateReference(OdiKMTemplate odiKMTemplate)
OdiKMTemplate.odiKMTemplate - the KM template to be addedpublic java.util.List getOdiKMTemplateReferenceList()
OdiKMTemplate's that are
referenced by this OdiKMTemplate.OdiKMTemplatespublic java.util.List getOdiKMTemplateRefferedList()
OdiKMTemplate's that are
referenced by this OdiKMTemplate.OdiKMTemplatespublic java.util.List getOdiKMTemplateReferredList()
OdiKMTemplate's that are
referred by this OdiKMTemplate.OdiKMTemplatespublic OdiKMTemplateTemplateJoin removeOdiKMTemplateReference(OdiKMTemplate odiKMTemplate)
OdiKMTemplate.odiKMTemplate - the KM template reference to be removed