Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.server
Class AssociationDefImpl

java.lang.Object
  extended by oracle.jbo.server.NamedObjectImpl
      extended by oracle.jbo.mom.PersistableDefObject
          extended by oracle.jbo.server.DefObject
              extended by oracle.jbo.server.AttributeDefImpl
                  extended by oracle.jbo.server.AssociationDefImpl
All Implemented Interfaces:
Formattable, AttributeDef, AttributeHints, ResourceBundleOwner, Properties, ValidationManager, VariableManagerOwner, VariableManagerOwnerBase

public class AssociationDefImpl
extends AttributeDefImpl


Field Summary
static java.lang.Class CLASS_INSTANCE
           
protected  Association mAssociation
           
 
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, mColumnName, mDataSecurity, mDef, mDefaultValue, mDiscrColumn, mDomainName, mEffectiveDateType, mElemFactory, mElemType, mForwardDep, mHistoryKind, mIndex, mJavaType, mKind, mNotNull, mObjectTableOID, mObjectTableRef, mObjectType, mPrecision, mPrimaryKey, mQueriable, mResolveAccessors, mRetrievedOnInsert, mRetrievedOnUpdate, mScale, mSQLBuilder, mType, mTypeFactory, mTypeFactoryInitialized, mUnique, mUpdateable, tableName
 
Fields inherited from class oracle.jbo.server.DefObject
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY
 
Fields inherited from class oracle.jbo.server.NamedObjectImpl
mObjName, mParent, mProperties, mUserData, RES_ID_SUFFIX
 
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_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_CATEGORY, 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_EnumList, PNAME_LovButton, PNAME_TextField
 
Constructor Summary
AssociationDefImpl()
           
 
Method Summary
protected  java.lang.Object clone()
           
 Association getAssociation()
           
 AssociationEnd getAssociationEnd()
           
protected  java.lang.String getAssociationVOName(ViewDefImpl viewDef)
           
protected  java.lang.String getAssociationVOName(ViewDefImpl viewDef, ViewLinkDefImpl vlDef)
           
 AttributeDefImpl[] getAttributeDefImpls()
           
 EntityAssociation getEntityAssociation()
           
 AssociationEnd getOtherAssociationEnd()
           
 AttributeDefImpl[] getOtherAttributeDefImpls()
           
 boolean hasContainer()
           
protected  void initFromXML(org.kxml2.io.KXmlParser parser, RowDef parent, int index)
           
 boolean isPartitionUsingWhereClause(ViewLinkDefImpl vlDef, boolean isReversed)
           
 boolean isReverseAccessor()
           
protected  void resolveEntityAssociation()
           
 void setAssociation(Association association)
           
 
Methods inherited from class oracle.jbo.server.AttributeDefImpl
addBackwardDependency, addForwardDependency, addPropertyChangeListener, addValidator, convertToJava, convertToStorage, convertUpdateableFlagToString, convertUpdateableStringToFlag, displayInShortForm, evaluateTransientExpression, formatForOutput, getAccessorVO, getAltKeyCount, getAttributeKind, getAttrLoad, getColumnName, getColumnNameForQuery, getCompOpers, getCompOpers, getControlType, getDef, getDefaultValue, getDisplayHeight, getDisplayHint, getDisplayWidth, getDomainName, getElemFactory, getElemSQLType, getElemType, getEntityDef, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHintValue, getHistoryKind, getIndex, getJavaType, getLabel, getListBindingDef, getLocaleName, getLOVFinder, getLOVName, getObjectType, getPrecision, getRecalcExpression, getResourceBundleDef, getScale, getSQLBuilder, getSQLType, getSQLTypeStringToId, getTableName, getTooltip, getTransientExpression, getTypeFactory, getUIHelper, getUpdateableFlag, getValidator, getValidatorCount, getValidators, hasFormatInformation, hasTransientExpression, isCascadeUpdateParticipant, isDiscrColumn, isEffectiveEndDate, isEffectiveStartDate, isInWhereOrderGroup, isMandatory, isObjectTableOID, isObjectTableRef, isPrimaryKey, isQueriable, isRetrievedOnInsert, isRetrievedOnUpdate, isSelected, isSessionScope, loadDependencies, loadFromResultSet, loadFromStatement, loadPermission, parseFormattedAttribute, readChangeIndicator, readColumnType, readDefaultValue, readIsPersistent, readIsUpdateable, readJavaType, readPrecision, readScale, readSqlType, removePropertyChangeListener, removeValidator, resolvePropertyRaw, setAttributeKind, setAttrLoad, setColumnName, setDiscrColumn, setDomainName, setElemType, setLOVFinder, setLOVName, setMandatory, setPrecisionScale, setPrimaryKey, setQueriable, setRecalcExpression, setRetrievedOnInsert, setRetrievedOnUpdate, setSelected, setTableName, setTransientExpression, shouldEvaluateTransientExpression
 
Methods inherited from class oracle.jbo.server.DefObject
addExtendedDefObject, ensureVariableManager, getBaseDefObject, getDefScope, getExtendedDefObjects, getMessageBundleClass, getResourcePrefix, getVariableManager, getVarMgrParents, hasExtendedDefObjects, hasVariables, isBaseDefFor, isObjectResolved, loadProperties, loadProperties, loadResourceBundleDef, loadUserData, setBaseDefObject, setBaseDefObject, setDefForComponent, setDefScope, setObjectResolved, setResourceBundleDef, unsetDefForComponent
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
getDefManager, loadXMLContents
 
Methods inherited from class oracle.jbo.server.NamedObjectImpl
formatChildCollectionForOutput, formatChildCollectionForOutput, formatChildCollectionForOutput, formatForOutput, getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, getUserData, parseAttrArrayElements, refreshProperty, requiresNamePrefixedResId, setFullName, setName, setParent, setPropertiesMap, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.AttributeDef
getName
 
Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, getProperty, refreshProperty
 
Methods inherited from interface oracle.jbo.common.ResourceBundleOwner
getResourcePrefix
 
Methods inherited from interface oracle.jbo.rules.ValidationManager
getFullName, getName
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE

mAssociation

protected Association mAssociation
Constructor Detail

AssociationDefImpl

public AssociationDefImpl()
Method Detail

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()

resolveEntityAssociation

protected void resolveEntityAssociation()

clone

protected java.lang.Object clone()

getOtherAssociationEnd

public AssociationEnd getOtherAssociationEnd()

getAttributeDefImpls

public AttributeDefImpl[] getAttributeDefImpls()

getOtherAttributeDefImpls

public AttributeDefImpl[] getOtherAttributeDefImpls()

isPartitionUsingWhereClause

public boolean isPartitionUsingWhereClause(ViewLinkDefImpl vlDef,
                                           boolean isReversed)

getAssociationEnd

public AssociationEnd getAssociationEnd()

getAssociation

public Association getAssociation()

initFromXML

protected void initFromXML(org.kxml2.io.KXmlParser parser,
                           RowDef parent,
                           int index)
Overrides:
initFromXML in class AttributeDefImpl

getAssociationVOName

protected java.lang.String getAssociationVOName(ViewDefImpl viewDef,
                                                ViewLinkDefImpl vlDef)

hasContainer

public boolean hasContainer()

getAssociationVOName

protected java.lang.String getAssociationVOName(ViewDefImpl viewDef)

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.