public abstract class AssociationDefBase extends MetaObject implements Association
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType
mComponentClass
mEditedProperties, mEditedPropertyExprs
DEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIX
XML_STATEMENT
deregisterSessionObject, getEditVersionsAsString, getInheritPersonalizationValue, getMajorVersion, getMessageBundleClass, getMinorVersion, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getPersDefNoUpdateCheck, getResourceBundleDef, getResourcePrefix, isDynamic, isInheritPersonalization, loadDefVersions, loadResourceBundle, registerDefObject, registerSessionDefObject, setInheritPersonalization, setInheritPersonalizationStrValue, setMessageBundleClass, setResourceBundleDef
ensureVariableManager, finishedLoading, getAllProperties, getBaseDefObject, getDefTypeId, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, isFromCustomization, loadProperties, loadVariables, resolvePropertyRaw, setBaseDefObject, setBaseDefObject, setDefForComponent, setName, setParent, unsetDefForComponent
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, checkEditable, checkStructWithOld, close, createFromXML, diffObjects, ensureDifferDetails, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, loadXMLContents, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setEditable, setEditableFlag, setEditableObject, setFullName, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setupDefWriterFromMO, staticUpdateChildrenList, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeObject, writeVersion, writeXMLContents
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, getRootBaseDefObject, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, staticLoadCustomProperties, staticLoadSchemaProperties, suppressUpdateCheck
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setPropertiesMap, setPropertiesMap2, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFullName, getName
getName
getFullName
getFullName, getName
public void setDirty(boolean b)
DefPersistable
setDirty
in interface DefPersistable
setDirty
in class PersistableDefObject
b
- If true the Object is marked Dirty.public AssociationEnd getSourceEnd()
getSourceEnd
in interface Association
public AssociationEnd getDestinationEnd()
getDestinationEnd
in interface Association
public AssociationEnd findEndByName(java.lang.String endName)
findEndByName
in interface Association
public RowDef getSourceOwner()
getSourceOwner
in interface Association
public RowDef getDestinationOwner()
getDestinationOwner
in interface Association
public DefObject[] getDefs()
getDefs
in interface Association
public AttributeDefImpl[] getAttributeDefImpls()
getAttributeDefImpls
in interface Association
public AttributeDefImpl[] getOtherAttributeDefImpls()
getOtherAttributeDefImpls
in interface Association
public AssociationDefImpl[] getAccessors()
public AssociationDefImpl findEndAccessorByName(java.lang.String endName)
public AttributeDefImpl[] getAttributeDefImplsByEndName(java.lang.String endName)
getAttributeDefImplsByEndName
in interface Association
endName
- the name of one of the association's Entity Objects.public java.lang.String getAssociationClause()
getAssociationClause
in interface Association
public void setAssociationClause(java.lang.String assocClause)
public java.lang.String getReverseAssociationClause()
getReverseAssociationClause
in interface Association
public void setReverseAssociationClause(java.lang.String reverseAssocClause)
protected abstract void resolveReferences()
resolveReferences
in class DefObject
public java.lang.String getEndDefXMLElementTag()
public void resolveDefObject()
resolveDefObject
in class MetaObject
public void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren
in interface PersistentDefinition
writeChildren
in class MetaObject
jos
- the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
writeContents
in class MetaObject
jos
- the Output storage for persistencepublic DifferDetails diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffContents
in interface DiffMergeable
diffContents
in class PersistableDefObject
public DifferDetails diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffChildren
in interface DiffMergeable
diffChildren
in class DefObject
public void applyDiffContents(DifferDetails dif, DiffResolver resolver)
applyDiffContents
in interface DiffMergeable
applyDiffContents
in class PersistableDefObject
public void applyDiffChildren(DifferDetails dif, DiffResolver resolver)
applyDiffChildren
in interface DiffMergeable
applyDiffChildren
in class DefObject