public final class OdiJKM extends OdiKM
JKM (Journalizing Knowledge Modules) are used to create a journal of data modifications (insert, update and delete) of the source databases to keep track of the changes. These KMs are used in data models and used for Changed Data Capture.
OdiJKM class is defined to only use OdiJKMLine as OdiProcedureLine.
IKnowledgeModule.KMType, IKnowledgeModule.LKMType, IKnowledgeModule.ProcessingTypeNAME_MAX_LENGTHINTG_TYPE_CONTROL_APPEND, INTG_TYPE_INCREMENTAL_UPDATE, INTG_TYPE_INTERMEDIATE_COMPONENT, INTG_TYPE_NONE, INTG_TYPE_SCD, LOCAL_VARIABLES_GROOVY_SCRIPT| Constructor and Description |
|---|
OdiJKM(OdiProject pProject,
java.lang.String pName)
Constructor that sets the parent project and the name of the KM.
|
| Modifier and Type | Method and Description |
|---|---|
IProcedureOption |
addProcedureOption(java.lang.String pOptionName,
java.lang.Enum pType,
java.lang.Object pDefaultValue)
Adds a procedure option to this KM.
|
java.lang.String |
getIntegrationType()
Gets the integration type associated with this KM.
|
IKnowledgeModule.KMType |
getKMType()
Gets a string name of the KM type, e.g.
|
java.lang.Class |
getLineType() |
IKnowledgeModule.LKMType |
getLKMType()
Gets the LKM type.
|
java.util.List |
getProcedureLines()
Gets the list of procedure lines for this KM.
|
IKnowledgeModule.ProcessingType |
getProcessingType()
Gets the processing type (SOURCE or TARGET or BOTH) for which this KM is intended.
|
boolean |
isConsistentJournalize()
Is journalize method consistent?
|
boolean |
isMultiConnectionSupported()
Defines whether this OdiProcedure supports mulitConnection or not.
|
boolean |
isOggJKM()
Is JKM is using JAgent
|
void |
setConsistentJournalize(boolean pConsistentJournal)
Sets system to consistent journalize.
|
void |
setMultiConnectionSupported(boolean pMultiConnectionSupported)
Defines whether this OdiProcedure supports mulitConnection or not.
|
void |
setOggJKM(boolean pOggJKM)
Sets the JKM flag that says this JKM uses GoldenGate JAgent
|
getChecksum, getCustomizationStatus, getKMBuildNumber, getProducedASTClassName, getProject, getSecurityContainer, getSourceLanguage, getTargetLanguage, isDefaultKM, isGlobal, isInstanceLevelSecurityNeeded, isSeeded, isSetBasedOperatorSupported, setChecksum, setDefaultKM, setKMBuildNumber, setProject, setSetBasedOperatorSupported, toStringaddLine, addLine, addLine, addLine, addOption, addOption, addOptionGroup, addProcedureLine, addProcedureLine, addProcedureOption, dumpLineOrder, duplicateLine, duplicateOption, getDefaultSourceTechnology, getDefaultTargetTechnology, getDescription, getFlexFieldsValues, getInternalId, getLines, getName, getOption, getOptionGroup, getOptionGroups, getOptionNames, getOptions, getOptionsWithNoGroup, getProcedureId, getProcedureOption, getProcedureOptions, getTopLevelLines, initFlexFields, isProcedureLine, moveGroupAfterGroup, moveGroupBeforeGroup, moveLineAfter, moveLineBefore, moveLineToBottom, moveLineToTop, moveOptionAfter, moveOptionBefore, moveOptionToBottom, moveOptionToTop, removeLine, removeOption, removeOptionGroup, removeProcedureLine, setDefaultSourceTechnology, setDefaultTargetTechnology, setDescription, setNameequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getProcedureOption, getProcedureOptionsaddOptionGroup, addProcedureLine, addProcedureLine, addProcedureOption, getOptionGroup, removeProcedureLinegetNamegetBigNumericId, getGlobalId, getNumericIdgetFirstDate, getFirstUser, getLastDate, getLastUsergetGlobalId, getParentpublic OdiJKM(OdiProject pProject, java.lang.String pName)
pProject - Owning project, null is setting global scope on the JKMpName - JKM nameDomainRuntimeException - if project is null or if name is null, empty or longer than NAME_MAX_LENGTH (400 characters)OdiProjectpublic boolean isConsistentJournalize()
setConsistentJournalize(boolean)public void setConsistentJournalize(boolean pConsistentJournal)
pConsistentJournal - boolean value for consistentJournalizeisConsistentJournalize()public void setMultiConnectionSupported(boolean pMultiConnectionSupported)
setMultiConnectionSupported in class OdiProcedurepMultiConnectionSupported - Multiconnection defaults to false and is not modifiable for JKM, CKM.DomainRuntimeException - always.isMultiConnectionSupported()public boolean isMultiConnectionSupported()
isMultiConnectionSupported in interface IKnowledgeModuleisMultiConnectionSupported in class OdiProceduresetMultiConnectionSupported(boolean)public IKnowledgeModule.KMType getKMType()
IKnowledgeModulepublic java.util.List getProcedureLines()
IKnowledgeModulepublic IProcedureOption addProcedureOption(java.lang.String pOptionName, java.lang.Enum pType, java.lang.Object pDefaultValue)
IKnowledgeModulepOptionName - The name of the new option.pType - The type of the new option.pDefaultValue - The default value for the new option.public java.lang.String getIntegrationType()
IKnowledgeModulepublic IKnowledgeModule.ProcessingType getProcessingType()
IKnowledgeModulepublic IKnowledgeModule.LKMType getLKMType()
IKnowledgeModulepublic boolean isOggJKM()
setOggJKM(boolean)public void setOggJKM(boolean pOggJKM)
pOggJKM - boolean value for oggJKMisOggJKM()public java.lang.Class getLineType()
getLineType in class OdiProcedure