|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public void add(Attribute attr)
attr - the Attribute to be added to this collection.
public List get(URI attrCategory,
URI type,
URI id)
attrCategory - the attribute category.type - the attribute type.id - the attribute identifier.
public 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.
public Iterator getAttributes()
public Iterator getAttributesByCategory(URI attrCategory)
public int getAttributeCountByCategory(URI attrCategory)
public Iterator getAttributeCategories()
public int getAttributeCategoryCount()
public boolean containsAttributeCategory(URI attrCategory)
public void remove(Attribute attr)
attr - the Attribute to be removed from this collection.public void clear()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||