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

E10653-02

oracle.jbo.server
Class PDefVariable

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
                  extended by oracle.jbo.server.PDefVariable
All Implemented Interfaces:
PersonalizableDef, DefPersistable, PersistentDefinition

public class PDefVariable
extends PersDefBase


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
PDefVariable()
           
 
Method Summary
 void applyPersonalization(java.lang.Object inst)
           
 DefinitionObject findStaticDefinitionObject(java.lang.String fullName)
           
 java.lang.Object getDefaultValue()
           
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
 int getMandatoryValue()
           
 java.lang.String getTransientExpression()
           
 byte getUpdateableFlag()
           
 boolean isMandatory()
           
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
           
 void setDefaultValue(java.lang.Object v)
           
 void setMandatory(boolean b)
           
 void setTransientExpression(java.lang.String expr)
           
 void setUpdateableFlag(byte updateable)
           
 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.mom.PersDefBase
applyPropertiesPersonalization, deregisterDefObject, getBasePackage, getFileName, getStaticDef, registerDefObject, registerSessionDefObject, removeProperty, resolveDefObject, setFullName, setFullName, setProperty, setPropertyMap, setStaticDef
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, getBaseDir, getDefManager, getDefWriter, getEditObject, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isDirty, isEditable, isNew, objectRemoved, registerClass, remove, removeAndDelete, saveXMLContents, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, updateChildrenList, verifyVersion, writeObject, writeVersion, writeXMLContents
 
Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, addPropertySetName, finishedLoading, 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

PDefVariable

public PDefVariable()
Method Detail

getDefXMLElementTag

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

getMandatoryValue

public int getMandatoryValue()

isMandatory

public boolean isMandatory()

setMandatory

public void setMandatory(boolean b)

getUpdateableFlag

public byte getUpdateableFlag()

setUpdateableFlag

public void setUpdateableFlag(byte updateable)

getDefaultValue

public java.lang.Object getDefaultValue()

setDefaultValue

public void setDefaultValue(java.lang.Object v)

getTransientExpression

public java.lang.String getTransientExpression()

setTransientExpression

public void setTransientExpression(java.lang.String expr)

findStaticDefinitionObject

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

applyPersonalization

public void applyPersonalization(java.lang.Object inst)
Specified by:
applyPersonalization in interface PersonalizableDef
Specified by:
applyPersonalization in class PersDefBase

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

loadXMLContents

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

getDefXMLNameSpace

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

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

E10653-02

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