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

E10653-04

oracle.jbo.server
Class PDefEntityObject

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.PDefComponentObjectBase
                      extended by oracle.jbo.server.PDefRow
                          extended by oracle.jbo.server.PDefEntityObject
All Implemented Interfaces:
PersonalizableDef, DefPersistable, PersistentDefinition, VariableManagerOwner, VariableManagerOwnerBase

public class PDefEntityObject
extends PDefRow


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
PDefEntityObject()
           
PDefEntityObject(EntityDefImpl entityDef)
           
 
Method Summary
 AssociationDefImpl addAssocAccessor(java.lang.String accName, java.lang.String assocName, java.lang.Class javaType)
           
 AttributeDefImpl addAttribute(java.lang.String attrName, java.lang.String columnName, java.lang.Class javaType, boolean isPersistent)
           
 void addValidator(JboValidatorHints validator)
           
 void applyPersonalization(java.lang.Object instance)
           
static PDefEntityObject findDefObject(java.lang.String persDefName)
           
static PDefEntityObject findDefObjectNoSub(java.lang.String persDefName)
           
 DefinitionObject findStaticDefinitionObject(java.lang.String fullName)
           
 StructureDef findStructureDefByName(java.lang.String structDefFullName)
           
static java.lang.String[] getAllDefNames()
           
 java.lang.String getDefXMLNameSpace()
           
 java.util.ArrayList getValidators()
           
 void loadXMLAttrDefContents(DefElement elem, int index)
           
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
           
 JboValidatorHints personalizeValidator(java.lang.String name, java.lang.String validatorType, java.lang.String validatorSubType)
           
 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.server.PDefRow
addListBindingDef, addViewAccessorDef, findListBindingDef, findViewAccessorDef, getAttributeCount, getAttributeDef, getAttributeDefs, getAttributeDefs2, getAttributeIndexOf, getColumnNameForQuery, getHiddenAttributes, getHiddenAttributesList, getListBindingDefs, getPersonalizedAttributes, getViewAccessorDefs, hideAttribute, lookupAttributeDef, lookupListBindingDef, lookupPersonalizedAttribute, lookupViewAccessorDef, personalizeAttribute, removeHiddenAttribute, removeListBindingDef, removePersonalizedAttribute, removeViewAccessorDef, setEditable
 
Methods inherited from class oracle.jbo.server.PDefComponentObjectBase
ensureVariableManager, getMessageBundleClass, getPersonalizedVariables, getResourceBundleDef, getVariableManager, hasVariables, lookupPersonalizedVariable, personalizeVariable, removePersonalizedVariable, setVariableManager
 
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, 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, 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.VariableManagerOwner
getName
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Constructor Detail

PDefEntityObject

public PDefEntityObject()

PDefEntityObject

public PDefEntityObject(EntityDefImpl entityDef)
Method Detail

getAllDefNames

public static java.lang.String[] getAllDefNames()

findDefObjectNoSub

public static PDefEntityObject findDefObjectNoSub(java.lang.String persDefName)

findDefObject

public static PDefEntityObject findDefObject(java.lang.String persDefName)

findStaticDefinitionObject

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

getValidators

public java.util.ArrayList getValidators()

addValidator

public void addValidator(JboValidatorHints validator)

personalizeValidator

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

addAssocAccessor

public AssociationDefImpl addAssocAccessor(java.lang.String accName,
                                           java.lang.String assocName,
                                           java.lang.Class javaType)

addAttribute

public AttributeDefImpl addAttribute(java.lang.String attrName,
                                     java.lang.String columnName,
                                     java.lang.Class javaType,
                                     boolean isPersistent)

findStructureDefByName

public StructureDef findStructureDefByName(java.lang.String structDefFullName)

applyPersonalization

public void applyPersonalization(java.lang.Object instance)
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 PDefRow
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

loadXMLAttrDefContents

public void loadXMLAttrDefContents(DefElement elem,
                                   int index)

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.