javabean-metadata-config_1_0.dtd Documentation
The chrysalis.xml file for the JavaBean package contains XML meta for
business objects.
Attributes whose names are in italics are optional.
Tag |
Summary |
attribute
|
Tag for generic attribute values. |
class
|
Tag holding configuration for a JavaBean class. |
config
|
Root tag for the JavaBean metadata configuration. |
option
|
Tag for options in the property's options list. |
property
|
Tag holding configuration for a JavaBean property. |
config
Root tag for the JavaBean metadata configuration. It has configuration
data for all the classes in the JavaBean package.
Content:
(class*)
class
Tag holding configuration for a JavaBean class.
Used in:
config
Content:
(property*)
Attributes
-
name
[CDATA]:
The controller class's short class name.
-
external-validation
[(true|false)]:
Whether bean-filter processing should perform validation logic.
property
Tag holding configuration for a JavaBean property.
Used in:
class
Content:
(attribute*, option*)
Attributes
-
name
[CDATA]:
The controller property's name.
-
label
[CDATA]:
The property's label.
-
datatype
[CDATA]:
The property's (logical) datatype.
-
readonly
[(true|false)]:
Whether the property is readonly.
-
required
[(true|false)]:
Whether the property is required.
-
max
[CDATA]:
The property's max.
-
min
[CDATA]:
The property's min.
-
maxlength
[CDATA]:
The property's maxlength.
-
minlength
[CDATA]:
The property's minlength.
-
scale
[CDATA]:
The property's scale.
attribute
Tag for generic attribute values.
Used in:
property
Content: Empty
Attributes
-
name
[CDATA]:
The generic attribute's name.
-
value
[CDATA]:
The generic attribute's value.
option
Tag for options in the property's options list. The key's must match the
type for the JavaBean property. The text is displayed to the user in the
generated select list. The logic for option loading can be altered by
creating a custom org.chwf.plugin.OptionLister
.
Used in:
property
Content: Empty
Attributes
-
key
[CDATA]:
The key for this particular option.
-
text
[CDATA]:
The text for this particular option.