public class EntityType extends AbstractType
EntityType class.
logger| Constructor and Description |
|---|
EntityType(Class<?> entityClass)
Constructor for EntityType.
|
EntityType(String entityName,
Class<?> entityClass,
String idName)
Constructor for EntityType.
|
EntityType(String entityName,
Class<?> entityClass,
String idName,
Type idType) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getEntityClass()
Getter for the field
entityClass. |
String |
getEntityName()
The name of the entity
|
String |
getIdName() |
Class<? extends Serializable> |
getIdType()
getIdClass.
|
String |
getName()
getName.
|
Type |
getPropertyType(String property)
Get the type of a particular (named) property
|
Map<String,Type> |
getPropertyTypes()
Getter for the field
propertyTypes. |
Class<?> |
getReturnedClass()
getReturnedClass.
|
boolean |
isEntityType()
isEntityType.
|
void |
setEntityClass(Class<?> entityClass)
Setter for the field
entityClass. |
void |
setEntityName(String entityName)
Setter for the field
entityName. |
void |
setIdName(String idName) |
void |
setPropertyTypes(Map<String,Type> propertyTypes)
Setter for the field
propertyTypes. |
equals, hashCode, isCollectionType, isComponentType, newInstance, toStringpublic EntityType(String entityName, Class<?> entityClass, String idName)
Constructor for EntityType.
public boolean isEntityType()
isEntityType.
isEntityType in interface TypeisEntityType in class AbstractTypepublic Class<?> getEntityClass()
Getter for the field entityClass.
Class object.public void setEntityClass(Class<?> entityClass)
Setter for the field entityClass.
entityClass - a Class object.public Map<String,Type> getPropertyTypes()
Getter for the field propertyTypes.
Map object.public void setPropertyTypes(Map<String,Type> propertyTypes)
Setter for the field propertyTypes.
propertyTypes - a Map object.public void setEntityName(String entityName)
Setter for the field entityName.
entityName - a String object.public Type getPropertyType(String property)
getPropertyType in interface TypegetPropertyType in class AbstractTypeproperty - a String object.Type object.public String getName()
getName.
getName in interface TypegetName in class AbstractTypeString object.public Class<?> getReturnedClass()
getReturnedClass.
getReturnedClass in interface TypegetReturnedClass in class AbstractTypeClass object.public String getIdName()
public void setIdName(String idName)
public Class<? extends Serializable> getIdType()
getIdClass.
Class object.Copyright © 2005–2018 The Beangle Software. All rights reserved.