|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnenok.net.Locator
public class Locator
The location of a (remote) Valuation
object can unambiguously be determined by
the identifier of the processor hosting the valuation and the identifier of the valuation's
envelope. Locators are objects that carries these informations in order to localize valuation
objects at a later time. Furthermore, they manage the following additional informations:
v.getClass().getName()
) for the valuation object it references. Using this information,
knowledgebases can identify the valuation types.
Nested Class Summary | |
---|---|
class |
Locator.Predictable
Extension for weight predictable valuation objects. |
Field Summary | |
---|---|
protected Uuid |
pid
|
Constructor Summary | |
---|---|
protected |
Locator()
Constructor: |
Method Summary | |
---|---|
static Locator |
create(Uuid pid,
Envelope env)
Creator: |
void |
delete()
Deletes the valuation that is referenced by this locator. |
boolean |
equals(Object o)
Two locators are equal, if they point to the same object. |
Uuid |
getEnvelopeID()
|
Uuid |
getPID()
|
String |
getType()
|
int |
getWeight()
|
int |
hashCode()
|
Domain |
label()
|
Valuation |
retrieve()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Uuid pid
Constructor Detail |
---|
protected Locator()
Method Detail |
---|
public static Locator create(Uuid pid, Envelope env)
pid
- The identifier of the processor hosting the valuation.env
- The wrapper envelope of the valuation.
public Valuation retrieve() throws RemoteException
RemoteException
- Exception caused when trying to access processors.public void delete() throws RemoteException
RemoteException
- Exception caused when trying to access processors.public Domain label()
label
in interface Labeled
public int getWeight()
public String getType()
public Uuid getPID()
public Uuid getEnvelopeID()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |