Skip navigation links 
 
oracle.jbo.server
Class DefObject
java.lang.Object
  
oracle.jbo.common.NamedObjectImpl
      
oracle.jbo.mom.DefinitionObject
          
oracle.jbo.mom.PersistableDefObject
              
oracle.jbo.server.DefObject
- All Implemented Interfaces:
 
- DiffMergeable, DefPersistable, PersistentDefinition, VariableManagerOwner, VariableManagerOwnerBase
 
- Direct Known Subclasses:
 
- AssociationEnd, AttributeDefImpl, KeyDef, MetaObject, OperationDefinitionImpl, OperationDefinitionsImpl, OperationParamImpl, RowFinder, ViewAccessorDef
 
- 
public abstract class DefObject
 
- extends PersistableDefObject
 
- implements VariableManagerOwner
 
Default implementation of DefInterface implemented by all of JBO Definition classes.
 
 
  
 
 
 
| Fields inherited from class oracle.jbo.mom.DefinitionObject | 
DEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP | 
 
 
  
 
  
 
 
| Methods inherited from class oracle.jbo.mom.PersistableDefObject | 
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, applyDiffContents, checkEditable, checkStructWithOld, close, createFromXML, deregisterSessionObject, diffContents, diffObjects, ensureDifferDetails, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getEditVersionsAsString, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getMajorVersion, getMinorVersion, getOrigObject, getPropertyMap, getSessionSyncLock, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, loadXMLContents, lockDefinitionContext, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerDefObject, registerSessionDefObject, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setEditableFlag, setEditableObject, setFullName, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setupDefWriterFromMO, staticUpdateChildrenList, unlockDefinitionContext, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeContents, writeObject, writeVersion, writeXMLContents | 
 
| Methods inherited from class oracle.jbo.mom.DefinitionObject | 
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, 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, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setPropertiesMap, setPropertiesMap2, setProperty | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
 
 
 
DefObject
protected DefObject(DefinitionManager defMgr,
                    int defScope)
setName
public void setName(java.lang.String name)
- Name this object.
 
- 
- Overrides:
 
setName in class DefinitionObject 
 
- 
- Parameters:
 
name - the name to be given to this object. 
- For internal use only. Application developers should not use this
 
 
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. 
 
isDeprecated
public boolean isDeprecated(LocaleContext locale)
- For internal framework use only.
 
- 
- Overrides:
 
isDeprecated in class DefinitionObject 
 
- 
- For internal use only. Application developers should not use this
 
 
loadProperties
protected void loadProperties(DefElement xmlElement)
- 
- Overrides:
 
loadProperties in class DefinitionObject 
 
- 
- Parameters:
 
xmlElement - The XML element to load from. 
 
loadVariables
protected void loadVariables(DefElement xmlElement)
writeChildren
public void writeChildren(DefWriter jos)
- Description copied from interface: 
PersistentDefinition 
- Writes the Object's children to the Persistent storage
 
- 
- Specified by:
 
writeChildren in interface PersistentDefinition 
- Overrides:
 
writeChildren in class PersistableDefObject 
 
- 
- Parameters:
 
jos - the Output storage for persistence 
 
diffChildren
public DifferDetails diffChildren(DiffMergeable docDef,
                                  DiffMergeable orgDef,
                                  DifferDetails difDetails)
- 
- Specified by:
 
diffChildren in interface DiffMergeable 
- Overrides:
 
diffChildren in class PersistableDefObject 
 
applyDiffChildren
public void applyDiffChildren(DifferDetails dif,
                              DiffResolver resolver)
- 
- Specified by:
 
applyDiffChildren in interface DiffMergeable 
- Overrides:
 
applyDiffChildren in class PersistableDefObject 
 
getDefTypeId
public abstract int getDefTypeId()
setDefForComponent
protected abstract void setDefForComponent(ComponentObjectImpl comp)
unsetDefForComponent
protected abstract void unsetDefForComponent(ComponentObjectImpl comp)
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 
 
getBooleanAdfmConfigProperty
protected boolean getBooleanAdfmConfigProperty(java.lang.String propertyName,
                                               boolean defaultValue)
getAdfmConfigStartupProperty
protected java.lang.Object getAdfmConfigStartupProperty(java.lang.String propertyName,
                                                        java.lang.String defaultValue)
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.