public abstract class OdiKM extends OdiProcedure implements IKnowledgeModule
IKnowledgeModule.KMType, IKnowledgeModule.LKMType, IKnowledgeModule.ProcessingType
NAME_MAX_LENGTH
INTG_TYPE_CONTROL_APPEND, INTG_TYPE_INCREMENTAL_UPDATE, INTG_TYPE_INTERMEDIATE_COMPONENT, INTG_TYPE_NONE, INTG_TYPE_SCD, LOCAL_VARIABLES_GROOVY_SCRIPT
Modifier and Type | Method and Description |
---|---|
int |
getChecksum()
Return the checksum value stored for this KM.
|
int |
getCustomizationStatus()
Returns the status of a KM based on its checksum.
|
java.lang.String |
getKMBuildNumber()
Return the build number stored for this KM.
|
java.lang.String |
getProducedASTClassName()
Gets the abstract syntax tree class name that is produced by this KM, if any, else null.
|
OdiProject |
getProject()
Returns the parent
OdiProject . |
IRepositoryEntity |
getSecurityContainer() |
OdiLanguage |
getSourceLanguage()
Get the source language associated with this KM, or null if no source language is set.
|
OdiLanguage |
getTargetLanguage()
Get the target language associated with this KM, or null if no target language is set.
|
boolean |
isDefaultKM()
Return whether this KM is the default KM for its pair of source / target
technologies, or not (c.f.
|
boolean |
isGlobal()
Returns whether this OdiKm has global scope, or not (i.e.
|
boolean |
isInstanceLevelSecurityNeeded()
Internal: this method is for internal purpose and must not be considered
as part of the public API.
|
boolean |
isSeeded()
Return true if this KM is a shipped, seeded 12c (or later) KM.
|
boolean |
isSetBasedOperatorSupported()
Return whether this KM supports set based operator Defines whether this KM
supports set based operator (i.e.
|
void |
setChecksum(int pChecksum)
Sets this KM's checksum
|
void |
setDefaultKM(boolean pDefaultKM)
Defines whether this KM is the default KM for its pair of source / target
technologies, or not (c.f.
|
void |
setKMBuildNumber(java.lang.String pBuildNumber)
Sets build number for this KM.
|
void |
setProject(OdiProject pProject)
Sets the parent
OdiProject . |
void |
setSetBasedOperatorSupported(boolean pSetBasedOperatorSupported)
Defines whether this KM supports set based operator (i.e.
|
java.lang.String |
toString() |
addLine, addLine, addLine, addLine, addOption, addOption, addOptionGroup, addProcedureLine, addProcedureLine, addProcedureOption, dumpLineOrder, duplicateLine, duplicateOption, getDefaultSourceTechnology, getDefaultTargetTechnology, getDescription, getFlexFieldsValues, getInternalId, getLines, getLineType, getName, getOption, getOptionGroup, getOptionGroups, getOptionNames, getOptions, getOptionsWithNoGroup, getProcedureId, getProcedureOption, getProcedureOptions, getTopLevelLines, initFlexFields, isMultiConnectionSupported, isProcedureLine, moveGroupAfterGroup, moveGroupBeforeGroup, moveLineAfter, moveLineBefore, moveLineToBottom, moveLineToTop, moveOptionAfter, moveOptionBefore, moveOptionToBottom, moveOptionToTop, removeLine, removeOption, removeOptionGroup, removeProcedureLine, setDefaultSourceTechnology, setDefaultTargetTechnology, setDescription, setMultiConnectionSupported, setName
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addProcedureOption, getDescription, getIntegrationType, getKMType, getLKMType, getProcedureLines, getProcedureOption, getProcedureOptions, getProcessingType, isMultiConnectionSupported
addOptionGroup, addProcedureLine, addProcedureLine, addProcedureOption, getOptionGroup, removeProcedureLine
getName
getBigNumericId, getGlobalId, getNumericId
getFirstDate, getFirstUser, getLastDate, getLastUser
getGlobalId, getParent
public IRepositoryEntity getSecurityContainer()
getSecurityContainer
in interface IRepositoryEntity
getSecurityContainer
in class OdiProcedure
public OdiProject getProject()
OdiProject
.OdiProject
OdiProject
,
setProject(OdiProject)
public boolean isInstanceLevelSecurityNeeded()
IOdiEntity
Defines a method to capture the info on which object needs instance level privilege.
isInstanceLevelSecurityNeeded
in interface IOdiEntity
true
if instance level security needed,
false
otherwisepublic void setProject(OdiProject pProject)
OdiProject
.pProject
- owning project. If null, defines a KM having global scope.OdiProject
,
getProject()
public boolean isDefaultKM()
setDefaultKM(boolean)
public void setDefaultKM(boolean pDefaultKM)
pDefaultKM
- true to set this KM as the default KM for its pair of
source / target technologiesisDefaultKM()
public void setSetBasedOperatorSupported(boolean pSetBasedOperatorSupported)
pSetBasedOperatorSupported
- true if this KM supports set based
operatorisSetBasedOperatorSupported()
public boolean isSetBasedOperatorSupported()
setSetBasedOperatorSupported(boolean)
public boolean isGlobal()
true
if this km is global, false
otherwisepublic java.lang.String getKMBuildNumber()
public void setKMBuildNumber(java.lang.String pBuildNumber)
public int getChecksum()
public void setChecksum(int pChecksum)
public int getCustomizationStatus()
public boolean isSeeded()
public java.lang.String getProducedASTClassName()
IKnowledgeModule
getProducedASTClassName
in interface IKnowledgeModule
public java.lang.String toString()
public OdiLanguage getSourceLanguage()
IKnowledgeModule
getSourceLanguage
in interface IKnowledgeModule
public OdiLanguage getTargetLanguage()
IKnowledgeModule
getTargetLanguage
in interface IKnowledgeModule