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

E10653-01

oracle.jbo.mom.xml
Interface DefPersistable

All Superinterfaces:
PersistentDefinition
All Known Subinterfaces:
JboValidatorHints
All Known Implementing Classes:
AccessorDefImpl, AdapterDataControlDef, AMViewUsage, ApplicationModuleDefImpl, AssociationDefBase, AssociationDefImpl, AssociationEnd, AttributeDefImpl, AttributeDefOverAttr, BoundParameters, CmrAccessorDefImpl, DBSortCriteriaCollection, DBSortCriteriaImpl, DCBindingContainerDef, DCBindingContainerReference, DCConfigurationDef, DCControlBindingDef, DCDataControlConfigDef, DCDataControlDef, DCDefBase, DCExecutableBindingDef, DCInvokeActionDef, DCIteratorBindingDef, DCLayoutConsDef, DCLayoutDef, DCParameterDef, DCParameterSetDef, DCPermissionDef, DCRegionControllerDef, DCVariableImpl, DCVCSubstAttrDef, DeclarativeWhereClause, DomainDefImpl, EntityAssociation, EntityDefImpl, EntityDefOverRowSet, GenericResourceBundleDef, JboAbstractValidator, JboCollectionValidator, JboCompareValidator, JboEOExistsValidator, JboExistsValidator, JboExprCollectionValidator, JboExprCompareValidator, JboExpressionValidator, JboLengthValidator, JboListValidator, JboMandatoryAttributesValidator, JboMandatoryAttrValHelper, JboMethodValidator, JboNamedData, JboNonNullValidator, JboPrecisionScaleValidator, JboRangeValidator, JboRegExpValidator, JboRequiredValidator, JboSQLCollectionValidator, JboSQLCompareValidator, JboSQLListValidator, JboValidationBean, JboVCItemRequiredValidator, JboVOCollectionValidator, JboVOCompareValidator, JboVOExistsValidator, JboVOListValidator, JboVOUsageCollectionValidator, JboVOUsageCompareValidator, JboVOUsageExistsValidator, JboVOUsageListValidator, JUAccessorIteratorDef, JUActionDef, JUBoundedRangeDef, JUButtonDef, JUButtonGroupDef, JUComboBoxDef, 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, ListBindingDef, LOVAppModuleDefImpl, MessageBundleDef, 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, 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.
 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.
 
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

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

E10653-01

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