oracle.jbo.server
Class ViewAttributeDefImpl
java.lang.Object
|
+--oracle.jbo.common.NamedObjectImpl
|
+--oracle.jbo.mom.DefinitionObject
|
+--oracle.jbo.server.DefObject
|
+--oracle.jbo.server.AttributeDefImpl
|
+--oracle.jbo.server.ViewAttributeDefImpl
- All Implemented Interfaces:
- AttributeDef, AttributeHints, EJBPersistable, Properties
- public class ViewAttributeDefImpl
- extends AttributeDefImpl
The ViewAttributeDefImpl is an alias to an AttributeDefImpl.
- Version:
- PUBLIC since 9.0.3
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_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 |
Methods inherited from class oracle.jbo.server.AttributeDefImpl |
beanToStore, convertToJava, convertToStorage, displayInShortForm, finishedLoading, getAttributeKind,
getAttrLoad, getBaseDefObject, getColumnName,
getControlType, getDef, getDefaultValue,
getDisplayHeight, getDisplayHint, getDisplayWidth,
getElemFactory, getElemSQLType, getElemType,
getFormat, getFormattedAttribute,
getFormatter, getFormatterClassName, getHint, getHintValue, getHistoryKind, getJavaType,
getLabel, getLocaleName, getObjectType,
getOIDAttrNames, getPackageDef, getPackageName,
getPrecision, getScale, getSQLBuilder,
getSQLType, getSQLTypeIdToString, getSQLTypeStringToId,
getTooltip, getTypeFactory, getUIHelper,
getUpdateableFlag, hasFormatInformation, isDiscrColumn,
isMandatory, isObjectTableOID, isObjectTableRef,
isPrimaryKey, isQueriable, isRetrievedOnInsert,
isRetrievedOnUpdate, loadFromResultSet,
loadFromStatement, loadProperties,
parseFormattedAttribute, printXMLDefinition, resolveReferences, setAttrLoad, setBaseDefObject,
setDefaultValue, setElemType, setMandatory,
setName, setParent, setPrecisionScale, setPrimaryKey, setQueriable, setRetrievedOnInsert,
setRetrievedOnUpdate, setSQLType, setUpdateableFlag,
storeToBean |
Methods inherited from class oracle.jbo.mom.DefinitionObject |
addExtendedDefObject, getContainerDef, getContainerName, getExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, setObjectResolved |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mAttrDesc
protected AttributeDefImpl mAttrDesc
mAlias
protected java.lang.String mAlias
mGetterName
protected java.lang.String mGetterName
mSetterName
protected java.lang.String mSetterName
mBindVar
protected java.lang.String mBindVar
mVO
protected ViewObjectImpl mVO
mAssocEntityRefs
protected com.sun.java.util.collections.ArrayList mAssocEntityRefs
mAssocEntityRefsInited
protected boolean mAssocEntityRefsInited
ViewAttributeDefImpl
public ViewAttributeDefImpl()
- Construct an ViewAttributeDefImpl.
getViewDef
public ViewDefImpl getViewDef()
getOtherViewDef
public ViewDefImpl getOtherViewDef()
- If this attribute is an accessor attribute (refers to an end in a ViewLink)
then this method returns the ViewDef of other end of the ViewLink. If
this attribute is not an accessor attribute it returns null.
findViewLinkDefImpl
public oracle.jbo.server.ViewLinkDefImpl findViewLinkDefImpl()
getReferenceAttribute
public oracle.jbo.server.DefObject getReferenceAttribute()
- Gets the reference Entity's AttributeDefImpl if this View Attribute is Entity based.
- Returns:
- The referenced by object (null if this attribute is not entity based.).
getIndex
public int getIndex()
- Get the column position of this attribute in the data source.
Implementation of the AttributeDef Interface.
- Overrides:
getIndex
in class AttributeDefImpl
- Returns:
- The column index.
getAliasName
public java.lang.String getAliasName()
getColumnNameForQuery
public java.lang.String getColumnNameForQuery()
- Gets the column name to be used in query statement.
If the VO involves multiple entity usages, the
column name may have to be qualified with the
table alias for the appropriate entity. If the
query statement is a full query ("expert mode"),
the where-clause in the outer select must use
column alias used for the inner select. This method
takes care of all this and returns the right
column name to be used for a query statement.
- Overrides:
getColumnNameForQuery
in class AttributeDefImpl
- Returns:
- the column name to be used in query.
getPropertiesMap
public com.sun.java.util.collections.HashMap getPropertiesMap()
- Returns all Properties from this attribute and it's domain if any.
- Overrides:
getPropertiesMap
in class AttributeDefImpl
- Following copied from class:
oracle.jbo.server.AttributeDefImpl
- Returns:
- the table of properties.
getEntityDef
public EntityDefImpl getEntityDef()
- Returns the EntityDef to which the referenced AttributeDef belongs if
this view attribute is entity based. Otherwise returns null.
- Overrides:
getEntityDef
in class AttributeDefImpl
- Following copied from class:
oracle.jbo.server.AttributeDefImpl
- Returns:
- this Entity Object definition to which this attribute belongs.
getHintsFromResource
public com.sun.java.util.collections.HashMap getHintsFromResource(LocaleContext locale)
- Overrides:
getHintsFromResource
in class AttributeDefImpl