oracle.jbo.server
Class AssociationDefImpl
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.DefObject
oracle.jbo.server.AttributeDefImpl
oracle.jbo.server.AssociationDefImpl
- All Implemented Interfaces:
- AttributeDef, AttributeHints, ResourceBundleOwner, ExprValueSupplier, ExprWrappable, GenericHints, 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, 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_LABEL_PLURAL, ATTRIBUTE_LOVNAME, ATTRIBUTE_TOOLTIP, CTL_CHECK_BOX, CTL_CHOICE_LIST, CTL_COMBO_BOX, CTL_COMBO_BOX_LOV, CTL_DATE, CTL_DEFAULT, CTL_DELIMITEDIDS_CHOICE, 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_DELIMITEDIDS_CHOICE, 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_DESCRIPTION, HINT_NAME_DISPLAY_HEIGHT, HINT_NAME_DISPLAY_HINT, HINT_NAME_DISPLAY_WIDTH, HINT_NAME_FIELD_ORDER, HINT_NAME_FORMAT, HINT_NAME_LABEL, HINT_NAME_LOVNAME, HINT_NAME_MANDATORY, HINT_NAME_MAX_VALUE, HINT_NAME_MIN_LENGTH, HINT_NAME_MIN_VALUE, HINT_NAME_SECRET, HINT_NAME_TIMEZONEID, HINT_NAME_TOOLTIP, HINT_NAME_UPDATEABLE, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_DYNAMIC_LOV_SUPPORT, 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)
|
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()
|
java.lang.String |
getDefXMLElementTag()
|
java.lang.String |
getEndName()
|
EntityAssociation |
getEntityAssociation()
|
AssociationEnd |
getOtherAssociationEnd()
|
AttributeDefImpl[] |
getOtherAttributeDefImpls()
|
java.lang.String |
getOtherEndName()
|
protected java.lang.Object[] |
getParamValues(Row row,
java.lang.Object[] userValues)
Sets association condition to the query. |
boolean |
hasContainer()
|
protected void |
initFromXML(DefElement xmlElement,
RowDef parent,
int index)
|
boolean |
isPartitionUsingWhereClause(ViewLinkDefImpl vlDef,
boolean isReversed)
|
boolean |
isRetainedAccessor()
|
boolean |
isReverseAccessor()
|
protected void |
resolveEntityAssociation()
|
void |
setAssociation(Association association)
|
void |
setAssociationForce(Association association)
|
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method |
Methods inherited from class oracle.jbo.server.AttributeDefImpl |
addBackwardDependency, addBackwardDependency, addCompOper, addExtendedDefObject, addForwardDependency, addValidator, adjustPropertyMapForWrite, beanToStore, convertHistoryColumnFlagToString, convertHistoryColumnStringToFlag, convertToJava, convertToStorage, createAttributeDependencyImpl, displayInShortForm, evaluateTransientExpression, getAccessorVO, getAllExtendedDefObjects, getAllProperties, getAltKeyCount, getAttributeKind, getAttrLoad, getBackwardDependencies, getBackwardDependenciesNames, getColumnName, getColumnNameForQuery, getCompOpers, getCompOpers, getControlType, getDef, getDefaultValue, getDefTypeId, getDisplayHeight, getDisplayHint, getDisplayWidth, getDomainName, getElemFactory, getElemSQLType, getElemType, getEntityDef, getExprVarVal, getExtendedDefObjects, getExtendedDefObjectsInternal, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getForwardDependencyAttributes, getHint, getHints, getHintsFromResource, getHintValue, getHistoryKind, getIndex, getJavaType, getLabel, getLabelPlural, getListBindingDef, getLocaleName, getLOVFinder, getLOVName, getMessageBundleClass, getObjectType, getOIDAttrNames, getPermissionDef, getPrecision, getProperty, getRecalcExpression, getRecalcExpressionPrivilege, getRecalcExpressionTrustMode, getResourceBundleDef, getResourcePrefix, getResourcesFromBundle, getScale, getSerializerClassName, getSQLBuilder, getSQLType, getSQLTypeIdToString, getSQLTypeStringToId, getTooltip, getTransientExpression, getTransientExpressionPrivilege, getTransientExpressionTrustMode, getTransientExprEval, getTypeFactory, getTypeValueMapPropertySet, getUIHelper, getUpdateableFlag, getValidator, getValidatorCount, getValidators, getValueSerializer, getXMLElementTag, hasExtendedDefObjects, hasFormatInformation, hasHintDefined, hasHintOverride, hasTransientExpression, isAutoSubmit, isCascadeUpdateParticipant, isChangeIndicatorColumn, isDiscrColumn, isEffectiveDateRelated, 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, resolveObjectProperty, resolvePropertyRaw, setAttrLoad, setBackwardDependencies, setBaseDefObject, setColumnName, setDefaultValue, setDefForComponent, setDiscrColumn, setDomainName, setEffectiveDateSequence, setEffectiveDateSequenceFlag, setEffectiveDateType, setElemType, setExprVarVal, setHistoryKind, setJavaType, setLOVFinder, setLOVName, setMandatory, setName, setObjectType, setParent, setPermissionDef, setPrecisionScale, setPrimaryKey, setQueriable, setRecalcExpression, setRecalcExpressionPrivilege, setRecalcExpressionTrustMode, setRetrievedOnInsert, setRetrievedOnUpdate, setSelected, setSerializerClassName, setSQLType, setTransientExpression, setTransientExpressionPrivilege, setTransientExpressionTrustMode, setTypeValueMapPropertySet, setUnique, setUpdateableFlag, shouldEvaluateTransientExpression, storeToBean, unsetDefForComponent, writeChildren |
Methods inherited from class oracle.jbo.server.DefObject |
ensureVariableManager, finishedLoading, getBaseDefObject, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, loadProperties, loadVariables, resolveReferences, setBaseDefObject |
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, getSyncLock, guaranteePath, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, loadXMLContents, mergePropertyMap, objectRemoved, reapplyChanges, reapplyChangesToChildren, reapplyChangesToContents, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, 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 |
addPropertySetName, enableUpdateCheck, getContainerDef, getContainerName, getDefScope, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, suppressUpdateCheck |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getPropertyExpressionsMap, getStringFromMessageBundle, isPropertyExpression, 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.
setAssociationForce
public void setAssociationForce(Association association)
getEntityAssociation
public EntityAssociation getEntityAssociation()
- Returns:
- association The association it is part of.
isReverseAccessor
public boolean isReverseAccessor()
isRetainedAccessor
public boolean isRetainedAccessor()
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.
getEndName
public java.lang.String getEndName()
getOtherEndName
public java.lang.String getOtherEndName()
Copyright © 1997, 2013, Oracle. All rights reserved.