Skip navigation links 
 
oracle.jbo.server
Class PDefAttribute
java.lang.Object
  
oracle.jbo.common.NamedObjectImpl
      
oracle.jbo.mom.DefinitionObject
          
oracle.jbo.mom.PersistableDefObject
              
oracle.jbo.mom.PersDefBase
                  
oracle.jbo.server.PDefAttribute
- All Implemented Interfaces:
 
- DiffMergeable, PersonalizableDef, DefPersistable, PersistentDefinition, ValidationManager
 
- 
public class PDefAttribute
 
- extends PersDefBase
 
- implements ValidationManager
 
 
 
  
 
 
 
 
| 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, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP | 
 
 
  
 
  
 
| Method Summary | 
 void | 
addBackwardDependency(AttributeDependency attrDep) 
          Internal: Applications should not use this method. | 
 void | 
addBackwardDependency(java.lang.String attrName) 
            | 
 void | 
addValidator(JboValidatorHints validator) 
            | 
 void | 
addValidator(JboValidatorInterface validator) 
            | 
 void | 
applyDiffChildren(DifferDetails dif, DiffResolver resolver) 
            | 
 void | 
applyDiffContents(DifferDetails dif, DiffResolver resolver) 
            | 
 void | 
applyPersonalization(int mode, java.lang.Object inst) 
            | 
 DifferDetails | 
diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails) 
            | 
 DifferDetails | 
diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails) 
            | 
 DefinitionObject | 
findStaticDefinitionObject(java.lang.String fullName) 
            | 
 java.util.List | 
getBackwardDependencies() 
            | 
 java.lang.Object | 
getDefaultValue() 
            | 
 java.lang.String | 
getLOVName() 
            | 
 int | 
getMandatoryValue() 
            | 
 PDefRow | 
getPDefRow() 
            | 
 java.util.List | 
getPersValidators() 
            | 
 int | 
getPrimaryKeyValue() 
            | 
 int | 
getQueriableValue() 
            | 
 java.lang.String | 
getRecalcExpression() 
            | 
 ExprEval.Privilege | 
getRecalcExpressionPrivilege() 
          Deprecated. since 11.1.1.4.0 Applications should not use this method | 
 ExprEval.TrustMode | 
getRecalcExpressionTrustMode() 
          Deprecated. Applications should not use this method | 
 ResourceBundleDef | 
getResourceBundleDef() 
            | 
 int | 
getSelectedValue() 
            | 
 java.lang.String | 
getTransientExpression() 
            | 
 ExprEval.Privilege | 
getTransientExpressionPrivilege() 
          Deprecated. since 11.1.1.4.0 Applications should not use this method | 
 ExprEval.TrustMode | 
getTransientExpressionTrustMode() 
          Deprecated. Applications should not use this method | 
 byte | 
getUpdateableFlag() 
            | 
 java.util.ArrayList | 
getValidators() 
            | 
 boolean | 
isMandatory() 
            | 
 boolean | 
isPrimaryKey() 
            | 
 boolean | 
isQueriable() 
            | 
 boolean | 
isSelected() 
            | 
 void | 
loadXMLContents(DefElement xmlElement, java.lang.String fullName) 
            | 
 JboValidatorHints | 
lookupPersValidator(java.lang.String name) 
            | 
 JboValidatorHints | 
lookupValidator(java.lang.String name) 
            | 
 JboValidatorHints | 
personalizeValidator(java.lang.String name, java.lang.String validatorType, java.lang.String validatorSubType) 
            | 
 boolean | 
removeBackwardDependency(java.lang.String attrName) 
            | 
 boolean | 
removePersValidator(java.lang.String name) 
            | 
 void | 
removeValidator(JboValidatorHints validator) 
            | 
 boolean | 
removeValidator(java.lang.String name) 
            | 
 void | 
setBackwardDependencies(java.util.List arr) 
            | 
 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 | 
setRecalcExpression(java.lang.String expr) 
            | 
 void | 
setRecalcExpressionPrivilege(ExprEval.Privilege pr) 
          Deprecated. since 11.1.1.4.0 Applications should not use this method | 
 void | 
setRecalcExpressionTrustMode(ExprEval.TrustMode trusted) 
          Deprecated. Applications should not use this method | 
 void | 
setSelected(boolean b) 
            | 
 void | 
setTransientExpression(java.lang.String expr) 
            | 
 void | 
setTransientExpressionPrivilege(ExprEval.Privilege pr) 
          Deprecated. since 11.1.1.4.0 Applications should not use this method | 
 void | 
setTransientExpressionTrustMode(ExprEval.TrustMode trusted) 
          Deprecated. since 11.1.1.4.0 Applications should not use this method | 
 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 | 
applyPersonalization, applyPropertiesPersonalization, deregisterDefObject, getBasePackage, getFileName, getStaticDef, getStaticDefWithCheck, getTrimmedFullName, hasStaticDefElem, isAuditEnabled, isAuditEnabled, isDeprecated, loadSubclassXMLContents, mergePropertyMap, raiseCustomAuditEvent, registerDefObject, registerSessionDefObject, removeProperty, resolveDefObject, saveXMLContents, setDefinitionState, setFullName, setFullName, setProperty, setPropertyExpression, setPropertyMap, setStaticDef | 
 
