org.jboss.test.cmp2.lob
Interface LOB

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface LOB
extends EJBObject (src)

Renote interface for a LOBBean.

See Also:
EJBObject (src)

Method Summary
 java.lang.String getBigString()
          Returns the large string attribute.
 byte[] getBinaryData()
          Returns the content of the large binary object.
 ValueHolder (src) getCleanGetValueHolder()
           
 java.lang.Integer getId()
          Returns the primary key
 java.util.List getListField()
           
 java.util.Map getMapField()
           
 java.util.Set getSetField()
           
 ValueHolder (src) getStateFactoryValueHolder()
           
 ValueHolder (src) getValueHolder()
           
 void setBigString(java.lang.String s)
          Sets the value of the large string attribute.
 void setBinaryData(byte[] data)
          Sets the content of the large binary object.
 void setCleanGetValueHolder(ValueHolder (src)  valueHolder)
           
 void setId(java.lang.Integer id)
          Sets the primary key.
 void setListField(java.util.List list)
           
 void setMapField(java.util.Map map)
           
 void setSetField(java.util.Set set)
           
 void setStateFactoryValueHolder(ValueHolder (src)  valueHolder)
           
 void setValueHolder(ValueHolder (src)  valueHolder)
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getId

public java.lang.Integer getId()
                        throws java.rmi.RemoteException
Returns the primary key

Returns:
Integer
Throws:
java.rmi.RemoteException

setId

public void setId(java.lang.Integer id)
           throws java.rmi.RemoteException
Sets the primary key.

Parameters:
id -
Throws:
java.rmi.RemoteException

getBigString

public java.lang.String getBigString()
                              throws java.rmi.RemoteException
Returns the large string attribute.

Returns:
String
Throws:
java.rmi.RemoteException

setBigString

public void setBigString(java.lang.String s)
                  throws java.rmi.RemoteException
Sets the value of the large string attribute. The idea here is to store it in a CLOB object in associated database table so that we can check the container's LOB functionality properly.

Parameters:
s -
Throws:
java.rmi.RemoteException

getBinaryData

public byte[] getBinaryData()
                     throws java.rmi.RemoteException
Returns the content of the large binary object.

Returns:
byte[]
Throws:
java.rmi.RemoteException

setBinaryData

public void setBinaryData(byte[] data)
                   throws java.rmi.RemoteException
Sets the content of the large binary object. The idea here is to store it in a BLOB objects in the associated database table so that we check the container's LOB functionality properly.

Parameters:
data -
Throws:
java.rmi.RemoteException

getMapField

public java.util.Map getMapField()
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMapField

public void setMapField(java.util.Map map)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getListField

public java.util.List getListField()
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setListField

public void setListField(java.util.List list)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSetField

public java.util.Set getSetField()
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setSetField

public void setSetField(java.util.Set set)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getValueHolder

public ValueHolder (src)  getValueHolder()
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setValueHolder

public void setValueHolder(ValueHolder (src)  valueHolder)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCleanGetValueHolder

public ValueHolder (src)  getCleanGetValueHolder()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setCleanGetValueHolder

public void setCleanGetValueHolder(ValueHolder (src)  valueHolder)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getStateFactoryValueHolder

public ValueHolder (src)  getStateFactoryValueHolder()
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setStateFactoryValueHolder

public void setStateFactoryValueHolder(ValueHolder (src)  valueHolder)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException