|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.MetaObject
public abstract class MetaObject
Field Summary | |
---|---|
protected java.lang.Class |
mComponentClass
|
Fields inherited from class oracle.jbo.mom.DefinitionObject |
---|
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.common.NamedObjectImpl |
---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
XML_STATEMENT |
Constructor Summary | |
---|---|
protected |
MetaObject(DefinitionManager defMgr,
int defScope)
|
Method Summary | |
---|---|
void |
deregisterSessionObject()
|
VariableValueManager |
ensureVariableManager()
Returns this object's Variable Value Manager. |
protected void |
finishedLoading()
|
java.util.HashMap |
getAllProperties(java.util.HashMap map,
LocaleContext locale)
|
DefinitionObject |
getBaseDefObject()
|
abstract int |
getDefTypeId()
|
java.lang.String |
getDefXMLNameSpace()
|
java.lang.Class |
getMessageBundleClass()
Internal: Applications should not use this method. |
protected ResourceBundleDef |
getMsgBundleDef(DefElement xmlElement)
getMsgBundleDef gets the ResourceBundleDef given the DefElement |
PackageDefImpl |
getPackageDef()
|
java.lang.String |
getPackageName()
|
PersDefBase |
getPersDef()
|
ResourceBundleDef |
getResourceBundleDef()
getResourceBundleDef gets the mResourceBundleDef value |
java.lang.String |
getResourcePrefix()
|
VariableValueManager |
getVariableManager()
Returns this object's current Variable Value Manager. |
protected VariableValueManager[] |
getVarMgrParents()
|
boolean |
hasVariables()
Returns a flag indicating whether this object has Variables or not. |
protected boolean |
isDynamic()
|
protected void |
loadProperties(DefElement xmlElement)
|
protected void |
loadResourceBundle(DefElement xmlElement)
loadResourceBundle sets the ResourceBundleDef on EntityDefImpl given the DefElement |
protected void |
loadVariables(DefElement xmlElement)
|
void |
registerDefObject()
Registers this def object with MetaObjectManager. |
void |
registerSessionDefObject()
|
abstract void |
resolveDefObject()
|
protected java.lang.Object |
resolvePropertyRaw(java.lang.String property,
LocaleContext locale)
|
protected void |
resolveReferences()
|
void |
setBaseDefObject(DefinitionObject baseDefObject)
|
void |
setBaseDefObject(DefinitionObject baseDefObject,
boolean addToBaseDef)
|
protected abstract void |
setDefForComponent(ComponentObjectImpl comp)
|
void |
setMessageBundleClass(java.lang.Class collClass)
Internal: Applications should not use this method. |
void |
setName(java.lang.String name)
Name this object. |
protected void |
setParent(NamedObjectImpl parent)
Sets this object's parent. |
void |
setResourceBundleDef(ResourceBundleDef resourceBundleDef)
setResourceBundleDef sets the mResourceBundleDef value |
protected abstract void |
unsetDefForComponent(ComponentObjectImpl comp)
|
void |
writeChildren(DefWriter jos)
Writes the Object's children to the Persistent storage |
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
---|
getFullName, getName, 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 |
Methods inherited from interface oracle.jbo.VariableManagerOwner |
---|
getName |
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
getFullName |
Field Detail |
---|
protected java.lang.Class mComponentClass
Constructor Detail |
---|
protected MetaObject(DefinitionManager defMgr, int defScope)
Method Detail |
---|
public PackageDefImpl getPackageDef()
public java.lang.String getPackageName()
public PersDefBase getPersDef()
protected boolean isDynamic()
public void setMessageBundleClass(java.lang.Class collClass)
Sets the implementation class for this Object's Message Bundle class.
collClass
- the message bundle implementation class.public java.lang.Class getMessageBundleClass()
Returns the class of the reference object.
getMessageBundleClass
in interface VariableManagerOwnerBase
public abstract void resolveDefObject()
public void registerDefObject()
This method should be called after the def object is
all set up and after resolveDefObject()
is called.
registerDefObject
in class PersistableDefObject
public void registerSessionDefObject()
registerSessionDefObject
in class PersistableDefObject
public void deregisterSessionObject()
deregisterSessionObject
in class PersistableDefObject
public ResourceBundleDef getResourceBundleDef()
getResourceBundleDef
in interface ResourceBundleOwner
getResourceBundleDef
in interface VariableManagerOwnerBase
public java.lang.String getResourcePrefix()
getResourcePrefix
in interface ResourceBundleOwner
public void setResourceBundleDef(ResourceBundleDef resourceBundleDef)
resourceBundleDef
- ResourceBundleDefprotected void loadResourceBundle(DefElement xmlElement)
xmlElement
- DefElementprotected ResourceBundleDef getMsgBundleDef(DefElement xmlElement)
xmlElement
- DefElementpublic void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren
in interface PersistentDefinition
jos
- the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
writeContents
in class PersistableDefObject
jos
- the Output storage for persistencepublic void setName(java.lang.String name)
setName
in class DefinitionObject
name
- the name to be given to this object.public DefinitionObject getBaseDefObject()
getBaseDefObject
in class DefinitionObject
public void setBaseDefObject(DefinitionObject baseDefObject)
setBaseDefObject
in class DefinitionObject
public void setBaseDefObject(DefinitionObject baseDefObject, boolean addToBaseDef)
setBaseDefObject
in class DefinitionObject
protected void resolveReferences()
resolveReferences
in class DefinitionObject
protected void finishedLoading()
finishedLoading
in class PersistableDefObject
protected void setParent(NamedObjectImpl parent)
setParent
in class DefinitionObject
parent
- the named object that is to be the parent of this object.protected void loadProperties(DefElement xmlElement)
loadProperties
in class DefinitionObject
xmlElement
- The XML element to load from.protected void loadVariables(DefElement xmlElement)
public abstract int getDefTypeId()
protected abstract void setDefForComponent(ComponentObjectImpl comp)
protected abstract void unsetDefForComponent(ComponentObjectImpl comp)
public VariableValueManager getVariableManager()
VariableManagerOwnerBase
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.
in contrast, ensures
that the Variable Value Manager is initialized (created).
VariableManagerOwnerBase.ensureVariableManager()
getVariableManager
in interface VariableManagerOwnerBase
null
if one was not yet initialized.protected VariableValueManager[] getVarMgrParents()
public boolean hasVariables()
VariableManagerOwnerBase
hasVariables
in interface VariableManagerOwnerBase
public VariableValueManager ensureVariableManager()
VariableManagerOwnerBase
ensureVariableManager
in interface VariableManagerOwnerBase
public java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace
in interface PersistentDefinition
getDefXMLNameSpace
in class PersistableDefObject
protected java.lang.Object resolvePropertyRaw(java.lang.String property, LocaleContext locale)
resolvePropertyRaw
in class NamedObjectImpl
public java.util.HashMap getAllProperties(java.util.HashMap map, LocaleContext locale)
getAllProperties
in class NamedObjectImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |