Class EntityType
java.lang.Object
de.fraunhofer.iosb.ilt.frostclient.model.EntityType
- All Implemented Interfaces:
Comparable<EntityType>
The types of entities.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanGet the set of Entity properties.getEntityProperty(String name) The ModelRegistry this EntityType is registered on.Get the set of Navigation properties pointing to single entities.Get the set of Navigation properties.getNavigationProperty(String name) Get the set of Navigation properties pointing to entity sets.getProperty(String name) The Set of PROPERTIES that Entities of this type have.inthashCode()booleanhasProperty(Property property) voidinit()registerProperty(Property property) voidsetModelRegistry(ModelRegistry modelRegistry) The ModelRegistry this EntityType is registered on.toString()
-
Field Details
-
entityName
The entityName of this entity type as used in URLs. -
plural
The entityName of collections of this entity type as used in URLs.
-
-
Constructor Details
-
EntityType
-
-
Method Details
-
registerProperty
-
init
public void init() -
getPrimaryKey
-
getEntityName
-
getPluralName
-
getProperty
-
getEntityProperty
-
getPropertySet
The Set of PROPERTIES that Entities of this type have.- Returns:
- The Set of PROPERTIES that Entities of this type have.
-
getEntityProperties
Get the set of Entity properties.- Returns:
- The set of Entity properties.
-
hasProperty
-
getModelRegistry
The ModelRegistry this EntityType is registered on.- Returns:
- the modelRegistry
-
setModelRegistry
The ModelRegistry this EntityType is registered on.- Parameters:
modelRegistry- the modelRegistry to set
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<EntityType>
-
equals
-
hashCode
public int hashCode()
-