Package org.molgenis.data.security
Class EntityIdentityUtils
- java.lang.Object
-
- org.molgenis.data.security.EntityIdentityUtils
-
public class EntityIdentityUtils extends Object
- See Also:
EntityIdentity
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_PREFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>toIdType(EntityType entityType)Returns the domain object identifier type (e.g.static StringtoType(String entityTypeId)Returns the domain object type for the given entity type identifier.static StringtoType(EntityType entityType)Returns the domain object type for the given entity type.
-
-
-
Field Detail
-
TYPE_PREFIX
public static final String TYPE_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
toType
public static String toType(EntityType entityType)
Returns the domain object type for the given entity type.
-
toType
public static String toType(String entityTypeId)
Returns the domain object type for the given entity type identifier.
-
toIdType
public static Class<?> toIdType(EntityType entityType)
Returns the domain object identifier type (e.g. String or Long) for the given entity type.
-
-