Skip navigation links
oracle.jbo.server
Class AssociationDefImpl
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.AttributeDefImpl
oracle.jbo.server.AssociationDefImpl
- All Implemented Interfaces:
- AttributeDef, AttributeHints, ResourceBundleOwner, ExprValueSupplier, DefPersistable, PersistentDefinition, Properties, ValidationManager, VariableManagerOwner, VariableManagerOwnerBase
- Direct Known Subclasses:
- CmrAccessorDefImpl
-
public class AssociationDefImpl
- extends AttributeDefImpl
Fields inherited from class oracle.jbo.server.AttributeDefImpl |
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, mBackwardDep, mBCheckedForSIF, mBCheckSIFCtrlHints, mColumnName, mDataSecurity, mDef, mDefaultValue, mDiscrColumn, mDomainName, mEffectiveDateType, mElemFactory, mElemType, mForwardDep, 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 |
Fields inherited from interface oracle.jbo.AttributeDef |
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 |
Fields inherited from interface oracle.jbo.AttributeHints |
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_DISPLAY_HINT, ATTRIBUTE_DISPLAY_HINT_DISPLAY, ATTRIBUTE_DISPLAY_HINT_HIDE, ATTRIBUTE_FORM_TYPE_DETAIL, ATTRIBUTE_FORM_TYPE_SHORT, ATTRIBUTE_LABEL, ATTRIBUTE_TOOLTIP, CTL_CHECK_BOX, CTL_CHOICE_LIST, CTL_COMBO_BOX, CTL_COMBO_BOX_LOV, CTL_DATE, CTL_DEFAULT, 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_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_DISPLAY_HEIGHT, HINT_NAME_DISPLAY_HINT, HINT_NAME_DISPLAY_WIDTH, HINT_NAME_FIELD_ORDER, HINT_NAME_FORMAT, HINT_NAME_LABEL, HINT_NAME_MANDATORY, HINT_NAME_TOOLTIP, HINT_NAME_UPDATEABLE, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_EnumList, PNAME_LovButton, PNAME_TextField |
Method Summary |
protected AssociationDefImpl |
clone()
|
protected EntityRowSetImpl |
createAssociationAccessorRS(ViewObjectImpl vo, Row masterRow, java.lang.Object[] values)
|
protected ViewObjectImpl |
createAssociationAccessorVO(ApplicationModuleImpl am, java.lang.String voName, EntityAssociation eoAssoc)
|
protected ViewRowSetImpl |
createViewLinkAccessorRS(ViewObjectImpl vo, Row masterRow, java.lang.Object[] values)
|
protected ViewObjectImpl |
createViewLinkAccessorVO(ApplicationModuleImpl am, java.lang.String voName, ViewDefImpl vDef, ViewLinkDefImpl vlDef)
|
VariableValueManager |
ensureVariableManager()
Returns this object's Variable Value Manager. |
protected void |
finishedLoading()
|
Association |
getAssociation()
|
java.lang.String |
getAssociationClause(ViewLinkDefImpl vlDef, boolean isReversed)
Return the association where clause. |
AssociationEnd |
getAssociationEnd()
|
protected java.lang.String |
getAssociationVOName(ViewDefImpl viewDef)
|
java.lang.String |
getAssociationVOName(ViewDefImpl viewDef, ViewLinkDefImpl vlDef)
|
AttributeDefImpl[] |
getAttributeDefImpls()
|
DefinitionObject |
getBaseDefObject()
|
java.lang.String |
getDefXMLElementTag()
|
java.lang.String |
getDefXMLNameSpace()
|
EntityAssociation |
getEntityAssociation()
|
AssociationEnd |
getOtherAssociationEnd()
|
AttributeDefImpl[] |
getOtherAttributeDefImpls()
|
protected java.lang.Object[] |
getParamValues(Row row, java.lang.Object[] userValues)
Sets association condition to the query. |
VariableValueManager |
getVariableManager()
Returns this object's current Variable Value Manager. |
protected VariableValueManager[] |
getVarMgrParents()
|
boolean |
hasContainer()
|
boolean |
hasVariables()
Returns a flag indicating whether this object has Variables or not. |
protected void |
initFromXML(DefElement xmlElement, RowDef parent, int index)
|
boolean |
isPartitionUsingWhereClause(ViewLinkDefImpl vlDef, boolean isReversed)
|
boolean |
isReverseAccessor()
|
protected void |
loadProperties(DefElement xmlElement)
|
protected void |
loadVariables(DefElement xmlElement)
|
protected void |
resolveEntityAssociation()
|
protected void |
resolveReferences()
|
void |
setAssociation(Association association)
|
void |
setBaseDefObject(DefinitionObject baseDefObject, boolean addToBaseDef)
|
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method |
Methods inherited from class oracle.jbo.server.AttributeDefImpl |
addBackwardDependency, addCompOper, addForwardDependency, addValidator, beanToStore, convertHistoryColumnFlagToString, convertHistoryColumnStringToFlag, convertToJava, convertToStorage, displayInShortForm, evaluateTransientExpression, getAccessorVO, getAllProperties, getAltKeyCount, getAttributeKind, getAttrLoad, getColumnName, getColumnNameForQuery, getCompOpers, getCompOpers, getControlType, getDef, getDefaultValue, getDefTypeId, getDisplayHeight, getDisplayHint, getDisplayWidth, getDomainName, getElemFactory, getElemSQLType, getElemType, getEntityDef, getExprVarVal, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHints, getHintsFromResource, getHintValue, getHistoryKind, getIndex, getJavaType, getLabel, getListBindingDef, getLocaleName, getLOVFinder, getLOVName, getMessageBundleClass, getObjectType, getOIDAttrNames, getPermissionDef, getPrecision, getProperty, getRecalcExpression, getResourceBundleDef, getResourcePrefix, getResourcesFromBundle, getScale, getSQLBuilder, getSQLType, getSQLTypeIdToString, getSQLTypeStringToId, getTooltip, getTransientExpression, getTransientExprEval, getTypeFactory, getUIHelper, getUpdateableFlag, getValidator, getValidatorCount, getValidators, getXMLElementTag, hasFormatInformation, hasHintDefined, hasHintOverride, hasTransientExpression, isAutoSubmit, isCascadeUpdateParticipant, isDiscrColumn, isEffectiveDateSequence, isEffectiveDateSequenceFlag, isEffectiveEndDate, isEffectiveStartDate, isHistoryColumn, isInWhereOrderGroup, isKey, isMandatory, isObjectTableOID, isObjectTableRef, isPrimaryKey, isQueriable, isRetrievedOnInsert, isRetrievedOnUpdate, isSelected, isSessionScope, isUnique, loadCompOpersFromXML, loadDependencies, loadFromResultSet, loadFromStatement, loadPermission, lookupValidator, parseFormattedAttribute, printXMLDefinition, removeValidator, requiresNamePrefixedResId, resolvePropertyRaw, setAttrLoad, setBaseDefObject, setColumnName, setDefaultValue, setDefForComponent, setDiscrColumn, setDomainName, setEffectiveDateSequence, setEffectiveDateSequenceFlag, setEffectiveDateType, setElemType, setExprVarVal, setHistoryKind, setLOVFinder, setLOVName, setMandatory, setName, setObjectType, setParent, setPrecisionScale, setPrimaryKey, setQueriable, setRecalcExpression, setRetrievedOnInsert, setRetrievedOnUpdate, setSelected, setSQLType, setTransientExpression, setUnique, setUpdateableFlag, shouldEvaluateTransientExpression, storeToBean, unsetDefForComponent, writeChildren |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, guaranteePath, isDirty, isEditable, isNew, loadDefImports, loadXMLContents, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setProperty, 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, refreshProperty, removeProperty, setFullName, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mAssociation
protected Association mAssociation
AssociationDefImpl
public AssociationDefImpl()
clone
protected AssociationDefImpl clone()
-
- Overrides:
clone
in class java.lang.Object
setAssociation
public void setAssociation(Association association)
-
- Parameters:
association
- The association it is part of.
getEntityAssociation
public EntityAssociation getEntityAssociation()
-
- Returns:
- association The association it is part of.
isReverseAccessor
public boolean isReverseAccessor()
createViewLinkAccessorVO
protected ViewObjectImpl createViewLinkAccessorVO(ApplicationModuleImpl am,
java.lang.String voName,
ViewDefImpl vDef,
ViewLinkDefImpl vlDef)
createViewLinkAccessorRS
protected ViewRowSetImpl createViewLinkAccessorRS(ViewObjectImpl vo,
Row masterRow,
java.lang.Object[] values)
createAssociationAccessorVO
protected ViewObjectImpl createAssociationAccessorVO(ApplicationModuleImpl am,
java.lang.String voName,
EntityAssociation eoAssoc)
createAssociationAccessorRS
protected EntityRowSetImpl createAssociationAccessorRS(ViewObjectImpl vo,
Row masterRow,
java.lang.Object[] values)
getAssociationVOName
protected java.lang.String getAssociationVOName(ViewDefImpl viewDef)
getAssociationVOName
public java.lang.String getAssociationVOName(ViewDefImpl viewDef,
ViewLinkDefImpl vlDef)
getAssociation
public Association getAssociation()
getAssociationEnd
public AssociationEnd getAssociationEnd()
getOtherAssociationEnd
public AssociationEnd getOtherAssociationEnd()
getParamValues
protected java.lang.Object[] getParamValues(Row row,
java.lang.Object[] userValues)
- Sets association condition to the query.
hasContainer
public boolean hasContainer()
getAttributeDefImpls
public AttributeDefImpl[] getAttributeDefImpls()
getOtherAttributeDefImpls
public AttributeDefImpl[] getOtherAttributeDefImpls()
initFromXML
protected void initFromXML(DefElement xmlElement,
RowDef parent,
int index)
-
- Overrides:
initFromXML
in class AttributeDefImpl
getDefXMLElementTag
public java.lang.String getDefXMLElementTag()
-
- Specified by:
getDefXMLElementTag
in interface PersistentDefinition
- Overrides:
getDefXMLElementTag
in class AttributeDefImpl
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 AttributeDefImpl
-
- Parameters:
jos
- the Output storage for persistence
resolveEntityAssociation
protected void resolveEntityAssociation()
isPartitionUsingWhereClause
public boolean isPartitionUsingWhereClause(ViewLinkDefImpl vlDef,
boolean isReversed)
getAssociationClause
public java.lang.String getAssociationClause(ViewLinkDefImpl vlDef,
boolean isReversed)
- Return the association where clause.
getBaseDefObject
public DefinitionObject getBaseDefObject()
-
- Overrides:
getBaseDefObject
in class DefinitionObject
setBaseDefObject
public void setBaseDefObject(DefinitionObject baseDefObject,
boolean addToBaseDef)
-
- Overrides:
setBaseDefObject
in class DefinitionObject
resolveReferences
protected void resolveReferences()
-
- Overrides:
resolveReferences
in class DefinitionObject
finishedLoading
protected void finishedLoading()
-
- Overrides:
finishedLoading
in class PersistableDefObject
loadProperties
protected void loadProperties(DefElement xmlElement)
-
- Overrides:
loadProperties
in class DefinitionObject
-
- Parameters:
xmlElement
- The XML element to load from.
loadVariables
protected void loadVariables(DefElement xmlElement)
getVariableManager
public VariableValueManager getVariableManager()
- Description copied from interface:
VariableManagerOwnerBase
- Returns this object's current Variable Value Manager. It will return
null
if Variable Value Manager has been initialized.
When a framework object is first created, its Variable Value Manager may be null. This method does not initialize (create) the Variable Value Manager.
VariableManagerOwnerBase.ensureVariableManager()
in contrast, ensures that the Variable Value Manager is initialized (created).
-
- Specified by:
getVariableManager
in interface VariableManagerOwnerBase
-
- Returns:
- this object's current Variable Value Manager. May return
null
if one was not yet initialized.
getVarMgrParents
protected VariableValueManager[] getVarMgrParents()
hasVariables
public boolean hasVariables()
- Description copied from interface:
VariableManagerOwnerBase
- Returns a flag indicating whether this object has Variables or not.
-
- Specified by:
hasVariables
in interface VariableManagerOwnerBase
-
- Returns:
- the flag indicating whether this object has Variables.
ensureVariableManager
public VariableValueManager ensureVariableManager()
- Description copied from interface:
VariableManagerOwnerBase
- Returns this object's Variable Value Manager. If this object current has no Variable Value Manager, it will initialize (create) one.
-
- Specified by:
ensureVariableManager
in interface VariableManagerOwnerBase
-
- Returns:
- this object's Variable Value Manager. Will create a Variable Value Manager if this object had no Variable Value Manager.
getDefXMLNameSpace
public java.lang.String getDefXMLNameSpace()
-
- Specified by:
getDefXMLNameSpace
in interface PersistentDefinition
- Overrides:
getDefXMLNameSpace
in class PersistableDefObject
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.