Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo.mom.xml
Interface PersistentDefinition

All Known Subinterfaces:
DefPersistable, JboValidatorHints
All Known Implementing Classes:
AccessorDefImpl, AdapterDataControlDef, AMServiceViewUsage, AMViewUsage, ApplicationModuleDefImpl, AppModuleUsage, AssociationDefBase, AssociationDefImpl, AssociationEnd, AssociationReference, AttributeDefImpl, AttributeDefOverAttr, BoundParameters, CmrAccessorDefImpl, ComponentOperations, DBSortCriteriaCollection, DBSortCriteriaImpl, DCBindingContainerDef, DCBindingContainerReference, DCConfigurationDef, DCControlBindingDef, DCCriteriaBaseViewDef, DCCriteriaItemViewDef, DCCriteriaOperatorViewDef, DCCriteriaRowViewDef, DCCriteriaValueViewDef, DCCriteriaViewDef, DCDataControlConfigDef, DCDataControlDef, DCDataViewDef, DCDefBase, DCExecutableBindingDef, DCInvokeActionDef, DCIteratorBindingDef, DCLayoutConsDef, DCLayoutDef, DCParameterDef, DCParameterSetDef, DCPermissionDef, DCRegionControllerDef, DCVariableImpl, DCVCSubstAttrDef, DeclarativeWhereClause, DefObject, DomainDefImpl, EntityAssociation, EntityDefImpl, EntityDefOverRowSet, EntityReference, EventDef, EventHeader, EventHeaderAttr, EventMapping, EventPayload, 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, OperationDefinitionImpl, OperationDefinitionsImpl, OperationParamImpl, PayloadItem, PDefApplicationModule, PDefAttribute, PDefCategory, PDefComponentObjectBase, PDefComponentOperations, PDefEntityObject, PDefRow, PDefVariable, PDefViewCriteria, PDefViewObject, PermissionDefImpl, PersDefBase, PersistableDefObject, PropertiesBundleDef, RaiseCondition, RowDef, RowReference, StructureDefImpl, VariableImpl, ViewAccessorDef, ViewAttributeDefImpl, ViewCriteriaImpl, ViewCriteriaItemCompoundImpl, ViewCriteriaItemImpl, ViewCriteriaItemValueImpl, ViewCriteriaRowImpl, ViewCriteriaUsageImpl, ViewDefImpl, ViewKeyDef, ViewLinkDefImpl, ViewLinkUsage, ViewReference, XliffResourceBundleDef

public interface PersistentDefinition


Method Summary
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
 java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 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
 void writeObject(DefWriter jos)
          Objects should write their persistence output in this method
 

Method Detail

writeObject

void writeObject(DefWriter jos)
                 throws DefPersistenceException
Objects should write their persistence output in this method

Parameters:
jos - the Output storage for persistence
Throws:
DefPersistenceException

writeContents

void writeContents(DefWriter jos)
                   throws DefPersistenceException
Objects should write their persistence output in this method

Parameters:
jos - the Output storage for persistence
Throws:
java.lang.Error - in writing the Object's contents to Persistent Storage
DefPersistenceException

writeChildren

void writeChildren(DefWriter jos)
                   throws DefPersistenceException
Writes the Object's children to the Persistent storage

Parameters:
jos - the Output storage for persistence
Throws:
java.lang.Error - in writing the Object's Children to the storage
DefPersistenceException

getXMLElementTag

java.lang.String getXMLElementTag()
Returns a piece of static info for the type of object this is invoked upon. Examples are PreparedStatements for insert, update, delete, and String containing a base the select statement for retrieving instances of this type through the SQLInputStream

Returns:
returns the Statement required to store in Persitent Storage. Incase of XML, it just returns the String. In the case of SQL a JDBC PreparedStatement is returned.

getDefXMLElementTag

java.lang.String getDefXMLElementTag()

getDefXMLNameSpace

java.lang.String getDefXMLNameSpace()

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

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