public final class OdiCKM extends ComponentKM
CKM (Check Knowledge Modules) are used to check that constraints on the sources and targets are not violated. These KMs are used in data model's static check and interfaces flow checks
OdiCKM class is defined to only use OdiCKMLine as ProcedureLine.
IKnowledgeModule.KMType, IKnowledgeModule.LKMType, IKnowledgeModule.ProcessingType
SUBTYPE_ALL_LINES, SUBTYPE_UNDEFINED
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
Constructor and Description |
---|
OdiCKM(OdiProject pProject,
java.lang.String pName)
Constructor that sets the parent project and the name of the KM.
|
Modifier and Type | Method and Description |
---|---|
IKnowledgeModule.KMType |
getKMType()
Gets a string name of the KM type, e.g.
|
java.lang.Class |
getLineType() |
boolean |
isMultiConnectionSupported()
Defines whether this OdiProcedure supports mulitConnection or not.
|
void |
setMultiConnectionSupported(boolean pMultiConnectionSupported)
Defines whether this OdiProcedure supports mulitConnection or not.
|
getBaseComponentKM
addClassDeclarationText, addOdiKMTemplate, addOdiKMTemplateList, addProcedureLine, addProcedureLine, addProcedureOption, addVariableDefScriptText, duplicateOption, findLine, getAllLines, getAllLines, getAllOptionGroups, getAllOptions, getAllOptionsWithNoGroup, getASTClassName, getClassDeclarationText, getComponentType, getDefaultSourceTechnology, getDefaultTargetTechnology, getDerivedSubSelectLine, getDerivedSubSelectTemplate, getExpectedUpstreamASTClassName, getGenerateMTI, getIndExcludeExUnitBegin, getIndExcludeExUnitEnd, getIndExcludeExUnitMain, getIndExcludeMapBegin, getIndExcludeMapCleanUp, getIndExcludeMapEnd, getInsertionLines, getIntegrationType, getLKMType, getName, getOdiKMTemplateList, getOdiProject, getOption, getOwnedLines, getOwnedLines, getProcedureLines, getProcedureOptions, getProcessingType, getProducedASTClassName, getSourceLanguage, getSourceTechnology, getStaticBaseClassName, getSubtype, getSubtype, getTargetLanguage, getTargetTechnology, getVariableDefScriptText, getVariableDefScriptText, hasGeneratorDelegate, is11gKM, isBaseKMLine, isBaseOnlyKM, isHidden, isMultiConnectIKM, isMultiConnectLKM, isProcedureLine, isSeeded, isSourceSupported, isTransparentLKM, moveLineAfter, moveLineBefore, moveLineToBottom, moveLineToTop, overrideLine, removeOdiKMTemplate, removeProcedureLine, setBaseComponentKM, setClassDeclarationText, setComponentType, setDefaultsFromBaseKM, setDefaultSourceTechnology, setExpectedUpstreamASTClassName, setGenerateMTI, setIndExcludeExUnitBegin, setIndExcludeExUnitEnd, setIndExcludeExUnitMain, setIndExcludeMapBegin, setIndExcludeMapCleanUp, setIndExcludeMapEnd, setIntegrationType, setIsBaseOnlyKM, setLKMType, setProcessingType, setProducedASTClassName, setSourceLanguage, setSourceTechnology, setSubtype, setSubtype, setTargetLanguage, setTargetTechnology, setVariableDefScriptText
getChecksum, getCustomizationStatus, getKMBuildNumber, getProject, getSecurityContainer, isDefaultKM, isGlobal, isInstanceLevelSecurityNeeded, isSetBasedOperatorSupported, setChecksum, setDefaultKM, setKMBuildNumber, setProject, setSetBasedOperatorSupported, toString
addLine, addLine, addLine, addLine, addOption, addOption, addOptionGroup, addProcedureOption, dumpLineOrder, duplicateLine, getDescription, getFlexFieldsValues, getInternalId, getLines, getOptionGroup, getOptionGroups, getOptionNames, getOptions, getOptionsWithNoGroup, getProcedureId, getProcedureOption, getTopLevelLines, initFlexFields, moveGroupAfterGroup, moveGroupBeforeGroup, moveOptionAfter, moveOptionBefore, moveOptionToBottom, moveOptionToTop, removeLine, removeOption, removeOptionGroup, setDefaultTargetTechnology, setDescription, setName
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addProcedureOption, getDescription, getProcedureOption
addOptionGroup, addProcedureOption, getOptionGroup
getBigNumericId, getGlobalId, getNumericId
getFirstDate, getFirstUser, getLastDate, getLastUser
getGlobalId, getParent
public OdiCKM(OdiProject pProject, java.lang.String pName)
pProject
- owning project, null is setting global scope on the CKMpName
- CKM nameDomainRuntimeException
- if name is null, empty or longer than NAME_MAX_LENGTH (400 characters)OdiProject
public IKnowledgeModule.KMType getKMType()
IKnowledgeModule
getKMType
in interface IKnowledgeModule
getKMType
in class AbstractComponentKM
public void setMultiConnectionSupported(boolean pMultiConnectionSupported)
setMultiConnectionSupported
in class AbstractComponentKM
pMultiConnectionSupported
- boolean value for multiConnection.
Multiconnection defaults to false and is not modifiable for JKM, CKM.DomainRuntimeException
- always.OdiProcedure.isMultiConnectionSupported()
public boolean isMultiConnectionSupported()
isMultiConnectionSupported
in interface IKnowledgeModule
isMultiConnectionSupported
in class OdiProcedure
OdiProcedure.setMultiConnectionSupported(boolean)
public java.lang.Class getLineType()
getLineType
in class AbstractComponentKM