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

E10653-04

oracle.jbo.common
Class PropertiesBundleDef

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.common.GenericResourceBundleDef
                  extended by oracle.jbo.common.PropertiesBundleDef
All Implemented Interfaces:
java.io.Serializable, ResourceBundleDef, DefPersistable, PersistentDefinition

public class PropertiesBundleDef
extends GenericResourceBundleDef

PropertiesBundleDef implements ResourceBundleDef

See Also:
ResourceBundleDef, Serialized Form

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
PropertiesBundleDef(PersistableDefObject owner)
           
PropertiesBundleDef(PersistableDefObject owner, DefElement xmlElement)
           
 
Method Summary
 java.util.ResourceBundle createResourceBundle(java.util.Locale locale)
          createResourceBundle returns ResourceBundle based on the locale
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDisplayName()
          getDisplayName returns the name of the ResourceBundleClass as String
 java.lang.String getPropertiesFile()
          getPropertiesFile gets the propertiesFile value
 void setPropertiesFile(java.lang.String propFile)
          setPropertiesFile sets the propertiesFile value
 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.GenericResourceBundleDef
createResourceBundle, createResourceBundle, getFullName, getMsgBundleKey, getName, getResourceBundleClassName, getResourceBundleId, setResourceBundleId
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, finishedLoading, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLNameSpace, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isDirty, isEditable, isNew, loadDefImports, loadXMLContents, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, 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, 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, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolvePropertyRaw, setFullName, setPropertiesMap, setPropertiesMap2, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesBundleDef

public PropertiesBundleDef(PersistableDefObject owner)

PropertiesBundleDef

public PropertiesBundleDef(PersistableDefObject owner,
                           DefElement xmlElement)
Method Detail

setPropertiesFile

public void setPropertiesFile(java.lang.String propFile)
setPropertiesFile sets the propertiesFile value

Parameters:
propFile - String

getPropertiesFile

public java.lang.String getPropertiesFile()
getPropertiesFile gets the propertiesFile value


createResourceBundle

public java.util.ResourceBundle createResourceBundle(java.util.Locale locale)
createResourceBundle returns ResourceBundle based on the locale

Specified by:
createResourceBundle in interface ResourceBundleDef
Overrides:
createResourceBundle in class GenericResourceBundleDef
Parameters:
locale - Locale

getDisplayName

public java.lang.String getDisplayName()
getDisplayName returns the name of the ResourceBundleClass as String

Specified by:
getDisplayName in interface ResourceBundleDef
Overrides:
getDisplayName in class GenericResourceBundleDef

getDefXMLElementTag

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

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

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

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.