public class DCLAttributeDef extends AttributeDefImpl
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType
AttributeDef.AttributeStorageEnum
AttributeHints.ControlType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADV_CRIT_VC_GROOVY_EXPRESSION |
static java.lang.String |
ATTR_ADDL_LIST_DISP_ATTRS |
static java.lang.String |
ATTR_ADDL_LIST_SEARCH_ATTRS |
static java.lang.String |
ATTRIBUTE_LOGICAL_TYPE |
static java.lang.String |
BUG_23265011_MIGRATION_REQUIRED |
static java.lang.String |
IGNORE_NULL_BINDVAR_VALUES |
ATTR_LOAD_BULK, ATTR_LOAD_EACH, ATTR_LOAD_SKIP, EFFECTIVE_DATE_TYPE_END, EFFECTIVE_DATE_TYPE_NONE, EFFECTIVE_DATE_TYPE_START, HISTORY_CREATE_DATE, HISTORY_CREATE_USER, HISTORY_MODIFY_DATE, HISTORY_MODIFY_USER, HISTORY_MODIFY_VERSION, HISTORY_NOT_DEFINED, mAttrLoad, mBCheckedForSIF, mBCheckSIFCtrlHints, mColumnName, mDataSecurity, mDef, mDefaultValue, mDiscrColumn, mDomainName, mEffectiveDateType, mElemFactory, mElemType, mHistoryKind, mIndex, mIsEffectiveDateSequence, mIsEffectiveDateSequenceFlag, mJavaType, mKind, mMandatory, mNotNull, mObjectTableOID, mObjectTableRef, mObjectType, mOIDAttrNames, mPrecision, mPrimaryKey, mQueriable, mReadMethod, mResolveAccessors, mRetrievedOnInsert, mRetrievedOnUpdate, mScale, mSQLBuilder, mType, mTypeFactory, mTypeFactoryInitialized, mUnique, mUpdateable, mWriteMethod
JIT_PACKAGE_NAME, mDebugToSkipEmptyDocForBug24949961, mEditedProperties, mEditedPropertyExprs
DEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, DEF_SCOPE_USER, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIX
ATTR_ASSOCIATED_ROW, ATTR_ASSOCIATED_ROWITERATOR, ATTR_DYNAMIC, ATTR_ENTITY_DERIVED, ATTR_HIDDEN, ATTR_PERSISTENT, ATTR_ROWSET, ATTR_SQL_DERIVED, ATTR_TRANSIENT, ATTR_VARIABLE, READONLY, UPDATEABLE, UPDATEABLE_WHILE_NEW
ATTRIBUTE_AUTOSUBMIT, ATTRIBUTE_BINDEDITOR_LABEL, ATTRIBUTE_CTL_CATEGORY, ATTRIBUTE_CTL_DISPLAYHEIGHT, ATTRIBUTE_CTL_DISPLAYWIDTH, ATTRIBUTE_CTL_FIELD_ORDER, ATTRIBUTE_CTL_FORMTYPE, ATTRIBUTE_CTL_TYPE, ATTRIBUTE_DEFINITION_STATE, ATTRIBUTE_DISPLAY_HINT, ATTRIBUTE_DISPLAY_HINT_DISPLAY, ATTRIBUTE_DISPLAY_HINT_HIDE, ATTRIBUTE_FORM_TYPE_DETAIL, ATTRIBUTE_FORM_TYPE_SHORT, ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_PLURAL, ATTRIBUTE_LOVNAME, ATTRIBUTE_PAYLOAD_HINT, ATTRIBUTE_PAYLOAD_HINT_HIDE, ATTRIBUTE_PAYLOAD_HINT_SHOW, ATTRIBUTE_REQUIRED_HINT, ATTRIBUTE_REQUIRED_HINT_OPTIONAL, ATTRIBUTE_REQUIRED_HINT_REQUIRED, ATTRIBUTE_REQUIRED_HINT_SELECTIVELY_REQUIRED, ATTRIBUTE_TIMEZONE_ID, ATTRIBUTE_TOOLTIP, CTL_CHECK_BOX, CTL_CHOICE_LIST, CTL_COMBO_BOX, CTL_COMBO_BOX_LOV, CTL_DATE, CTL_DEFAULT, CTL_DELIMITEDIDS_CHOICE, CTL_EDIT, CTL_IMAGE, CTL_INPUT_TEXT_LOV, CTL_LIST_BOX, CTL_NUMBER_EDIT, CTL_RADIO_GROUP, CTLTYPE_CHECKBOX, CTLTYPE_COMBO, CTLTYPE_COMBOLOV, CTLTYPE_DATE, CTLTYPE_DEFAULT, CTLTYPE_DELIMITEDIDS_CHOICE, CTLTYPE_EDIT, CTLTYPE_IMAGE, CTLTYPE_LIST, CTLTYPE_LISTBOX, CTLTYPE_LOV, CTLTYPE_NUMEDIT, CTLTYPE_RADIOGRP, CTLTYPE_TOGGLE, FMT_FORMAT, FMT_FORMATTER, HINT_NAME_AUTOSUBMIT, HINT_NAME_CATEGORY, HINT_NAME_CTL_TYPE, HINT_NAME_DESCRIPTION, HINT_NAME_DISPLAY_HEIGHT, HINT_NAME_DISPLAY_HINT, HINT_NAME_DISPLAY_WIDTH, HINT_NAME_FIELD_ORDER, HINT_NAME_FORMAT, HINT_NAME_LABEL, HINT_NAME_LABEL_PLURAL, HINT_NAME_LOVNAME, HINT_NAME_MANDATORY, HINT_NAME_MAX_LENGTH, HINT_NAME_MAX_VALUE, HINT_NAME_MIN_LENGTH, HINT_NAME_MIN_VALUE, HINT_NAME_PAYLOAD_HINT, HINT_NAME_SECRET, HINT_NAME_TIMEZONEID, HINT_NAME_TOOLTIP, HINT_NAME_UPDATEABLE, HINT_NAME_WATERMARK, INTERNAL_HINT_NAME_AUTOSUBMIT, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_ENSURE_KEY_ATTR, PNAME_EnumList, PNAME_LovButton, PNAME_ROWNUMATTR, PNAME_SOURCENAME_ACCESSOR, PNAME_SOURCENAME_ATTR, PNAME_TextField
DEFINITION_STATE_ACTIVE, DEFINITION_STATE_DEPRECATED, PROPERTY_DEFINITION_STATE, PROPERTY_ERROR_MSG, PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP
FLAG_DIRTY, FLAG_EDITABLE, FLAG_FROM_TIP, FLAG_LOAD_BASE, FLAG_LOAD_HL_DEFS, FLAG_MAJOR_VERSION_CHANGED, FLAG_MINOR_VERSION_CHANGED, FLAG_NEW, FLAG_NEW_RECURSE, FLAG_SKIP_WRITE, XML_STATEMENT
Constructor and Description |
---|
DCLAttributeDef(java.lang.String voFullName,
java.lang.String voAttrName,
java.lang.String lookupVOFullName,
java.lang.String listDisplayAttrName,
java.util.List<java.lang.String> additionalListDisplayAttrNames,
java.util.List<java.lang.String> additionalListSearchAttrNames) |
Modifier and Type | Method and Description |
---|---|
void |
applyDiffContents(DifferDetails dif,
DiffResolver resolver)
When diff/merge operation is requested, we have the following
three def objects:
|
void |
cloneAttribute(AttributeDefImpl ad) |
void |
configure(DCExtContext context) |
void |
configureUpdate(DCExtContext context,
PersistableDefObject origObj) |
DifferDetails |
diffContents(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
Performs diff of scalar values.
|
DifferDetails |
diffObjects(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
The work-horse method performing diff between two defs of this
def type.
|
java.lang.String |
getDefXMLElementTag() |
java.lang.String |
getEOAttrName() |
java.lang.String |
getListDisplayAttrName() |
java.lang.String |
getLookupVOFullName() |
java.lang.String |
getVOFullName() |
boolean |
isNeedConfigure() |
AttributeDefImpl |
makeClone() |
void |
prepareForDiffMerge(PersistableDefObject attrOwner,
AttributeDefImpl attrDef) |
void |
setDirty(boolean b)
This method marks the Object dirty
|
void |
setListDisplayAttrName(java.lang.String s) |
void |
setLookupVOFullName(java.lang.String s) |
void |
setNeedConfigure(boolean b) |
void |
setSrcKeyInfo(java.util.List<DCExtKeyAttrInfo> srcKeyInfo) |
void |
writeObject(DefWriter jos)
Objects should write their persistence output in this method
|
addBackwardDependency, addBackwardDependency, addCompOper, addExtendedDefObject, addForwardDependency, addValidator, adjustPropertyMapForWrite, applyDiffChildren, applyNewName, beanToStore, convertHistoryColumnFlagToString, convertHistoryColumnStringToFlag, convertToJava, convertToStorage, createAttributeDependencyImpl, diffChildren, displayInShortForm, editCodeSource, ensureCodeSource, evaluateTransientExpression, forcedUnselectTransient, getAccessorVO, getAllExtendedDefObjects, getAllProperties, getAltKeyCount, getAttributeKind, getAttributeStorage, getAttributeStorageInt, getAttrLoad, getBackwardDependencies, getBackwardDependenciesNames, getCategory, getColumnName, getColumnNameForQuery, getCompOpers, getCompOpers, getCompOpers, getControlType, getDef, getDefaultValue, getDefinitionState, getDefTypeId, getDisplayHeight, getDisplayHint, getDisplayWidth, getDomainName, getElemFactory, getElemSQLType, getElemType, getEntityDef, getExprValueSupplierType, getExprVarVal, getExtendedDefObjects, getExtendedDefObjectsInternal, getFieldOrder, getFieldType, getFileName, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getForwardDependencyAttributes, getHint, getHints, getHintsFromResource, getHintValue, getHistoryKind, getIndex, getJavaType, getLabel, getLabelPlural, getListBindingDef, getLocaleName, getLOVFinder, getLOVName, getMessageBundleClass, getObjectType, getOIDAttrNames, getOperationDefinitions, getPayloadHint, getPermissionDef, getPrecision, getProperty, getRecalcExpression, getRecalcExpressionDef, getRecalcExpressionPrivilege, getRecalcExpressionTrustMode, getResourceBundleDef, getResourceBundleDef, getResourcePrefix, getResourcesFromBundle, getRowOperationDefinitions, getScale, getScriptOperationDefinitions, getScriptRowOperationDefinitions, getSerializerClassName, getSQLBuilder, getSQLType, getSQLTypeIdToString, getSQLTypeStringToId, getStructureDef, getTooltip, getTransientExpression, getTransientExpressionDef, getTransientExpressionPrivilege, getTransientExpressionTrustMode, getTransientExprEval, getTypeFactory, getTypeValueMapPropertySet, getUIHelper, getUpdateableFlag, getValidator, getValidatorCount, getValidators, getValueSerializer, getXMLElementTag, hasAttrCompOpers, hasExprVarVal, hasExtendedDefObjects, hasFormatInformation, hasHintDefined, hasHintOverride, hasTransientExpression, initFromXML, isAutoSubmit, isBaseDefFor, isCascadeUpdateParticipant, isChangeIndicatorColumn, isDiscrColumn, isDynamicCodeSourceEnabled, isEffectiveDateRelated, isEffectiveDateSequence, isEffectiveDateSequenceFlag, isEffectiveEndDate, isEffectiveStartDate, isHistoryColumn, isInWhereOrderGroup, isKey, isMandatory, isObjectTableOID, isObjectTableRef, isPrimaryKey, isQueriable, isRetrievedOnInsert, isRetrievedOnUpdate, isSelected, isSelectedStatic, isSessionScope, isUnique, isWriteObject, loadCompOpersFromXML, loadDependencies, loadFromResultSet, loadFromStatement, loadPermission, lookupCompOper, lookupExprDef, lookupValidator, lookupValidatorByName, parseFormattedAttribute, printXMLDefinition, removeBackwardDependency, removeCompOper, removeValidator, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setAttributeStorage, setAttributeStorageString, setAttrLoad, setBackwardDependencies, setBaseDefObject, setColumnName, setDefaultValue, setDefForComponent, setDiscrColumn, setDomainName, setEffectiveDateSequence, setEffectiveDateSequenceFlag, setEffectiveDateType, setElemType, setExprVarVal, setFieldType, setHistoryKind, setJavaType, setLOVFinder, setLOVName, setMandatory, setName, setObjectType, setParent, setPermissionDef, setPrecisionScale, setPrimaryKey, setPropertyExpression, setQueriable, setRecalcExpression, setRecalcExpressionDef, setRecalcExpressionPrivilege, setRecalcExpressionTrustMode, setRecalcExpressionTypeCheckedMode, setRetrievedOnInsert, setRetrievedOnUpdate, setSelected, setSelectedTransient, setSerializerClassName, setSQLType, setTransientExpression, setTransientExpressionDef, setTransientExpressionPrivilege, setTransientExpressionSourceHint, setTransientExpressionTrustMode, setTransientExpressionTypeCheckedMode, setTypeValueMapPropertySet, setUnique, setUpdateableFlag, shouldEvaluateTransientExpression, storeToBean, unsetDefForComponent, writeChildren, writeContents
addChildren, callFinishedLoading, ensureVariableManager, finishedLoading, getAdfmConfigStartupProperty, getBaseDefObject, getBooleanAdfmConfigProperty, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, isFromCustomization, loadProperties, loadVariables, resolveReferences, setBaseDefObject
addDefImport, addSavedDocName, allocatePDef, allocatePropertyMap, allocatePropertyMapForEdits, baseIsWriteObject, beginDiffObjects, buildChildName, buildFileName, checkEditable, checkEditableWithDefWriter, checkStructWithOld, close, createEditPDef, createFromXML, deregisterDefObject, deregisterHLDef, deregisterSessionObject, diffChildrenHLDefs, diffChildrenProperties, ensureDifferDetails, ensureDifferSkip, extractCustIntoPDef, findDefImport, forgetChanges, getBaseDir, getBasePackage, getChildren, getDefImports, getDefManager, getDefTypeName, getDefWriter, getDifferSkip, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getEditVersionsAsString, getFullDirName, getFullFileName, getHLDefMap, getIdentificationAttributeName, getMajorVersion, getMergeableFullName, getMergeableName, getMinorVersion, getOrigObject, getPropertyMap, getPropertyNamesSet, getSavedDocNames, getSessionSyncLock, getSubstitutedNames, getSyncLock, guaranteePath, includeCustomizationLayerInfo, isAutoMerged, isCreateEditPDef, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isInheritPolicyStrict, isLoadBase, isLoadHLDefs, isMajorVersionChanged, isMinorVersionChanged, isNew, isNewRecurse, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, isSaveToJSON, isSkipWrite, loadDefImports, loadDefObject, loadXMLContents, loadXMLContentsNoResolve, lockDefinitionContext, lookupHLDef, makeNew, mergeChanges, mergeEditedPropertiesForJSON, mergePropertyMap, objectRemoved, postSaveContents, readJSONObject, reapplyChanges, registerClass, registerDefObject, registerHLDef, registerSessionDefObject, registerSiteDefObject, reloadFromXMLContents, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveJSONContents, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setEditable, setEditableFlag, setEditableObject, setForRuntime, setFullName, setFullNameInternal, setLoadBase, setLoadHLDefs, setMajorVersionChanged, setNew, setNewRecurse, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyMap, setSkipWrite, setupDefWriterFromMO, setWholeDefDirty, setWholeDefNew, staticUpdateChildrenList, transferDefChangesInto, unlockDefinitionContext, updateChildObject, updateChildrenList, updateMdsKeyFromTip, verifyVersion, verifyVersionNullCheck, writeHeaderForNew, writeJSONContents, writeVersion, writeXMLContents
addPropertySetName, enableUpdateCheck, getContainerDef, getContainerName, getDefScope, getMdsKey, getMdsReference, getMdsReferenceName, getPropertySetName, getPropertySetNames, getRootBaseDefObject, isComponentDefinition, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, objectFound, objectInserted, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, staticLoadCustomProperties, staticLoadSchemaProperties, suppressUpdateCheck
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getPropertyExpressionDef, getPropertyExpressionsMap, getPropertyExprEval, getRawPropertyValue, getStringFromMessageBundle, hasProperty, refreshProperty, removeProperty, setPropertiesMap, setPropertiesMap2, setProperty, setPropertyExpressionMap, setRawPropertyValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
getProperties, getProperty, refreshProperty
getFullName, getName
getDefManager, getDefScope, getFullName
getName, setEditable
removeProperty, setProperty
getName
getFullName
public static final java.lang.String ATTRIBUTE_LOGICAL_TYPE
public static final java.lang.String BUG_23265011_MIGRATION_REQUIRED
public static final java.lang.String ATTR_ADDL_LIST_DISP_ATTRS
public static final java.lang.String ATTR_ADDL_LIST_SEARCH_ATTRS
public static final java.lang.String ADV_CRIT_VC_GROOVY_EXPRESSION
public static final java.lang.String IGNORE_NULL_BINDVAR_VALUES
public DCLAttributeDef(java.lang.String voFullName, java.lang.String voAttrName, java.lang.String lookupVOFullName, java.lang.String listDisplayAttrName, java.util.List<java.lang.String> additionalListDisplayAttrNames, java.util.List<java.lang.String> additionalListSearchAttrNames)
@Concealed public AttributeDefImpl makeClone()
makeClone
in class AttributeDefImpl
@Concealed public void cloneAttribute(AttributeDefImpl ad)
cloneAttribute
in class AttributeDefImpl
AttributeDefImpl.cloneAttribute(AttributeDefImpl, boolean)
public void setDirty(boolean b)
DefPersistable
setDirty
in interface DefPersistable
setDirty
in interface CustomizableAttributeDef
setDirty
in class PersistableDefObject
b
- If true the Object is marked Dirty.public boolean isNeedConfigure()
public void setNeedConfigure(boolean b)
public java.lang.String getVOFullName()
public java.lang.String getEOAttrName()
public java.lang.String getLookupVOFullName()
public void setLookupVOFullName(java.lang.String s)
public java.lang.String getListDisplayAttrName()
public void setListDisplayAttrName(java.lang.String s)
public void setSrcKeyInfo(java.util.List<DCExtKeyAttrInfo> srcKeyInfo)
public void configure(DCExtContext context)
public void configureUpdate(DCExtContext context, PersistableDefObject origObj)
public java.lang.String getDefXMLElementTag()
getDefXMLElementTag
in interface PersistentDefinition
getDefXMLElementTag
in class AttributeDefImpl
public void prepareForDiffMerge(PersistableDefObject attrOwner, AttributeDefImpl attrDef)
public void writeObject(DefWriter jos)
PersistentDefinition
writeObject
in interface PersistentDefinition
writeObject
in class PersistableDefObject
jos
- the Output storage for persistencepublic DifferDetails diffObjects(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
DiffMergeable
diffContents
to diff scalar values and diffChildren
to diff
children objects. The children objects themselves are expected
to be DiffMergeable
. 'this'
object is the
changed definition.
diffObjects
in interface DiffMergeable
diffObjects
in class PersistableDefObject
docDef
- the document-level definitionorgDef
- the original definition. It could be
null
if the definition did not exist originallydifDetails
- the DifferDetails
that accumulate
the details of diff from the document-level (top-level) defDifferDetails
that has all the details
of diffpublic DifferDetails diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
DiffMergeable
orgDef
. Then, help
methods on DifferBase
can be used to diff the attr values
and accumulate the details of diff in difDetails
.
Here is example code snippet:
private static final String DIFF_STRING_ELEMS[] =
{
"MyStringVal1",
"MyStringVal2"
};
private static final String DIFF_INT_ELEMS[] =
{
"MyIntVal",
}
public DifferDetails diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
{
<Your-def-class> orgDefImpl = (<Your-def-class>) orgDef;
final String editStringValues[] =
{
this.getMyStringVal1(),
this.getMyStringVal2()
};
String orgStringValues[] = null;
if (orgDef != null)
{
String orgV[] =
{
orgDefImpl.getMyStringVal1(),
orgDefImpl.getMyStringVal2()
};
orgStringValues = orgV;
}
final int editIntValues[] =
{
this.getMyIntVal(),
};
int orgIntValues[] = null;
if (orgDef != null)
{
int orgV[] =
{
orgDefImpl.getMyIntVal()
};
orgIntValues = orgV;
}
difDetails = DifferBase.diffStringArray(this, DIFF_STRING_ELEMS, editStringValues, orgStringValues, difDetails);
difDetails = DifferBase.diffIntArray(this, DIFF_INT_ELEMS, editIntValues, orgIntValues, difDetails);
return difDetails;
}
diffContents
in interface DiffMergeable
diffContents
in class AttributeDefImpl
docDef
- the document-level definitionorgDef
- the original definition. It could be
null
if the definition did not exist originallydifDetails
- the DifferDetails
that accumulate
the details of diff from the document-level (top-level) defDifferDetails
that has all the details
of diffpublic void applyDiffContents(DifferDetails dif, DiffResolver resolver)
DiffMergeable
orgDef - original def object (from the branch point)
editDef - def object into which changes are to be merge
toMergeDef - def object to be merged (source of changes)
For sandbox refresh operation, orgDef
comes from the branch
point, editDef
from the sandbox, toMergeDef
from the
mainline of the repos. With these three defs, we first diff editDef
against orgDef
, producing editDifDetails
.
Similarly, toMergeDef
is diffed against orgDef
,
producing toMergeDifDetails
. The diff engine then
walks through these two sets of diffs and identifies conflicts.
After the conflicts are all resolved, we apply appropriate
changes to editDef
.
applyDiffContents
is called to apply changes to
scalar values. dif
contains the changed values to
be applied to 'this'
object. Use sample code like
the following:
public void applyDiffContents(DifferDetails dif, DiffResolver resolver)
{
DifferChangeMap detailMap = dif.getDetailMap();
Object[] updValues;
// DIFF_STRING_ELEMS from the above example code
for (int j = 0; j < DIFF_STRING_ELEMS.length; j++)
{
if ((updValues = (Object[]) detailMap.getValue(DIFF_STRING_ELEMS[j])) != null)
{
switch(j)
{
case 0:
setMyStringVal1((String) updValues[0]);
break;
case 1:
setMyStringVal2((String) updValues[0]);
break;
}
}
}
for (int j = 0; j < DIFF_INT_ELEMS.length; j++)
{
if ((updValues = (Object[]) detailMap.getValue(DIFF_INT_ELEMS[j])) != null)
{
switch(j)
{
case 0:
setMyIntVal((Integer) updValues[0]);
break;
}
}
}
}
Notice that the index specified in the case
statement is the array index of the attr in the String, int,
or boolean array.
applyDiffContents
in interface DiffMergeable
applyDiffContents
in class AttributeDefImpl
dif
- changes to be applied to 'this'
defresolver
- the diff resolver used in diff/merge operation