Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

oracle.jbo.mom
Class PersDefBase

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.jbo.mom.PersDefBase
All Implemented Interfaces:
PersonalizableDef, DefPersistable, PersistentDefinition
Direct Known Subclasses:
PDefAttribute, PDefComponentObjectBase, PDefVariable, PDefViewCriteria

public abstract class PersDefBase
extends PersistableDefObject
implements PersonalizableDef


Field Summary
 
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
PersDefBase(DefinitionManager defMgr)
           
PersDefBase(DefinitionManager defMgr, DefinitionObject staticDef)
           
 
Method Summary
abstract  void applyPersonalization(java.lang.Object instance)
           
 void applyPropertiesPersonalization(NamedObjectImpl obj)
           
 void deregisterDefObject()
           
abstract  DefinitionObject findStaticDefinitionObject(java.lang.String fullName)
           
 java.lang.String getBasePackage()
           
 java.lang.String getFileName()
           
 DefinitionObject getStaticDef()
           
 DefinitionObject getStaticDefWithCheck()
           
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
           
 void registerDefObject()
           
 void registerSessionDefObject()
           
 void removeProperty(java.lang.String hintName, LocaleContext locale)
           
 void resolveDefObject()
           
 void setFullName(java.lang.String fullName)
          Give this object a fully-qualified name.
 void setFullName(java.lang.String fullName, boolean setStaticDef)
           
 void setProperty(java.lang.String hintName, java.lang.Object hintValue, LocaleContext locale)
           
 void setPropertyMap(java.util.Map m)
          Replaces all properties.
protected  void setStaticDef(DefinitionObject staticDefObj)
           
 void writeContents(DefWriter jos)
          Objects should write their persistence output in this method
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, finishedLoading, getBaseDir, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getDefXMLNameSpace, getEditObject, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isDirty, isEditable, isNew, loadDefImports, objectRemoved, registerClass, remove, removeAndDelete, removeDefImport, saveXMLContents, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, updateChildrenList, verifyVersion, writeChildren, writeObject, writeVersion, writeXMLContents
 
Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, addPropertySetName, getBaseDefObject, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, removeExtendedDefObject, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setParent, setPropertySetName
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolvePropertyRaw, 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.mom.xml.DefPersistable
getFullName
 

Constructor Detail

PersDefBase

public PersDefBase(DefinitionManager defMgr)

PersDefBase

public PersDefBase(DefinitionManager defMgr,
                   DefinitionObject staticDef)
Method Detail

findStaticDefinitionObject

public abstract DefinitionObject findStaticDefinitionObject(java.lang.String fullName)
Specified by:
findStaticDefinitionObject in interface PersonalizableDef

applyPersonalization

public abstract void applyPersonalization(java.lang.Object instance)
Specified by:
applyPersonalization in interface PersonalizableDef

getBasePackage

public java.lang.String getBasePackage()
Overrides:
getBasePackage in class PersistableDefObject

setFullName

public void setFullName(java.lang.String fullName)
Description copied from class: NamedObjectImpl
Give this object a fully-qualified name.

Overrides:
setFullName in class NamedObjectImpl
Parameters:
fullName - this object's fully-qualified name; the package name concatenated with the class name.

setFullName

public void setFullName(java.lang.String fullName,
                        boolean setStaticDef)

getFileName

public java.lang.String getFileName()
Overrides:
getFileName in class PersistableDefObject

getStaticDef

public DefinitionObject getStaticDef()
Specified by:
getStaticDef in interface PersonalizableDef

getStaticDefWithCheck

public DefinitionObject getStaticDefWithCheck()

setStaticDef

protected void setStaticDef(DefinitionObject staticDefObj)

resolveDefObject

public void resolveDefObject()
Specified by:
resolveDefObject in interface PersonalizableDef

registerDefObject

public void registerDefObject()
Specified by:
registerDefObject in interface PersonalizableDef
Overrides:
registerDefObject in class PersistableDefObject

registerSessionDefObject

public void registerSessionDefObject()
Overrides:
registerSessionDefObject in class PersistableDefObject

deregisterDefObject

public void deregisterDefObject()
Specified by:
deregisterDefObject in interface PersonalizableDef

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 PersistableDefObject
Parameters:
jos - the Output storage for persistence

loadXMLContents

public void loadXMLContents(DefElement xmlElement,
                            java.lang.String fullName)
Overrides:
loadXMLContents in class PersistableDefObject

applyPropertiesPersonalization

public void applyPropertiesPersonalization(NamedObjectImpl obj)

removeProperty

public void removeProperty(java.lang.String hintName,
                           LocaleContext locale)
Overrides:
removeProperty in class PersistableDefObject

setProperty

public void setProperty(java.lang.String hintName,
                        java.lang.Object hintValue,
                        LocaleContext locale)
Overrides:
setProperty in class PersistableDefObject

setPropertyMap

public void setPropertyMap(java.util.Map m)
Description copied from class: NamedObjectImpl
Replaces all properties.

All existing properties are lost.

Overrides:
setPropertyMap in class PersistableDefObject

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

Copyright © 1997, 2010, Oracle. All rights reserved.