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

E10653-04

oracle.jbo.server
Class PDefAttribute

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.PDefAttribute
All Implemented Interfaces:
PersonalizableDef, DefPersistable, PersistentDefinition, ValidationManager

public class PDefAttribute
extends PersDefBase
implements ValidationManager


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
PDefAttribute()
           
PDefAttribute(PDefRow parent)
           
 
Method Summary
 void addValidator(JboValidatorHints validator)
           
 void addValidator(JboValidatorInterface validator)
           
 void applyPersonalization(java.lang.Object inst)
           
 DefinitionObject findStaticDefinitionObject(java.lang.String fullName)
           
 java.lang.Object getDefaultValue()
           
 java.lang.String getDefXMLNameSpace()
           
 java.lang.String getLOVName()
           
 int getMandatoryValue()
           
 PDefRow getPDefRow()
           
 int getPrimaryKeyValue()
           
 int getQueriableValue()
           
 ResourceBundleDef getResourceBundleDef()
           
 int getSelectedValue()
           
 java.lang.String getTransientExpression()
           
 byte getUpdateableFlag()
           
 java.util.ArrayList getValidators()
           
 boolean isMandatory()
           
 boolean isPrimaryKey()
           
 boolean isQueriable()
           
 boolean isSelected()
           
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
           
 JboValidatorHints lookupValidator(java.lang.String name)
           
 JboValidatorHints personalizeValidator(java.lang.String name, java.lang.String validatorType, java.lang.String validatorSubType)
           
 void removeValidator(JboValidatorHints validator)
           
 void setDefaultValue(java.lang.Object v)
           
 void setLOVName(java.lang.String v)
           
 void setMandatory(boolean b)
           
protected  void setParent(NamedObjectImpl parent)
          Sets this object's parent.
 void setPrimaryKey(boolean b)
           
 void setQueriable(boolean b)
           
 void setSelected(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, getStaticDefWithCheck, registerDefObject, registerSessionDefObject, removeProperty, resolveDefObject, setFullName, setFullName, setProperty, setPropertyMap, setStaticDef
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, finishedLoading, getBaseDir, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, 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, 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, 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.rules.ValidationManager
getFullName, getName
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Constructor Detail

PDefAttribute

public PDefAttribute()

PDefAttribute

public PDefAttribute(PDefRow parent)
Method Detail

setParent

protected void setParent(NamedObjectImpl parent)
Description copied from class: DefinitionObject
Sets this object's parent.

Overrides:
setParent in class DefinitionObject
Parameters:
parent - the named object that is to be the parent of this object.

getPDefRow

public PDefRow getPDefRow()

getQueriableValue

public int getQueriableValue()

isQueriable

public boolean isQueriable()

setQueriable

public void setQueriable(boolean b)

getPrimaryKeyValue

public int getPrimaryKeyValue()

isPrimaryKey

public boolean isPrimaryKey()

setPrimaryKey

public void setPrimaryKey(boolean b)

getMandatoryValue

public int getMandatoryValue()

isMandatory

public boolean isMandatory()

setMandatory

public void setMandatory(boolean b)

getUpdateableFlag

public byte getUpdateableFlag()

setUpdateableFlag

public void setUpdateableFlag(byte updateable)

getSelectedValue

public int getSelectedValue()

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean b)

getDefaultValue

public java.lang.Object getDefaultValue()

setDefaultValue

public void setDefaultValue(java.lang.Object v)

setLOVName

public void setLOVName(java.lang.String v)

getLOVName

public java.lang.String getLOVName()

getTransientExpression

public java.lang.String getTransientExpression()

setTransientExpression

public void setTransientExpression(java.lang.String expr)

getValidators

public java.util.ArrayList getValidators()
Specified by:
getValidators in interface ValidationManager

addValidator

public void addValidator(JboValidatorInterface validator)
Specified by:
addValidator in interface ValidationManager

addValidator

public void addValidator(JboValidatorHints validator)

removeValidator

public void removeValidator(JboValidatorHints validator)

lookupValidator

public JboValidatorHints lookupValidator(java.lang.String name)

personalizeValidator

public JboValidatorHints personalizeValidator(java.lang.String name,
                                              java.lang.String validatorType,
                                              java.lang.String validatorSubType)

getResourceBundleDef

public ResourceBundleDef getResourceBundleDef()
Specified by:
getResourceBundleDef in interface ValidationManager

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)

E10653-04

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