Skip navigation links

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

E67681-01


oracle.jbo.server
Class NamedObjectAnnotations

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.server.NamedObjectAnnotations

All Implemented Interfaces:
ResourceBundleOwner, DiffMergeable, DefPersistable, PersistentDefinition
Direct Known Subclasses:
RowFinderAnnotation, RowFinderAnnotation.RowFinderAttributeAnnot

public class NamedObjectAnnotations
extends PersistableDefObject
implements ResourceBundleOwner
Since:
11.1.1.6.1

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType

 

Field Summary

 

Fields inherited from class oracle.jbo.mom.PersistableDefObject
mEditedProperties, mEditedPropertyExprs

 

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, DEF_SCOPE_USER, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP

 

Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIX

 

Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT

 

Method Summary
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
 java.lang.String getDescription()
           
 java.lang.String getDescription(LocaleContext localeContext)
           
 java.lang.String getFullName()
          Gets this object's fully-qualified name.
 java.lang.String getName()
          Get the name of this object.
 DefPersistable getOrigObject()
           
 ResourceBundleDef getResourceBundleDef()
           
 java.lang.String getResourcePrefix()
           
 java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 boolean isDirty()
          This method returns if an Object is modified from last save/load
 boolean isNew()
          This method returns if this object is previously persisted.
protected  void loadFromXMLFile(DefElement xmlElement)
           
 void setDirty(boolean isDirty)
          This method marks the Object dirty
 void setNew(boolean isNew)
          This method marks the as previously persisted.
 void setOrigObject(DefPersistable oldObj)
           
 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
 void writeObject(DefWriter jos)
          Objects should write their persistence output in this method

 

Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, applyDiffChildren, applyDiffContents, checkEditable, checkStructWithOld, close, createFromXML, deregisterSessionObject, diffChildren, diffContents, diffObjects, ensureDifferDetails, findDefImport, finishedLoading, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getEditVersionsAsString, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getMajorVersion, getMinorVersion, getPropertyMap, getSessionSyncLock, getSubstitutedNames, getSyncLock, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, loadXMLContents, lockDefinitionContext, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerDefObject, registerSessionDefObject, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setEditable, setEditableFlag, setEditableObject, setFullName, setFullNameInternal, setLoadBase, setMajorVersionChanged, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setupDefWriterFromMO, staticUpdateChildrenList, unlockDefinitionContext, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeHeaderForNew, writeVersion, writeXMLContents

 

Methods inherited from class oracle.jbo.mom.DefinitionObject
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getBaseDefObject, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isComponentDefinition, isDeprecated, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, isSuppressUpdateCheck, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setParent, setPropertySetName, suppressUpdateCheck

 

Methods inherited from class oracle.jbo.common.NamedObjectImpl
getAllProperties, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setPropertiesMap, setPropertiesMap2, setProperty

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getName

public java.lang.String getName()
Description copied from class: NamedObjectImpl
Get the name of this object.
Specified by:
getName in interface DiffMergeable
Overrides:
getName in class NamedObjectImpl
Returns:
the name given to this object.

getDescription

public java.lang.String getDescription()

getDescription

public java.lang.String getDescription(LocaleContext localeContext)

isDirty

public boolean isDirty()
Description copied from interface: DefPersistable
This method returns if an Object is modified from last save/load
Specified by:
isDirty in interface DefPersistable
Overrides:
isDirty in class PersistableDefObject
Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

public void setDirty(boolean isDirty)
Description copied from interface: DefPersistable
This method marks the Object dirty
Specified by:
setDirty in interface DefPersistable
Overrides:
setDirty in class PersistableDefObject
Parameters:
isDirty - If true the Object is marked Dirty.

isNew

public boolean isNew()
Description copied from interface: DefPersistable
This method returns if this object is previously persisted.
Specified by:
isNew in interface DefPersistable
Overrides:
isNew in class PersistableDefObject
Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

public void setNew(boolean isNew)
Description copied from interface: DefPersistable
This method marks the as previously persisted. By default all objects are new objects. When the object is persisted first time, that object is marked as 'not new' object
Specified by:
setNew in interface DefPersistable
Overrides:
setNew in class PersistableDefObject
Parameters:
isNew - If true the Object is marked as new object.

getFullName

public java.lang.String getFullName()
Description copied from class: NamedObjectImpl
Gets this object's fully-qualified name.
Specified by:
getFullName in interface DiffMergeable
Specified by:
getFullName in interface DefPersistable
Overrides:
getFullName in class NamedObjectImpl
Returns:
this object's fully-qualified name; the package name concatenated with the class name.

getOrigObject

public DefPersistable getOrigObject()
Specified by:
getOrigObject in interface DefPersistable
Overrides:
getOrigObject in class PersistableDefObject

setOrigObject

public void setOrigObject(DefPersistable oldObj)
Specified by:
setOrigObject in interface DefPersistable
Overrides:
setOrigObject in class PersistableDefObject

writeObject

public void writeObject(DefWriter jos)
Description copied from interface: PersistentDefinition
Objects should write their persistence output in this method
Specified by:
writeObject in interface PersistentDefinition
Overrides:
writeObject in class PersistableDefObject
Parameters:
jos - the Output storage for persistence

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

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

getXMLElementTag

public java.lang.String getXMLElementTag()
Description copied from interface: PersistentDefinition
Returns a piece of static info for the type of object this is invoked upon. Examples are PreparedStatements for insert, update, delete, and String containing a base the select statement for retrieving instances of this type through the SQLInputStream
Specified by:
getXMLElementTag in interface PersistentDefinition
Overrides:
getXMLElementTag in class PersistableDefObject
Returns:
returns the Statement required to store in Persitent Storage. Incase of XML, it just returns the String. In the case of SQL a JDBC PreparedStatement is returned.

getDefXMLElementTag

public java.lang.String getDefXMLElementTag()
Specified by:
getDefXMLElementTag in interface PersistentDefinition
Overrides:
getDefXMLElementTag in class PersistableDefObject

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Specified by:
getDefXMLNameSpace in interface PersistentDefinition
Overrides:
getDefXMLNameSpace in class PersistableDefObject

loadFromXMLFile

protected void loadFromXMLFile(DefElement xmlElement)

getResourceBundleDef

public ResourceBundleDef getResourceBundleDef()
Specified by:
getResourceBundleDef in interface ResourceBundleOwner
For internal use only. Application developers should not use this

getResourcePrefix

public java.lang.String getResourcePrefix()
Specified by:
getResourcePrefix in interface ResourceBundleOwner
For internal use only. Application developers should not use this

Skip navigation links

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

E67681-01


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