oracle.jbo.server
Class ViewLinkDefImpl
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.DefObject
oracle.jbo.server.MetaObject
oracle.jbo.server.AssociationDefBase
oracle.jbo.server.ViewLinkDefImpl
- All Implemented Interfaces:
- ResourceBundleOwner, DefPersistable, PersistentDefinition, Association, VariableManagerOwner, VariableManagerOwnerBase
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 -
Field Summary |
protected oracle.jbo.server.EntityAssociationReference |
mAssocRef
|
Method Summary |
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. |
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()
|
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 |
Methods inherited from class oracle.jbo.server.AssociationDefBase |
findEndAccessorByName, findEndByName, getAccessors, getAssociationClause, getAttributeDefImpls, getAttributeDefImplsByEndName, getDefs, getDestinationEnd, getDestinationOwner, getOtherAttributeDefImpls, getReverseAssociationClause, getSourceEnd, getSourceOwner, resolveDefObject, setAssociationClause, setReverseAssociationClause, writeChildren |
Methods inherited from class oracle.jbo.server.MetaObject |
deregisterSessionObject, getMessageBundleClass, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getResourceBundleDef, getResourcePrefix, isDynamic, loadResourceBundle, registerDefObject, registerSessionDefObject, setMessageBundleClass, setResourceBundleDef |
Methods inherited from class oracle.jbo.server.DefObject |
ensureVariableManager, finishedLoading, getAllProperties, getBaseDefObject, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, loadProperties, loadVariables, resolvePropertyRaw, setBaseDefObject, setBaseDefObject, setName, setParent |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, mergePropertyMap, objectRemoved, registerClass, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, updateChildrenList, verifyVersion, writeObject, writeVersion, writeXMLContents |
Methods inherited from class oracle.jbo.mom.DefinitionObject |
addExtendedDefObject, addPropertySetName, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, removeExtendedDefObject, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setFullName, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mAssocRef
protected oracle.jbo.server.EntityAssociationReference mAssocRef
ViewLinkDefImpl
public ViewLinkDefImpl()
- Constructs a query association
ViewLinkDefImpl
public ViewLinkDefImpl(int defScope,
java.lang.String name)
ViewLinkDefImpl
public ViewLinkDefImpl(java.lang.String name)
getAllDefNames
public static java.lang.String[] getAllDefNames()
findDefObjectNoSub
public static ViewLinkDefImpl findDefObjectNoSub(java.lang.String viewLinkDefName)
- Finds the ViewLinkDefImpl from the statically maintained list of Meta Objects.
Performs essentially the same operation as
findDefObject
,
except that it does not observe meta-object substitution.
- Parameters:
viewLinkDefName
- The fully qualified Name of the ViewDefImpl.
- Returns:
- The View Link definition object corresponding to the specified name.
findDefObject
public static ViewLinkDefImpl findDefObject(java.lang.String viewLinkDefName)
- Finds the ViewLinkDefImpl from the statically maintained list of Meta Objects.
- Parameters:
viewLinkDefName
- The fully qualified Name of the ViewDefImpl.
- Returns:
- The View Link definition object corresponding to the specified name.
getComponentClass
public java.lang.Class getComponentClass()
- Gets the Java
Class
of the component that this definition
object describes, i.e., oracle.jbo.server.ViewLinkImpl.
- Returns:
- the component class.
buildLinkEnds
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)
- Internal use only. Application developers should not use this method.
getBaseAssociationName
public java.lang.String getBaseAssociationName()
setBaseAssociationName
public void setBaseAssociationName(java.lang.String assocName)
getBindingStyle
public int getBindingStyle()
isEntityAssociationReversed
public boolean isEntityAssociationReversed()
setEntityAssociationReversed
public void setEntityAssociationReversed(boolean b)
getEntityAssociationReference
public oracle.jbo.server.EntityAssociationReference getEntityAssociationReference()
- Returns:
- The EntityAssociationReference.
setEntityAssociationReference
public void setEntityAssociationReference(oracle.jbo.server.EntityAssociationReference assocRef)
- Parameters:
assocRef
- The EntityAssociationReference.
getEntityAssociation
public EntityAssociation getEntityAssociation()
- Returns:
- The EntityAssociation.
getSourceEntityAssocEnd
public AssociationEnd getSourceEntityAssocEnd()
getDestinationEntityAssocEnd
public AssociationEnd getDestinationEntityAssocEnd()
getDestinationBindVariables
public ViewAttributeDefImpl[] getDestinationBindVariables()
- Returns:
- The destination bind variables.
isPartitionUsingWhereClause
public boolean isPartitionUsingWhereClause(boolean isReversed)
setDestinationBindVariables
public void setDestinationBindVariables(ViewAttributeDefImpl[] vars)
- Parameters:
vars
- The list of AttributeDefImpls as bind variables on other end.
writeContents
public void writeContents(DefWriter jos)
- Description copied from interface:
PersistentDefinition
- Objects should write their persistence output in this method
- Specified by:
writeContents
in interface PersistentDefinition
- Overrides:
writeContents
in class AssociationDefBase
- Parameters:
jos
- the Output storage for persistence
loadXMLContents
public void loadXMLContents(DefElement xmlElement,
java.lang.String fullName)
- Overrides:
loadXMLContents
in class PersistableDefObject
loadFromXML
@Deprecated
public static ViewLinkDefImpl loadFromXML(DefElement xmlElement)
- Deprecated.
resolveReferences
protected void resolveReferences()
- Specified by:
resolveReferences
in class AssociationDefBase
getDefTypeId
public int getDefTypeId()
- Specified by:
getDefTypeId
in class DefObject
setDefForComponent
protected void setDefForComponent(ComponentObjectImpl comp)
- Specified by:
setDefForComponent
in class DefObject
unsetDefForComponent
protected void unsetDefForComponent(ComponentObjectImpl comp)
- Specified by:
unsetDefForComponent
in class DefObject
getDefXMLElementTag
public java.lang.String getDefXMLElementTag()
- Specified by:
getDefXMLElementTag
in interface PersistentDefinition
- Overrides:
getDefXMLElementTag
in class PersistableDefObject
isSDOHidden
public boolean isSDOHidden()
setSDOHidden
public void setSDOHidden(boolean b)
Copyright © 1997, 2011, Oracle. All rights reserved.