Skip navigation links
oracle.adf.model.generic
Class AccessorDefImpl
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.MetaObject
oracle.adf.model.generic.StructureDefImpl
oracle.adf.model.generic.AccessorDefImpl
- All Implemented Interfaces:
- ResourceBundleOwner, DefPersistable, PersistentDefinition, ValidationManager, StructureDef, VariableManagerOwner, VariableManagerOwnerBase
-
public class AccessorDefImpl
- extends StructureDefImpl
- See Also:
RowImpl
- For internal use only. Application developers should not use this
- The AttributeDefHelper class implement the AttributeDef interface
Fields inherited from class oracle.adf.model.generic.StructureDefImpl |
loaded, mAccessors, mAttrs, mBeanClass, mBeanClassName, mElementsScalar, mMethodAccessors, mMsgClassName, mName, mScalarAccessors, PName_AccessorAttribute, PName_ArrayElementType, PName_Attribute, PName_BeanClass, PName_CollectionBeanClass, PName_Event, PName_Events, PName_FieldName, PName_FieldType, PName_IsCollection, PName_IsStructured, PName_MsgBundleClass, PName_Name, PName_ReadOnly, SCALAR_ELEMENT_NAME |
Methods inherited from class oracle.adf.model.generic.StructureDefImpl |
addValidator, clearDefinition, createAccessorAttributeDef, createAndLoadFromXML, createNewAccessor, createNewAccessor, createViewCriteria, findAttributeDef, getAccessorDef, getAccessors, getAllEventdefinitions, getAllViewCriteriasMapInternal, getArrayElementType, getAttributeCount, getAttributeDef, getAttributeDefs, getAttributeIndexOf, getBeanClass, getBeanClassName, getColumnNameForQuery, getDefFullName, getDefName, getDefTypeId, getFieldType, getFullName, getMessageBundleClassName, getMethodAccessors, getName, getScalarAccessorsList, getValidators, init, isCollection, isElementsScalar, isStructured, loadListBindings, loadVariables, lookupAttributeDef, putViewCriteria, readChildren, readContents, referToMOMStructureDef, resolveDefObject, setAccessors, setArrayElementType, setAttributes, setBeanClassName, setDefForComponent, setFieldType, setIsCollection, setIsStructured, setMethodAccessors, setName, throwOnListBindingMismatch, unsetDefForComponent |
Methods inherited from class oracle.jbo.server.MetaObject |
deregisterSessionObject, getMessageBundleClass, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getResourceBundleDef, getResourcePrefix, isDynamic, loadResourceBundle, registerDefObject, registerSessionDefObject, setMessageBundleClass, setResourceBundleDef, writeChildren, writeContents |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isDirty, isEditable, isNew, loadDefImports, loadXMLContents, objectRemoved, registerClass, 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 |
getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, setFullName, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessorDefImpl
public AccessorDefImpl(DCDataControl app,
java.lang.String sDefName,
java.lang.String sName)
AccessorDefImpl
public AccessorDefImpl(DCDataControl app,
java.lang.String sDefName,
AccessorDefinition accDef227)
getAddMethodName
public java.lang.String getAddMethodName()
getRemoveMethodName
public java.lang.String getRemoveMethodName()
getSourceName
public java.lang.String getSourceName()
loadFromXML
protected void loadFromXML(java.lang.String beanClass)
-
- Overrides:
loadFromXML
in class StructureDefImpl
getStructureDefImpl
public StructureDefImpl getStructureDefImpl(DCDataControl app)
-
- For internal use only. Application developers should not use this
getStructureDefImpl
public StructureDefImpl getStructureDefImpl()
-
- For internal use only. Application developers should not use this
- Do not call this method as this does not work with 227 based accessors or structures.
getBaseDefObject
public DefinitionObject getBaseDefObject()
-
- Overrides:
getBaseDefObject
in class DefinitionObject
setBaseDefObject
public void setBaseDefObject(DefinitionObject baseDefObject)
-
- Overrides:
setBaseDefObject
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
setParent
protected void setParent(NamedObjectImpl parent)
- Sets this object's parent.
-
- Overrides:
setParent
in class DefinitionObject
-
- Parameters:
parent
- the named object that is to be the parent of this object.
loadProperties
protected void loadProperties(DefElement xmlElement)
-
- Overrides:
loadProperties
in class DefinitionObject
-
- Parameters:
xmlElement
- The XML element to load from.
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
resolvePropertyRaw
protected java.lang.Object resolvePropertyRaw(java.lang.String property,
LocaleContext locale)
-
- Overrides:
resolvePropertyRaw
in class NamedObjectImpl
getAllProperties
public java.util.HashMap getAllProperties(java.util.HashMap map,
LocaleContext locale)
-
- Overrides:
getAllProperties
in class NamedObjectImpl
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.