|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSOMA.naming.PlaceID
Identificatore di un place
.
Field Summary | |
java.lang.String |
domain
Dominio di appartenenza. |
java.lang.String |
place
Nome del place, unico nell'ambito dello stesso dominio. |
Constructor Summary | |
PlaceID(java.lang.String s)
Costruisce un identificatore a partire da una stringa. |
|
PlaceID(java.lang.String domain,
java.lang.String place)
Costruisce un identificatore a partire dalle sue componenti. |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
PlaceID |
getDomainID()
Restituisce l'identificatore del default place dello stesso dominio. |
PlaceID |
getHome()
Restituisce il PlaceID stesso. |
int |
hashCode()
|
boolean |
isDomain()
Restituisce true se l'identificatore rappresenta un default place.
|
boolean |
sameDomain(PlaceID other)
Restituisce true se other e' un place dello stesso dominio. |
java.lang.String |
toString()
Rappresentazione dell'identificatore sotto forma di stringa. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final java.lang.String domain
public final java.lang.String place
Constructor Detail |
public PlaceID(java.lang.String domain, java.lang.String place)
public PlaceID(java.lang.String s) throws NameException
toString()
.
Method Detail |
public boolean isDomain()
true
se l'identificatore rappresenta un default place.
place
uguale a "".
In altre parole viene specificato solo il dominio.
public boolean sameDomain(PlaceID other)
true
se other
e' un place dello stesso dominio.
public PlaceID getDomainID()
isDomain()
public PlaceID getHome()
MobilePlaceID
public java.lang.String toString()
PlaceID(String s)
.
public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |