|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fulmine.Addressable
public class Addressable
Basic implementation of an IAddressable
object
Constructor Summary | |
---|---|
Addressable(IAddressable id)
Standard clone constructor |
|
Addressable(String identity,
IType type,
IDomain domain)
Standard constructor |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAddress()
Get the unique address for this. |
IDomain |
getDomain()
Get the domain attribute of this object. |
String |
getIdentity()
Get the identification string for this entity. |
IType |
getType()
Get the type attribute of this object. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Addressable(IAddressable id)
id
- the addressable instance to clone frompublic Addressable(String identity, IType type, IDomain domain)
identity
- the identitytype
- the typedomain
- the domainMethod Detail |
---|
public final IType getType()
IAddressable
getType
in interface IAddressable
IAddressable.getDomain()
public final IDomain getDomain()
IAddressable
getDomain
in interface IAddressable
IAddressable.getType()
public final String getIdentity()
IAddressable
getIdentity
in interface IAddressable
String
identity providing an identification for this
entity within its type and domain.IAddressable.getType()
,
IAddressable.getDomain()
public final String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String getAddress()
IAddressable
getAddress
in interface IAddressable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |