T
- the entity definition typepublic abstract class EntityBean<T extends EntityDefinition> extends Object
Entity
Constructor and Description |
---|
EntityBean()
Default constructor
|
EntityBean(QName typeName,
String filter)
Create an entity bean with the given type name
|
Modifier and Type | Method and Description |
---|---|
abstract Entity |
createEntity(TypeIndex types,
SchemaSpaceID schemaSpace)
Create the represented entity
|
protected abstract T |
createEntityDefinition(TypeIndex index,
SchemaSpaceID schemaSpace)
Get the entity definition
|
String |
getFilter()
Get the type filter.
|
QName |
getTypeName()
Get the type name
|
void |
setFilter(String filter)
Set the type filter.
|
void |
setTypeName(QName typeName)
Set the type name
|
protected abstract T createEntityDefinition(TypeIndex index, SchemaSpaceID schemaSpace)
index
- the type indexschemaSpace
- the associated schema spacepublic abstract Entity createEntity(TypeIndex types, SchemaSpaceID schemaSpace)
types
- the type indexschemaSpace
- the associated schema spacepublic String getFilter()
public void setFilter(String filter)
filter
- the type filter to setpublic QName getTypeName()
public void setTypeName(QName typeName)
typeName
- the type name to setBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a