public interface BeanDefinition
The root element for the schema of a dynamic bean is defined internally by EBX®. Therefore, all paths used by means of this class are relative to this root element and must be prefixed by './'.
UserServiceObjectContextBuilder.createBeanDefinition()
Modifier and Type | Field and Description |
---|---|
static SchemaTypeName |
OSD_FILE_UPLOAD
Special type used to create a file upload element.
|
Modifier and Type | Method and Description |
---|---|
BeanElement |
createComplexElement(Path aPath)
Creates a complex type element (a group).
|
BeanElement |
createComplexElement(Path aPath,
Class<?> aClassToInstantiate)
Creates a complex type element (a group), mapped to a JavaBean.
|
BeanElement |
createElement(Path aPath,
SchemaTypeName aTypeName)
Creates a simple type element (a field).
|
static final SchemaTypeName OSD_FILE_UPLOAD
UploadedFile
BeanElement createComplexElement(Path aPath)
aPath
- the path of the element relative to the root one.BeanElement createComplexElement(Path aPath, Class<?> aClassToInstantiate)
aPath
- the path of the element relative to the root one.aClassToInstantiate
- the class of the JavaBean to instantiate and map to the element.BeanElement createElement(Path aPath, SchemaTypeName aTypeName)
The element type can be any type supported by EBX® except
osd:resource
, osd:UDA
and osd:UDACatalog
.
aPath
- the path of the element relative to the root one.aTypeName
- the type of the element.