|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyDescriptor
Describes how a ComplexType may be composed of types, associations and operations.
Name and Type need to be defined in most cases.
Since a descriptor is defined with respect to a ComplexAttribute you can use the provided name to lookup a descriptor at runtime. The name however belongs to a namespace that may have no relationship with the containing ComplexType, so please be sure
Method Summary | |
---|---|
Name |
getName()
Indicates Name of defined attribute in a ComplexType, this method may never return a null value. |
Object |
getUserData(Object key)
Used to retrieve application specific data associated with this PropertyType. |
void |
putUserData(Object key,
Object data)
Used to retrieve application specific data associated with this Descriptor. |
PropertyType |
type()
Convenience method for getting at the type of the descriptor. |
Method Detail |
---|
void putUserData(Object key, Object data)
Client application often are forced to keep tract of additional informal
metadata during processing or transformation opperations. By supporting
user data in a limited way offer a way to prevent the creation of
numerous Map
There is no bridge from our Type system to the formal ISO Metadata classes right now, please use this facility as a temporary measure and join us on the developers list as we would request your assistence.
A very simple example is the association of an XML prefix with this attribute descriptor.
key
- key used to retrive user dataObject getUserData(Object key)
Client application often are forced to keep tract of additional informal
metadata during processing or transformation operations. By supporting
user data in a limited way offer a way to prevent the creation of
numerous Map
There is no bridge from our Type system to the formal ISO Metadata classes right now, please use this facility as a temporary measure and join us on the developers list as we would request your assistance.
key
- key used to retrieve user data
Name getName()
The name is actually defined by the sub type, this is derived quantity.
PropertyType type()
This is considered "derived" because the specific type is declared by the subclass.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |