@Immutable public class TypeEntityDefinition extends Object implements EntityDefinition
Constructor and Description |
---|
TypeEntityDefinition(TypeDefinition typeDefinition,
SchemaSpaceID schemaSpace,
Filter filter)
Create an entity definition for the given type
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TypeDefinition |
getDefinition()
Get the definition of the type or property represented by the entity
definition.
|
Filter |
getFilter()
Get the filter applied to the entity type.
|
List<ChildContext> |
getPropertyPath()
Get the property path.
|
SchemaSpaceID |
getSchemaSpace()
Get the schema space the entity definition is associated to.
|
TypeDefinition |
getType()
Get the type definition that is associated with the entity.
|
int |
hashCode() |
String |
toString() |
public TypeEntityDefinition(TypeDefinition typeDefinition, SchemaSpaceID schemaSpace, Filter filter)
typeDefinition
- the type definitionschemaSpace
- the schema space identifierfilter
- the entity filter, may be null
public SchemaSpaceID getSchemaSpace()
EntityDefinition
getSchemaSpace
in interface EntityDefinition
EntityDefinition.getSchemaSpace()
public TypeDefinition getDefinition()
EntityDefinition
getDefinition
in interface EntityDefinition
EntityDefinition.getDefinition()
public TypeDefinition getType()
EntityDefinition
getType
in interface EntityDefinition
EntityDefinition.getType()
public List<ChildContext> getPropertyPath()
EntityDefinition
null
.getPropertyPath
in interface EntityDefinition
EntityDefinition.getPropertyPath()
public Filter getFilter()
EntityDefinition
getFilter
in interface EntityDefinition
null
EntityDefinition.getFilter()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a