Skip navigation links

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

E17483-04


oracle.jbo.server
Class OperationParamImpl

java.lang.Object
  extended by oracle.jbo.server.OperationParamImpl

All Implemented Interfaces:
java.io.Serializable, DefPersistable, PersistentDefinition

public class OperationParamImpl
extends java.lang.Object
implements java.io.Serializable, DefPersistable
See Also:
Serialized Form

Field Summary

 

Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT

 

Constructor Summary
OperationParamImpl()
           
OperationParamImpl(java.lang.String name, java.lang.String type)
           

 

Method Summary
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
 java.lang.String getFullName()
          This method returns the Persistence reference of the object.
 java.lang.Class getJavaType()
           
 java.lang.String getName()
           
 DefPersistable getOrigObject()
           
 java.lang.String getParamType()
           
 java.lang.String getSignature()
           
 java.lang.String getType()
           
 java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 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.
static OperationParamImpl loadFromXML(DefElement xmlElement)
           
 void loadXMLContents(DefElement xmlElement)
           
 void setDirty(boolean dirty)
          This method marks the Object dirty
 void setName(java.lang.String name)
           
 void setNew(boolean newness)
          This method marks the as previously persisted.
 void setOrigObject(DefPersistable oldObj)
           
 void setParamType(java.lang.String typ)
           
 void setType(java.lang.String typ)
           
 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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

OperationParamImpl

public OperationParamImpl()

OperationParamImpl

public OperationParamImpl(java.lang.String name,
                          java.lang.String type)

Method Detail

loadFromXML

public static OperationParamImpl loadFromXML(DefElement xmlElement)

isDirty

public boolean isDirty()
Description copied from interface: DefPersistable
This method returns if an Object is modified from last save/load
Specified by:
isDirty in interface DefPersistable
Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

public void setDirty(boolean dirty)
Description copied from interface: DefPersistable
This method marks the Object dirty
Specified by:
setDirty in interface DefPersistable
Parameters:
dirty - If true the Object is marked Dirty.

isNew

public boolean isNew()
Description copied from interface: DefPersistable
This method returns if this object is previously persisted.
Specified by:
isNew in interface DefPersistable
Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

public void setNew(boolean newness)
Description copied from interface: DefPersistable
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
Specified by:
setNew in interface DefPersistable
Parameters:
newness - If true the Object is marked as new object.

getDefXMLElementTag

public java.lang.String getDefXMLElementTag()
Specified by:
getDefXMLElementTag in interface PersistentDefinition

getXMLElementTag

public java.lang.String getXMLElementTag()
Description copied from interface: PersistentDefinition
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
Specified by:
getXMLElementTag in interface PersistentDefinition
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.

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Specified by:
getDefXMLNameSpace in interface PersistentDefinition

getOrigObject

public DefPersistable getOrigObject()
Specified by:
getOrigObject in interface DefPersistable

setOrigObject

public void setOrigObject(DefPersistable oldObj)
Specified by:
setOrigObject in interface DefPersistable

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getFullName

public java.lang.String getFullName()
Description copied from interface: DefPersistable
This method returns the Persistence reference of the object. The Persistence Reference is uniquely identifiable fully qualified name of the object.
Specified by:
getFullName in interface DefPersistable
Returns:
the Persistence Reference of the object

getJavaType

public java.lang.Class getJavaType()

getType

public java.lang.String getType()

setType

public void setType(java.lang.String typ)

getSignature

public java.lang.String getSignature()

getParamType

public java.lang.String getParamType()

setParamType

public void setParamType(java.lang.String typ)

writeObject

public void writeObject(DefWriter jos)
Description copied from interface: PersistentDefinition
Objects should write their persistence output in this method
Specified by:
writeObject in interface PersistentDefinition
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
Parameters:
jos - the Output storage for persistence

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
Parameters:
jos - the Output storage for persistence

loadXMLContents

public void loadXMLContents(DefElement xmlElement)

Skip navigation links

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

E17483-04


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