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
Constructor and Description |
---|
OdiKMTemplate(java.lang.String templateName,
java.lang.String technologyName,
java.lang.String baseLanguageName)
Constructs a new OdiKMTemplate
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseLanguageName()
Obtains the name of the base language for which this
OdiKMTemplate
is designed to be used. |
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 |
getTechnologyName()
Obtains the name of the technology for which this
OdiKMTemplate
is designed to be used. |
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 |
isSeeded()
Returns whether this
OdiKMTemplate is seeded or not. |
void |
setBaseLanguageName(java.lang.String baseLanguageName)
Obtains the name of the base language for which this
OdiKMTemplate
is designed to be used. |
void |
setTechnologyName(java.lang.String technologyName)
Specifies the name of 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.
|
getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, getName, isInstanceLevelSecurityNeeded, isNew, preCommit, toString
equals, getBigNumericId, getGlobalId, getNumericId, getParent, hashCode
getFirstDate, getFirstUser, getLastDate, getLastUser, getName, isInstanceLevelSecurityNeeded
getGlobalId, getParent
public OdiKMTemplate(java.lang.String templateName, java.lang.String technologyName, java.lang.String baseLanguageName)
templateName
- - the name of the templatetechnologyName
- - the name of the technology for which this template is
designed to be used.baseLanguageName
- - The language name of 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 void setTemplateName(java.lang.String templateName)
OdiKMTemplate
.templateName
- the templateName to setpublic java.lang.String getTechnologyName()
OdiKMTemplate
is designed to be used.public void setTechnologyName(java.lang.String technologyName)
OdiKMTemplate
is designed to be used.technologyName
- the technologyName to setpublic java.lang.String getBaseLanguageName()
OdiKMTemplate
is designed to be used.public void setBaseLanguageName(java.lang.String baseLanguageName)
OdiKMTemplate
is designed to be used.baseLanguageName
- the baseLanguageName to setpublic boolean isSeeded()
OdiKMTemplate
is seeded or not.true
if this OdiKMTemplate
is seeded, false
otherwisepublic java.lang.String getTemplateText()
public void setTemplateText(java.lang.String templateText)
templateText
- the templateText to setpublic 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 IRepositoryEntity