public class PropertyBean extends EntityBean<PropertyEntityDefinition>
Property
.Constructor and Description |
---|
PropertyBean()
Default constructor
|
PropertyBean(Property property)
Create a property entity bean based on the given property entity
|
Modifier and Type | Method and Description |
---|---|
Entity |
createEntity(TypeIndex types,
SchemaSpaceID schemaSpace)
Create the represented entity
|
protected PropertyEntityDefinition |
createEntityDefinition(TypeIndex index,
SchemaSpaceID schemaSpace)
Get the entity definition
|
static Pair<ChildDefinition<?>,List<ChildDefinition<?>>> |
findChild(DefinitionGroup parent,
QName childName)
The function to look for a child as ChildDefinition or as Group
|
List<ChildContextBean> |
getProperties()
Get the property names
|
void |
setProperties(List<ChildContextBean> properties)
Set the property names
|
getFilter, getTypeName, setFilter, setTypeName
public PropertyBean()
public PropertyBean(Property property)
property
- the property entitypublic Entity createEntity(TypeIndex types, SchemaSpaceID schemaSpace)
EntityBean
createEntity
in class EntityBean<PropertyEntityDefinition>
types
- the type indexschemaSpace
- the associated schema spaceEntityBean.createEntity(TypeIndex, SchemaSpaceID)
protected PropertyEntityDefinition createEntityDefinition(TypeIndex index, SchemaSpaceID schemaSpace)
EntityBean
createEntityDefinition
in class EntityBean<PropertyEntityDefinition>
index
- the type indexschemaSpace
- the associated schema spaceEntityBean.createEntityDefinition(TypeIndex, SchemaSpaceID)
public static Pair<ChildDefinition<?>,List<ChildDefinition<?>>> findChild(DefinitionGroup parent, QName childName)
parent
- the starting point to traverse fromchildName
- the name of the parent's childnull
if no such child was foundpublic List<ChildContextBean> getProperties()
public void setProperties(List<ChildContextBean> properties)
properties
- the property names to setBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a