|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.isam.exehda.services.ox.OXHandle
Field Summary | |
(package private) java.util.Hashtable |
attributes
|
(package private) java.lang.String |
code
|
(package private) ObjectId |
oid
|
(package private) HostId |
owner
|
Constructor Summary | |
OXHandle(ObjectId oid)
Creates a new instance of OXHandle |
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. |
java.lang.String |
getOwnershipCode()
Retrieves de ownership code |
void |
setAttribute(java.lang.String attr,
java.lang.Object val)
Sets the value of the given attribute |
void |
setOwner(HostId owner)
Sets the value of host that currently "owns" the OX to be called only by the OXManager |
void |
setOwnershipCode(java.lang.String code)
Sets the value of the ownership code |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
ObjectId oid
java.util.Hashtable attributes
java.lang.String code
HostId owner
Constructor Detail |
public OXHandle(ObjectId oid)
Method Detail |
public ObjectId getId()
public java.lang.Object getAttribute(java.lang.String attr)
attr
- a String indicating the attribute
public void setAttribute(java.lang.String attr, java.lang.Object val)
attr
- the attribute to be modifiedval
- the new value for the attribute
public void setOwnershipCode(java.lang.String code)
code
- the new value for the ownership code
public java.lang.String getOwnershipCode()
public HostId getOwner()
public void setOwner(HostId owner)
owner
- a HostId
for the new owner value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |