@Immutable public class ChildEntityDefinition extends Object implements EntityDefinition
Constructor and Description |
---|
ChildEntityDefinition(TypeDefinition type,
List<ChildContext> path,
SchemaSpaceID schemaSpace,
Filter filter)
Create an entity definition specified by the given child path.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ChildDefinition<?> |
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 ChildEntityDefinition(TypeDefinition type, List<ChildContext> path, SchemaSpaceID schemaSpace, Filter filter)
type
- the topmost parent of the propertypath
- the child path down from the typeschemaSpace
- the schema space identifierfilter
- the entity filter on the type, may be null
public SchemaSpaceID getSchemaSpace()
EntityDefinition
getSchemaSpace
in interface EntityDefinition
EntityDefinition.getSchemaSpace()
public ChildDefinition<?> 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