public class ViewLinkDefImpl extends AssociationDefBase
NAME ViewLinkDefImpl.java - DESCRIPTION The ViewLinkDefImpl describes relationship between two query objects. NOTES VERSION MODIFIED (MM/DD/YY) jloropez 06/08/04 -
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType
Modifier and Type | Field and Description |
---|---|
protected oracle.jbo.server.EntityAssociationReference |
mAssocRef |
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
Constructor and Description |
---|
ViewLinkDefImpl()
Constructs a query association
|
ViewLinkDefImpl(int defScope,
java.lang.String name) |
ViewLinkDefImpl(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
applyDiffContents(DifferDetails dif,
DiffResolver resolver) |
void |
buildLinkEnds(ViewDefImpl source,
java.lang.String srcName,
int srcCardinality,
boolean isSrcPartitionUsingWhereClause,
AttributeDefImpl[] srcAttrs,
java.lang.String[] srcUnboundAttrNames,
ViewDefImpl destination,
java.lang.String destName,
int destCardinality,
boolean isDestPartitionUsingWhereClause,
AttributeDefImpl[] destAttrs,
java.lang.String[] destUnboundAttrNames,
java.lang.Object entityAssocObj,
java.lang.String assocClause,
java.lang.String reverseAssocClause)
Internal use only.
|
DifferDetails |
diffContents(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails) |
static ViewLinkDefImpl |
findDefObject(java.lang.String viewLinkDefName)
Finds the ViewLinkDefImpl from the statically maintained list of Meta Objects.
|
static ViewLinkDefImpl |
findDefObjectNoSub(java.lang.String viewLinkDefName)
Finds the ViewLinkDefImpl from the statically maintained list of Meta Objects.
|
static java.lang.String[] |
getAllDefNames() |
java.lang.String |
getBaseAssociationName() |
int |
getBindingStyle() |
java.lang.Class |
getComponentClass()
Gets the Java
Class of the component that this definition
object describes, i.e., oracle.jbo.server.ViewLinkImpl. |
int |
getDefTypeId() |
java.lang.String |
getDefXMLElementTag() |
ViewAttributeDefImpl[] |
getDestinationBindVariables() |
AssociationEnd |
getDestinationEntityAssocEnd() |
java.lang.String |
getEndDefXMLElementTag() |
EntityAssociation |
getEntityAssociation() |
oracle.jbo.server.EntityAssociationReference |
getEntityAssociationReference() |
AssociationEnd |
getSourceEntityAssocEnd() |
boolean |
isEntityAssociationReversed() |
boolean |
isPartitionUsingWhereClause(boolean isReversed) |
boolean |
isSDOHidden() |
static ViewLinkDefImpl |
loadFromXML(DefElement xmlElement)
Deprecated.
|
void |
loadXMLContents(DefElement xmlElement,
java.lang.String fullName) |
protected void |
resolveReferences() |
void |
setBaseAssociationName(java.lang.String assocName) |
protected void |
setDefForComponent(ComponentObjectImpl comp) |
void |
setDestinationBindVariables(ViewAttributeDefImpl[] vars) |
void |
setEntityAssociationReference(oracle.jbo.server.EntityAssociationReference assocRef) |
void |
setEntityAssociationReversed(boolean b) |
void |
setSDOHidden(boolean b) |
protected void |
unsetDefForComponent(ComponentObjectImpl comp) |
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method
|
applyDiffChildren, diffChildren, findEndAccessorByName, findEndByName, getAccessors, getAssociationClause, getAttributeDefImpls, getAttributeDefImplsByEndName, getDefs, getDestinationEnd, getDestinationOwner, getOtherAttributeDefImpls, getReverseAssociationClause, getSourceEnd, getSourceOwner, resolveDefObject, setAssociationClause, setDirty, setReverseAssociationClause, writeChildren
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, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, isFromCustomization, loadProperties, loadVariables, resolvePropertyRaw, setBaseDefObject, setBaseDefObject, setName, setParent
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, checkEditable, checkStructWithOld, close, createFromXML, diffObjects, ensureDifferDetails, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, 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, 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 ViewLinkDefImpl()
public ViewLinkDefImpl(int defScope, java.lang.String name)
public ViewLinkDefImpl(java.lang.String name)
public static java.lang.String[] getAllDefNames()
public static ViewLinkDefImpl findDefObjectNoSub(java.lang.String viewLinkDefName)
findDefObject
,
except that it does not observe meta-object substitution.viewLinkDefName
- The fully qualified Name of the ViewDefImpl.public static ViewLinkDefImpl findDefObject(java.lang.String viewLinkDefName)
viewLinkDefName
- The fully qualified Name of the ViewDefImpl.public java.lang.Class getComponentClass()
Class
of the component that this definition
object describes, i.e., oracle.jbo.server.ViewLinkImpl.public void buildLinkEnds(ViewDefImpl source, java.lang.String srcName, int srcCardinality, boolean isSrcPartitionUsingWhereClause, AttributeDefImpl[] srcAttrs, java.lang.String[] srcUnboundAttrNames, ViewDefImpl destination, java.lang.String destName, int destCardinality, boolean isDestPartitionUsingWhereClause, AttributeDefImpl[] destAttrs, java.lang.String[] destUnboundAttrNames, java.lang.Object entityAssocObj, java.lang.String assocClause, java.lang.String reverseAssocClause)
public java.lang.String getBaseAssociationName()
public void setBaseAssociationName(java.lang.String assocName)
public int getBindingStyle()
public boolean isEntityAssociationReversed()
public void setEntityAssociationReversed(boolean b)
public oracle.jbo.server.EntityAssociationReference getEntityAssociationReference()
public void setEntityAssociationReference(oracle.jbo.server.EntityAssociationReference assocRef)
assocRef
- The EntityAssociationReference.public EntityAssociation getEntityAssociation()
public AssociationEnd getSourceEntityAssocEnd()
public AssociationEnd getDestinationEntityAssocEnd()
public ViewAttributeDefImpl[] getDestinationBindVariables()
public boolean isPartitionUsingWhereClause(boolean isReversed)
public void setDestinationBindVariables(ViewAttributeDefImpl[] vars)
vars
- The list of AttributeDefImpls as bind variables on other end.public void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
writeContents
in class AssociationDefBase
jos
- the Output storage for persistencepublic void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
loadXMLContents
in class PersistableDefObject
@Deprecated public static ViewLinkDefImpl loadFromXML(DefElement xmlElement)
protected void resolveReferences()
resolveReferences
in class AssociationDefBase
public int getDefTypeId()
getDefTypeId
in class DefObject
protected void setDefForComponent(ComponentObjectImpl comp)
setDefForComponent
in class DefObject
protected void unsetDefForComponent(ComponentObjectImpl comp)
unsetDefForComponent
in class DefObject
public java.lang.String getEndDefXMLElementTag()
getEndDefXMLElementTag
in class AssociationDefBase
public java.lang.String getDefXMLElementTag()
getDefXMLElementTag
in interface PersistentDefinition
getDefXMLElementTag
in class PersistableDefObject
public boolean isSDOHidden()
public void setSDOHidden(boolean b)
public DifferDetails diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffContents
in interface DiffMergeable
diffContents
in class AssociationDefBase
public void applyDiffContents(DifferDetails dif, DiffResolver resolver)
applyDiffContents
in interface DiffMergeable
applyDiffContents
in class AssociationDefBase