org.qi4j.index.sql.support.common
Class EntityTypeInfo
java.lang.Object
org.qi4j.index.sql.support.common.EntityTypeInfo
public final class EntityTypeInfo
- extends Object
A helper interface to encapsulate information about certain entity type and how it appears in database.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityTypeInfo
public EntityTypeInfo(EntityDescriptor entityDescriptor,
Integer entityTypeID)
getEntityTypePK
public Integer getEntityTypePK()
- Gets the primary key of this entity type, as it is stored in database in entity type lookup table.
- Returns:
- The primary key of this entity type, as it is stored in database in entity type lookup table.
getEntityDescriptor
public EntityDescriptor getEntityDescriptor()
- Gets the entity descriptor of this entity type.
- Returns:
- The entity descriptor of this entity type.