| Methods inherited from class oracle.jbo.mom.PersistableDefObject | 
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, checkEditable, checkStructWithOld, close, createFromXML, deregisterSessionObject, diffObjects, ensureDifferDetails, findDefImport, finishedLoading, getBaseDir, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getDefXMLNameSpace, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getEditVersionsAsString, getExtendedDefObjectsInternal, getFullDirName, getFullFileName, getMajorVersion, getMinorVersion, getOrigObject, getPropertyMap, getSessionSyncLock, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, lockDefinitionContext, mergeChanges, objectRemoved, reapplyChanges, registerClass, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setEditableFlag, setEditableObject, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setupDefWriterFromMO, staticUpdateChildrenList, unlockDefinitionContext, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeObject, writeVersion, writeXMLContents | 
 
| Methods inherited from class oracle.jbo.mom.DefinitionObject | 
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getBaseDefObject, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, isSuppressUpdateCheck, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setPropertySetName, suppressUpdateCheck | 
 
| Methods inherited from class oracle.jbo.common.NamedObjectImpl | 
getAllProperties, getFullName, getName, 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 | 
 
 
 
 
 
PDefAttribute
public PDefAttribute()
PDefAttribute
public PDefAttribute(PDefRow parent)
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)
setRecalcExpression
public void setRecalcExpression(java.lang.String expr)
getTransientExpressionPrivilege
public ExprEval.Privilege getTransientExpressionPrivilege()
- Deprecated. since 11.1.1.4.0 Applications should not use this method
 
- 
- For internal use only. Application developers should not use this
 
 
setTransientExpressionPrivilege
public void setTransientExpressionPrivilege(ExprEval.Privilege pr)
- Deprecated. since 11.1.1.4.0 Applications should not use this method
 
- 
- For internal use only. Application developers should not use this
 
 
getTransientExpressionTrustMode
public ExprEval.TrustMode getTransientExpressionTrustMode()
- Deprecated. Applications should not use this method
 
- 
- For internal use only. Application developers should not use this
 
 
setTransientExpressionTrustMode
public void setTransientExpressionTrustMode(ExprEval.TrustMode trusted)
- Deprecated. since 11.1.1.4.0 Applications should not use this method
 
- 
- For internal use only. Application developers should not use this
 
 
getRecalcExpressionPrivilege
public ExprEval.Privilege getRecalcExpressionPrivilege()
- Deprecated. since 11.1.1.4.0 Applications should not use this method
 
- 
- For internal use only. Application developers should not use this
 
 
setRecalcExpressionPrivilege
public void setRecalcExpressionPrivilege(ExprEval.Privilege pr)
- Deprecated. since 11.1.1.4.0 Applications should not use this method
 
- 
- For internal use only. Application developers should not use this
 
 
getRecalcExpressionTrustMode
public ExprEval.TrustMode getRecalcExpressionTrustMode()
- Deprecated. Applications should not use this method
 
- 
- For internal use only. Application developers should not use this
 
 
setRecalcExpressionTrustMode
public void setRecalcExpressionTrustMode(ExprEval.TrustMode trusted)
- Deprecated. Applications should not use this method
 
- 
- For internal use only. Application developers should not use this
 
 
getRecalcExpression
public java.lang.String getRecalcExpression()
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 boolean removeValidator(java.lang.String name)
removeValidator
public void removeValidator(JboValidatorHints validator)
lookupValidator
public JboValidatorHints lookupValidator(java.lang.String name)
getPersValidators
public java.util.List getPersValidators()
personalizeValidator
public JboValidatorHints personalizeValidator(java.lang.String name,
                                              java.lang.String validatorType,
                                              java.lang.String validatorSubType)
removePersValidator
public boolean removePersValidator(java.lang.String name)
lookupPersValidator
public JboValidatorHints lookupPersValidator(java.lang.String name)
getBackwardDependencies
public java.util.List getBackwardDependencies()
setBackwardDependencies
public void setBackwardDependencies(java.util.List arr)
addBackwardDependency
public void addBackwardDependency(AttributeDependency attrDep)
- Internal: Applications should not use this method.
 
addBackwardDependency
public void addBackwardDependency(java.lang.String attrName)
removeBackwardDependency
public boolean removeBackwardDependency(java.lang.String attrName)
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(int mode,
                                 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 
 
diffContents
public DifferDetails diffContents(DiffMergeable docDef,
                                  DiffMergeable orgDef,
                                  DifferDetails difDetails)
- 
- Specified by:
 
diffContents in interface DiffMergeable 
- Overrides:
 
diffContents in class PersistableDefObject 
 
diffChildren
public DifferDetails diffChildren(DiffMergeable docDef,
                                  DiffMergeable orgDef,
                                  DifferDetails difDetails)
- 
- Specified by:
 
diffChildren in interface DiffMergeable 
- Overrides:
 
diffChildren in class PersistableDefObject 
 
applyDiffContents
public void applyDiffContents(DifferDetails dif,
                              DiffResolver resolver)
- 
- Specified by:
 
applyDiffContents in interface DiffMergeable 
- Overrides:
 
applyDiffContents in class PersistableDefObject 
 
applyDiffChildren
public void applyDiffChildren(DifferDetails dif,
                              DiffResolver resolver)
- 
- Specified by:
 
applyDiffChildren in interface DiffMergeable 
- Overrides:
 
applyDiffChildren in class PersistableDefObject 
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.