public final class EntityType extends java.lang.Object implements java.lang.Comparable<EntityType>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EntityType rhs) |
boolean |
equals(java.lang.Object obj) |
static EntityType |
get(java.lang.String id)
Returns the entity type with the given identifier.
|
java.lang.String |
getId()
Returns the entity type identifier.
|
int |
hashCode() |
java.lang.String |
toString() |
public static EntityType get(java.lang.String id)
id
- the entity type identifierpublic java.lang.String getId()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(EntityType rhs)
compareTo
in interface java.lang.Comparable<EntityType>