com.submersion.jspshop.ejb
Interface Object

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface Object
extends javax.ejb.EJBObject

Remote interface for the Object entity bean.

Version:
$Revision$ Date Created: August 22, 2001 Last changed: $Date$ Changed by: $Author$
Author:
Jeff Davey (jeffdavey@submersion.com)
See Also:
ObjectHome, ObjectBean

Method Summary
 java.lang.String getClassName()
          Returns the Class primary key that the object belongs to
 java.lang.String getContext()
          Returns a sort key that contains the context of this object.
 java.lang.String getName()
          Returns the name of the Object
 java.lang.Long getObjectID()
          Returns the primary key for this Object.
 java.lang.Long getParentID()
          Returns the primary key of the Parent Object
 void setClassName(java.lang.String className)
          Sets the Class Primary Key that the Object belongs to.
 void setContext(java.lang.String context)
          Changes the sort key for the context.
 void setName(java.lang.String name)
          Changes the name of the object
 void setParentID(java.lang.Long parentID)
          Changes the parent Object for this Object.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getObjectID

public java.lang.Long getObjectID()
                           throws java.rmi.RemoteException
Returns the primary key for this Object.
Throws:
java.rmi.RemoteException -  

getContext

public java.lang.String getContext()
                            throws java.rmi.RemoteException
Returns a sort key that contains the context of this object.
Throws:
java.rmi.RemoteException -  

setContext

public void setContext(java.lang.String context)
                throws java.rmi.RemoteException
Changes the sort key for the context. Should only be used at creation time, or moves within the tree.
Parameters:
context -  
Throws:
java.rmi.RemoteException -  

getParentID

public java.lang.Long getParentID()
                           throws java.rmi.RemoteException
Returns the primary key of the Parent Object
Throws:
java.rmi.RemoteException -  

setParentID

public void setParentID(java.lang.Long parentID)
                 throws java.rmi.RemoteException
Changes the parent Object for this Object. Should only be used during creation or when moving the object in the Tree.
Parameters:
parentID -  
Throws:
java.rmi.RemoteException -  

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException
Returns the name of the Object
Throws:
java.rmi.RemoteException -  

setName

public void setName(java.lang.String name)
             throws java.rmi.RemoteException
Changes the name of the object
Parameters:
name -  
Throws:
java.rmi.RemoteException -  

getClassName

public java.lang.String getClassName()
                              throws java.rmi.RemoteException
Returns the Class primary key that the object belongs to
Throws:
java.rmi.RemoteException -  

setClassName

public void setClassName(java.lang.String className)
                  throws java.rmi.RemoteException
Sets the Class Primary Key that the Object belongs to. Should only be done during Creation.
Parameters:
className -  
Throws:
java.rmi.RemoteException -