oracle.jbo.server
Class AssociationDefImpl
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.server.DefObject
oracle.jbo.server.AttributeDefImpl
oracle.jbo.server.AssociationDefImpl
- All Implemented Interfaces:
- AttributeDef, AttributeHints, EJBPersistable, Properties
- Direct Known Subclasses:
- CmrAccessorDefImpl
- public class AssociationDefImpl
- extends AttributeDefImpl
Field Summary |
protected oracle.jbo.server.Association |
mAssociation
|
Fields inherited from class oracle.jbo.server.AttributeDefImpl |
ATTR_LOAD_BULK, ATTR_LOAD_EACH, ATTR_LOAD_SKIP, HISTORY_CREATE_DATE, HISTORY_CREATE_USER, HISTORY_MODIFY_DATE, HISTORY_MODIFY_USER, HISTORY_MODIFY_VERSION, HISTORY_NOT_DEFINED, mAttrLoad, mColumnName, mComponentClass, mDef, mDefaultValue, mDiscrColumn, mDomainName, mElemFactory, mElemType, mHistoryKind, mIndex, 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 class oracle.jbo.mom.DefinitionObject |
mBaseDefObject, mExtendedDefObjects, mObjectResolved |
Fields inherited from interface oracle.jbo.AttributeHints |
ATTRIBUTE_CTL_DISPLAYHEIGHT, ATTRIBUTE_CTL_DISPLAYWIDTH, 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, CTLTYPE_DATE, CTLTYPE_DEFAULT, CTLTYPE_EDIT, CTLTYPE_IMAGE, CTLTYPE_LIST, CTLTYPE_LOV, CTLTYPE_TOGGLE, FMT_FORMAT, FMT_FORMATTER |
Method Summary |
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)
|
oracle.jbo.server.Association |
getAssociation()
|
java.lang.String |
getAssociationClause(ViewLinkDefImpl vlDef,
boolean isReversed)
Return the association where clause. |
AssociationEnd |
getAssociationEnd()
|
protected java.lang.String |
getAssociationVOName(ViewDefImpl viewDef)
|
EntityAssociation |
getEntityAssociation()
|
AssociationEnd |
getOtherAssociationEnd()
|
protected java.lang.Object[] |
getParamValues(Row row,
java.lang.Object[] userValues)
Sets association condition to the query. |
boolean |
hasContainer()
|
protected void |
initFromXML(oracle.jbo.mom.xml.DefElementImpl xmlElement,
RowDef parent,
int index)
|
boolean |
isPartitionUsingWhereClause(ViewLinkDefImpl vlDef,
boolean isReversed)
|
protected static void |
loadFromXML(oracle.jbo.mom.xml.DefElementImpl xmlElement,
java.lang.String assocName,
oracle.jbo.server.TempAssocEndDesc assocEnd)
|
protected void |
resolveEntityAssociation()
|
protected static AssociationDefImpl |
resolveReference(java.lang.String defName,
oracle.jbo.server.TempAssocEndDesc assocEnd)
|
void |
setAssociation(oracle.jbo.server.Association association)
|
Methods inherited from class oracle.jbo.server.AttributeDefImpl |
addValidator, beanToStore, convertToJava, convertToStorage, displayInShortForm, finishedLoading, getAttributeKind, getAttrLoad, getBaseDefObject, getClientProxyClassName, getColumnName, getColumnNameForQuery, getComponentInterfaceName, getControlType, getDef, getDefaultValue, getDisplayHeight, getDisplayHint, getDisplayWidth, getEffectiveClientProxyClassName, getEffectiveComponentInterfaceName, getElemFactory, getElemSQLType, getElemType, getEntityDef, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHintsFromResource, getHintValue, getHistoryKind, getIndex, getJavaType, getLabel, getLocaleName, getObjectType, getOIDAttrNames, getPackageDef, getPackageName, getPrecision, getPropertiesMap, getScale, getSQLBuilder, getSQLType, getSQLTypeIdToString, getSQLTypeStringToId, getTooltip, getTypeFactory, getUIHelper, getUpdateableFlag, getValidators, getXMLElementTag, hasFormatInformation, isCascadeUpdateParticipant, isDiscrColumn, isMandatory, isObjectTableOID, isObjectTableRef, isPrimaryKey, isQueriable, isRetrievedOnInsert, isRetrievedOnUpdate, loadFromResultSet, loadFromStatement, loadProperties, parseFormattedAttribute, printXMLDefinition, removeValidator, resolveReferences, setAttrLoad, setBaseDefObject, setClientProxyClassName, setComponentInterfaceName, setDefaultValue, setDiscrColumn, setElemType, setMandatory, setName, setParent, setPrecisionScale, setPrimaryKey, setQueriable, setRetrievedOnInsert, setRetrievedOnUpdate, setSQLType, setUpdateableFlag, storeToBean |
Methods inherited from class oracle.jbo.mom.DefinitionObject |
addExtendedDefObject, getContainerDef, getContainerName, getExtendedDefObjects, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, setObjectResolved |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mAssociation
protected oracle.jbo.server.Association mAssociation
AssociationDefImpl
public AssociationDefImpl()
setAssociation
public void setAssociation(oracle.jbo.server.Association association)
- Parameters:
association
- The association it is part of.
getEntityAssociation
public EntityAssociation getEntityAssociation()
- Returns:
- association The association it is part of.
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)
getAssociation
public oracle.jbo.server.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()
initFromXML
protected void initFromXML(oracle.jbo.mom.xml.DefElementImpl xmlElement,
RowDef parent,
int index)
- Overrides:
initFromXML
in class AttributeDefImpl
loadFromXML
protected static void loadFromXML(oracle.jbo.mom.xml.DefElementImpl xmlElement,
java.lang.String assocName,
oracle.jbo.server.TempAssocEndDesc assocEnd)
resolveEntityAssociation
protected void resolveEntityAssociation()
resolveReference
protected static AssociationDefImpl resolveReference(java.lang.String defName,
oracle.jbo.server.TempAssocEndDesc assocEnd)
isPartitionUsingWhereClause
public boolean isPartitionUsingWhereClause(ViewLinkDefImpl vlDef,
boolean isReversed)
getAssociationClause
public java.lang.String getAssociationClause(ViewLinkDefImpl vlDef,
boolean isReversed)
- Return the association where clause.
Copyright © 1997, 2004, Oracle. All rights reserved.