arlut.csd.ganymede
Class ObjectHandle

java.lang.Object
  |
  +--arlut.csd.ganymede.ObjectHandle
All Implemented Interfaces:
java.lang.Cloneable

public class ObjectHandle
extends java.lang.Object
implements java.lang.Cloneable

This class is used to group information about objects. It is used in the QueryResult class to keep things organized, and on the client to keep track of the status of objects on the server.


Field Summary
(package private)  boolean editable
           
(package private)  boolean expirationSet
           
(package private)  boolean inactive
           
(package private)  arlut.csd.ganymede.Invid invid
           
(package private)  java.lang.String label
           
(package private)  arlut.csd.JDataComponent.listHandle lHandle
           
(package private)  boolean removalSet
           
 
Constructor Summary
ObjectHandle(java.lang.String label, arlut.csd.ganymede.Invid invid, boolean inactive, boolean expirationSet, boolean removalSet, boolean editable)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String debugDump()
           
 arlut.csd.ganymede.Invid getInvid()
           
 java.lang.String getLabel()
           
 arlut.csd.JDataComponent.listHandle getListHandle()
          Various GUI components use listHandles.
 boolean isEditable()
           
 boolean isExpirationSet()
           
 boolean isInactive()
           
 boolean isRemovalSet()
           
 void setEditable(boolean editable)
           
 void setExpirationSet(boolean expirationSet)
           
 void setInactive(boolean isInactive)
           
 void setLabel(java.lang.String label)
           
 void setRemovalSet(boolean removalSet)
           
 java.lang.String toString()
          toString() is not finalized, in case we get wacky with subclassing.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

java.lang.String label

invid

arlut.csd.ganymede.Invid invid

editable

boolean editable

inactive

boolean inactive

expirationSet

boolean expirationSet

removalSet

boolean removalSet

lHandle

arlut.csd.JDataComponent.listHandle lHandle
Constructor Detail

ObjectHandle

public ObjectHandle(java.lang.String label,
                    arlut.csd.ganymede.Invid invid,
                    boolean inactive,
                    boolean expirationSet,
                    boolean removalSet,
                    boolean editable)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getLabel

public final java.lang.String getLabel()

setLabel

public final void setLabel(java.lang.String label)

getInvid

public final arlut.csd.ganymede.Invid getInvid()

getListHandle

public final arlut.csd.JDataComponent.listHandle getListHandle()
Various GUI components use listHandles.


isInactive

public final boolean isInactive()

isExpirationSet

public final boolean isExpirationSet()

isRemovalSet

public final boolean isRemovalSet()

isEditable

public final boolean isEditable()

setEditable

public final void setEditable(boolean editable)

setExpirationSet

public void setExpirationSet(boolean expirationSet)

setInactive

public void setInactive(boolean isInactive)

setRemovalSet

public void setRemovalSet(boolean removalSet)

toString

public java.lang.String toString()
toString() is not finalized, in case we get wacky with subclassing.

Overrides:
toString in class java.lang.Object

debugDump

public java.lang.String debugDump()