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

E10653-04

oracle.jbo.mom.xml
Interface DefPersistable

All Superinterfaces:
PersistentDefinition
All Known Subinterfaces:
JboValidatorHints
All Known Implementing Classes:
AccessorDefImpl, AdapterDataControlDef, AMViewUsage, ApplicationModuleDefImpl, AppModuleUsage, AssociationDefBase, AssociationDefImpl, AssociationEnd, AttributeDefImpl, AttributeDefOverAttr, BoundParameters, CmrAccessorDefImpl, DBSortCriteriaCollection, DBSortCriteriaImpl, DCBindingContainerDef, DCBindingContainerReference, DCConfigurationDef, DCControlBindingDef, DCDataControlConfigDef, DCDataControlDef, DCDataViewDef, DCDefBase, DCExecutableBindingDef, DCInvokeActionDef, DCIteratorBindingDef, DCLayoutConsDef, DCLayoutDef, DCParameterDef, DCParameterSetDef, DCPermissionDef, DCRegionControllerDef, DCVariableImpl, DCVCSubstAttrDef, DeclarativeWhereClause, DomainDefImpl, EntityAssociation, EntityDefImpl, EntityDefOverRowSet, GenericResourceBundleDef, JboAbstractValidator, JboCollectionValidator, JboCompareValidator, JboCompOper, JboEOExistsValidator, JboExistsValidator, JboExprCollectionValidator, JboExprCompareValidator, JboExpressionValidator, JboLengthValidator, JboListValidator, JboMandatoryAttributesValidator, JboMandatoryAttrValHelper, JboMethodValidator, JboNamedData, JboNonNullValidator, JboPrecisionScaleValidator, JboRangeValidator, JboRegExpValidator, JboRequiredValidator, JboSQLCollectionValidator, JboSQLCompareValidator, JboSQLListValidator, JboUniqueKeyValidator, JboValidationBean, JboVCItemRequiredValidator, JboVOCollectionValidator, JboVOCompareValidator, JboVOExistsValidator, JboVOListValidator, JboVOUsageCollectionValidator, JboVOUsageCompareValidator, JboVOUsageExistsValidator, JboVOUsageListValidator, JUAccessorIteratorDef, JUActionDef, JUBoundedRangeDef, JUButtonDef, JUButtonGroupDef, JUComboBoxDef, JUComboBoxLovEditDef, JUControlDef, JUCtrlActionDef, JUCtrlAttrsDef, JUCtrlBoolDef, JUCtrlHGridDef, JUCtrlHierDef, JUCtrlHierTypeBinding, JUCtrlListDef, JUCtrlParameterDef, JUCtrlRangeDef, JUCtrlScrollDef, JUCtrlValueDef, JUDataControlDefImpl, JUDefaultControlDef, JUEventBindingDef, JUFormatEditorPropDef, JUFormattedTextFieldDef, JUFormattedTextFieldDef.DateFormatDef, JUFormattedTextFieldDef.MaskFormatDef, JUFormattedTextFieldDef.NumberFormatDef, JUFormattedTextFieldDef.RegExpFormatDef, JUFormDef, JUIteratorDef, JUIterRangeDef, JUIterRowDef, JULabelDef, JULayoutConsDef, JULayoutConsDefXY, JULayoutConsDefXYGroup, JULayoutDef, JULayoutDefXY, JUListSingleSelDef, JULovButtonDef, JULOVEditorPropDef, JUMethodIteratorDef, JUPanelDef, JUProgressBarAttrDef, JUProgressBarDef, JUScrollBarAttrDef, JUScrollBarDef, JUShuttlePanelDef, JUShuttlePanelDef.JUShuttlePanelButtonDef, JUSliderAttrDef, JUSliderDef, JUSpinnerDef, JUSpinnerDef.SpinnerDateModelDef, JUSpinnerDef.SpinnerNumberModelDef, JUTableDef, JUTableDef.JUEditorPropDef, JUTableDef.JURegionDef, JUTableDef.JUTableAttrPropDef, JUTextFieldDef, JUTreeAccessorTypeBinding, JUTreeDef, JUTreeDiscrAttrTypeBinding, JUTreeTableDef, JUVariableIteratorDef, KeyDef, ListBindingDef, ListBindingDefImpl, LOVAppModuleDefImpl, MessageBundleDef, MetaObject, MethodAccessorDefImpl, MethodAccessorDefImpl.ParameterInfoImpl, PDefApplicationModule, PDefAttribute, PDefComponentObjectBase, PDefEntityObject, PDefRow, PDefVariable, PDefViewCriteria, PDefViewObject, PersDefBase, PersistableDefObject, PropertiesBundleDef, RowDef, StructureDefImpl, VariableImpl, ViewAccessorDef, ViewAttributeDefImpl, ViewCriteriaImpl, ViewCriteriaItemCompoundImpl, ViewCriteriaItemImpl, ViewCriteriaRowImpl, ViewDefImpl, ViewKeyDef, ViewLinkDefImpl, ViewLinkUsage, XliffResourceBundleDef

public interface DefPersistable
extends PersistentDefinition

 NAME
      DefPersistable .java -
 DESCRIPTION

 NOTES

 VERSION
 MODIFIED   (MM/DD/YY)
      draju     02/20/98 -  Created the interface.
      draju     03/26/98 - Added Structured Storage related stuff
 


Field Summary
static int XML_STATEMENT
          The following are the Statement types
 
Method Summary
 java.lang.String getFullName()
          This method returns the Persistence reference of the object.
 DefPersistable getOrigObject()
           
 boolean isDirty()
          This method returns if an Object is modified from last save/load
 boolean isNew()
          This method returns if this object is previously persisted.
 void setDirty(boolean isDirty)
          This method marks the Object dirty
 void setNew(boolean isNew)
          This method marks the as previously persisted.
 void setOrigObject(DefPersistable oldObj)
           
 
Methods inherited from interface oracle.jbo.mom.xml.PersistentDefinition
getDefXMLElementTag, getDefXMLNameSpace, getXMLElementTag, writeChildren, writeContents, writeObject
 

Field Detail

XML_STATEMENT

static final int XML_STATEMENT
The following are the Statement types

See Also:
Constant Field Values
Method Detail

isDirty

boolean isDirty()
This method returns if an Object is modified from last save/load

Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

void setDirty(boolean isDirty)
This method marks the Object dirty

Parameters:
isDirty - If true the Object is marked Dirty.

isNew

boolean isNew()
This method returns if this object is previously persisted.

Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

void setNew(boolean isNew)
This method marks the as previously persisted. By default all objects are new objects. When the object is persisted first time, that object is marked as 'not new' object

Parameters:
isNew - If true the Object is marked as new object.

getFullName

java.lang.String getFullName()
This method returns the Persistence reference of the object. The Persistence Reference is uniquely identifiable fully qualified name of the object.

Returns:
the Persistence Reference of the object

getOrigObject

DefPersistable getOrigObject()

setOrigObject

void setOrigObject(DefPersistable oldObj)

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.