com.opensymphony.module.propertyset.ejb.types
Interface PropertyData
- All Superinterfaces:
- javax.ejb.EJBObject, java.rmi.Remote
- public interface PropertyData
- extends javax.ejb.EJBObject
Remote interface for os.PropertyData.
- Version:
- XDOCLET 1.1.1 * @xdoclet-generated at Mar 6, 2002 11:07:32 AM
- Author:
- XDOCLET 1.1.1
Method Summary |
java.lang.Long |
getId()
|
java.io.Serializable |
getValue(int type)
Create appropriate wrapper object around value (String, Object, Document, Data, Properties). |
void |
setValue(int type,
java.io.Serializable value)
Set the value. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
getId
public java.lang.Long getId()
throws java.rmi.RemoteException
getValue
public java.io.Serializable getValue(int type)
throws java.rmi.RemoteException
- Create appropriate wrapper object around value (String, Object, Document, Data, Properties).
setValue
public void setValue(int type,
java.io.Serializable value)
throws java.rmi.RemoteException
- Set the value. Depending on the type, different casting serializing will occur.
For TEXT, value must be java.lang.String.
For OBJECT, value must be Serializable object.
For XML, value must be org.w3c.dom.Document.
For DATA, value must be com.opensymphony.util.Data
For PROPERTIES, value must be java.util.Properties