|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaId
public class TopiaId
TODO-fdesbois-20100508 : Need translation of javadoc. Classe representant un Id, utilisable par JDO. Cette classe contient aussi un ensemble de methode static utile pour la manipulation des topiaId
| Field Summary | |
|---|---|
String |
topiaId
|
| Constructor Summary | |
|---|---|
TopiaId()
|
|
TopiaId(String topiaId)
|
|
| Method Summary | |
|---|---|
static String |
create(Class clazz)
Cree un topiaId pour une certaine classe |
boolean |
equals(Object o)
|
static Class |
getClassName(String topiaId)
Extrait la classe du topiaId. |
static String |
getClassNameAsString(String topiaId)
Return class name id topiaId is id, and empty string if topiaId is not an id. |
int |
hashCode()
|
static boolean |
isValidId(String topiaId)
Verifie si l'id passé en paramètre est bien un Id topia, c-a-d si la forme est bien classname#timemillis#random et si le classname est celui d'une classe valide, c-a-d que le systeme arrive a trouver. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String topiaId
| Constructor Detail |
|---|
public TopiaId()
public TopiaId(String topiaId)
| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Objectpublic static String create(Class clazz)
clazz -
public static Class getClassName(String topiaId)
throws TopiaNotFoundException
topiaId -
TopiaNotFoundExceptionpublic static String getClassNameAsString(String topiaId)
topiaId -
public static boolean isValidId(String topiaId)
topiaId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||