public class TopiaId extends Object implements Serializable
TopiaIds
.Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<TopiaEntity,String> |
GET_TOPIA_ID
Function to obtain
TopiaEntity.getTopiaId() from any entity. |
String |
topiaId |
Modifier and Type | Method and Description |
---|---|
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() |
public static final com.google.common.base.Function<TopiaEntity,String> GET_TOPIA_ID
TopiaEntity.getTopiaId()
from any entity.public String topiaId
public TopiaId()
public TopiaId(String topiaId)
public static String create(Class clazz)
clazz
- public static Class getClassName(String topiaId) throws TopiaNotFoundException
topiaId
- TopiaNotFoundException
public static String getClassNameAsString(String topiaId)
topiaId
- public static boolean isValidId(String topiaId)
topiaId
- Copyright © 2004–2022 Code Lutin. All rights reserved.