|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeSet
AttributeSet defines the interface for a unique collection
of Attribute instances.
| Method Summary | |
|---|---|
void |
add(Attribute attr)
Add an Attribute. |
void |
clear()
Clear all Attributes. |
boolean |
containsAttributeCategory(URI attrCategory)
Returns true if the specified attribute category is represented in in this AttributeSet. |
List |
get(URI attrCategory,
URI type,
URI id)
Get an Attribute by category and identifier. |
Iterator |
getAttributeCategories()
Returns the attribute categories represented in this collection. |
int |
getAttributeCategoryCount()
Returns the number of attribute categories. |
int |
getAttributeCountByCategory(URI attrCategory)
Returns the number of attributes in the specified category. |
Iterator |
getAttributes()
Get all Attributes. |
Iterator |
getAttributesByCategory(URI attrCategory)
Get all Attributes by category. |
Attribute |
getOneAndOnly(URI attrCategory,
URI type,
URI id)
Get a one and only Attributes. |
void |
remove(Attribute attr)
Remove an Attribute. |
| Method Detail |
|---|
void add(Attribute attr)
attr - the Attribute to be added to this collection.
List get(URI attrCategory,
URI type,
URI id)
attrCategory - the attribute category.type - the attribute type.id - the attribute identifier.
Attribute getOneAndOnly(URI attrCategory,
URI type,
URI id)
NOTE: - the caller must be certain that at most one Attribute with the specified catetory, type, and id is in the set.
attrCategory - the attribute category.type - the attribute data type.id - the attribute identifier.
Iterator getAttributes()
Iterator getAttributesByCategory(URI attrCategory)
int getAttributeCountByCategory(URI attrCategory)
Iterator getAttributeCategories()
int getAttributeCategoryCount()
boolean containsAttributeCategory(URI attrCategory)
void remove(Attribute attr)
attr - the Attribute to be removed from this collection.void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||