|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComplexAttribute
A complex Atribtue holds a collection of attribute values in a single group.
Direct Access:
It is recommended practice to formally use an Expression to access the contents of a ComplexAttribute, the Expression implementation will provide a more complete query langage then supported via direct access. Once again please use the information in getType() to assist in constructing useful Expressions.
| Method Summary | |
|---|---|
Collection<Association> |
associations()
Convenience method for getting at the associations contained in this complex attribute. |
Collection<Attribute> |
attributes()
Convenience method for getting at the attributes contained in this complex attribute. |
List<Property> |
get(Name name)
Returns the subset of the attributes returned by #get() which
match the specified name. |
AttributeDescriptor |
getDescriptor()
Indicates the AttirbuteDescriptor for this content. |
ComplexType |
getType()
Indicate the AttributeType, if we have a descriptor it will be in agreement. |
Collection<Property> |
getValue()
Returns the value of the attribute, which is a list of other properties, attributes + associations.. |
void |
setValue(Collection<Property> values)
Sets the complete contents of this Attribute, that must be valid against the type's schema descriptor. |
| Methods inherited from interface Attribute |
|---|
getID, nillable, operation, setValue |
| Methods inherited from interface Property |
|---|
descriptor, name |
| Method Detail |
|---|
ComplexType getType()
Attribute
getType in interface AttributegetType in interface PropertyAttributeDescriptor getDescriptor()
The attribute descriptor formally captures the name and multiplicity and type associated with this attribute.
getDescriptor in interface AttributegetDescriptor in interface Propertyvoid setValue(Collection<Property> values)
IllegalArgumentExceptionCollection<Property> getValue()
getValue in interface AttributeCollection<Attribute> attributes()
Collection<Association> associations()
List<Property> get(Name name)
#get() which
match the specified name.
name - Name of attributes to return.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||