|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property
Contains information as defined by an descriptor.
A Property is used to hold information in our data model. This is similar to how a Map.Entry holds a key/value pair in a Map.
The value held in a PropertyDescriptor/Value pair is defined according to the PropertyType:If this property is contained in another data structure you may use the provided Descriptor. This descriptor will provide any additional information (such as the name and multiplicity) needed.
Method Summary | |
---|---|
PropertyDescriptor |
descriptor()
Convenience method to access descriptor. |
PropertyDescriptor |
getDescriptor()
Indicates the Descriptor for this content. |
PropertyType |
getType()
Indicate the PropertyType, if we have a descriptor it will be in agreement. |
Name |
name()
Name (from the descriptor) of this Property. |
Method Detail |
---|
PropertyDescriptor getDescriptor()
The attribute descriptor formally captures the name and multiplicity information and type information.
PropertyDescriptor descriptor()
This method only exists to aid in the transform to Java 1.4 since the
getDescriptor()
is erased to allow for type narrowing.
Name name()
PropertyType getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |