nenok.net
Class IdentityLocator
java.lang.Object
nenok.net.Locator
nenok.net.IdentityLocator
- All Implemented Interfaces:
- Serializable, Labeled
public final class IdentityLocator
- extends Locator
Identity locators for node initialization.
- Version:
- $LastChangedRevision: 556 $
$LastChangedDate: 2008-03-26 14:21:45 +0100 (Mi, 26 Mrz 2008) $
- Author:
- Marc Pouly
- See Also:
- Serialized Form
IdentityLocator
public IdentityLocator()
- Constructor:
retrieve
public Valuation retrieve()
throws RemoteException
- Overrides:
retrieve
in class Locator
- Returns:
- Retrieves the referenced valuation from the processor.
- Throws:
RemoteException
- Exception caused when trying to access processors.- See Also:
Locator.retrieve()
delete
public void delete()
throws RemoteException
- Description copied from class:
Locator
- Deletes the valuation that is referenced by this locator.
- Overrides:
delete
in class Locator
- Throws:
RemoteException
- Exception caused when trying to access processors.- See Also:
Locator.delete()
label
public Domain label()
- Specified by:
label
in interface Labeled
- Overrides:
label
in class Locator
- Returns:
- The domain of the referenced valuation.
- See Also:
Locator.label()
getWeight
public int getWeight()
- Overrides:
getWeight
in class Locator
- Returns:
- The weight of the referenced valuation.
- See Also:
Locator.getWeight()
getType
public String getType()
- Overrides:
getType
in class Locator
- Returns:
- The type (class name) of the referenced valuation.
- See Also:
Locator.getType()
toString
public String toString()
- Overrides:
toString
in class Locator
- See Also:
Locator.toString()
setPID
public void setPID(Uuid pid)
- Sets the processor of this identity locator.
- Parameters:
pid
- The processor's identifier to set.
equals
public boolean equals(Object o)
- Description copied from class:
Locator
- Two locators are equal, if they point to the same object.
- Overrides:
equals
in class Locator
- See Also:
Locator.equals(java.lang.Object)