com.opensymphony.module.propertyset.ejb.types
Interface PropertyDataLocal

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface PropertyDataLocal
extends javax.ejb.EJBLocalObject

Local interface for PropertyData.

Version:
$Revision: 1.2 $
Author:
Hani Suleiman, Joe Walnes

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.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getId

public java.lang.Long getId()

setValue

public void setValue(int type,
                     java.io.Serializable value)
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


getValue

public java.io.Serializable getValue(int type)
Create appropriate wrapper object around value (String, Object, Document, Data, Properties).


See www.opensymphony.com for more information.

Copyright 2000-2005 - OpenSymphony