org.isam.exehda.services.ox
Class InvalidOXHandle

java.lang.Object
  |
  +--org.isam.exehda.services.ox.OXHandle
        |
        +--org.isam.exehda.services.ox.InvalidOXHandle
All Implemented Interfaces:
java.io.Serializable

public class InvalidOXHandle
extends OXHandle

Author:
frainer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.isam.exehda.services.ox.OXHandle
attributes, code, oid, owner
 
Constructor Summary
InvalidOXHandle()
          Creates a new instance of InvalidOXHandle
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attr)
          Retrieves the value of the given attribute
 ObjectId getId()
          Returns the id of the OX which is handled by this OXHandle
 HostId getOwner()
          Recuperates and returns the host in which the OXHandle currently resides.
 void setAttribute(java.lang.String attr, java.lang.Object val)
          Sets the value of the given attribute
 
Methods inherited from class org.isam.exehda.services.ox.OXHandle
getOwnershipCode, setOwner, setOwnershipCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvalidOXHandle

public InvalidOXHandle()
Creates a new instance of InvalidOXHandle

Method Detail

getId

public ObjectId getId()
Returns the id of the OX which is handled by this OXHandle

Overrides:
getId in class OXHandle
Returns:
the id of the ox

getOwner

public HostId getOwner()
Recuperates and returns the host in which the OXHandle currently resides.

Overrides:
getOwner in class OXHandle
Returns:
a HostId

getAttribute

public java.lang.Object getAttribute(java.lang.String attr)
Retrieves the value of the given attribute

Overrides:
getAttribute in class OXHandle
Parameters:
attr - a String indicating the attribute
Returns:
the value of the given attribute

setAttribute

public void setAttribute(java.lang.String attr,
                         java.lang.Object val)
Sets the value of the given attribute

Overrides:
setAttribute in class OXHandle
Parameters:
attr - the attribute to be modified
val - the new value for the attribute
Returns:
void