|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICategoryInstance
A category instance holds property values for a particular category. Each instance has a name that is unique among all of the instances of a category.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
ICategory |
getCategory()
Returns the category that defines this instance. |
String |
getName()
The name of this instance. |
List<IProperty> |
getProperties()
Returns all of the properties for this category instance. |
List<IPropertyGroup> |
getPropertyGroups()
Returns the property groups this category instance belongs to. |
String |
getValue(String name)
Convenience method for returning the value of a property belonging to this category instance. |
void |
setName(String name)
Sets the name of this instance. |
void |
setValue(String name,
String value)
Sets the value of a property belonging to the category instance. |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
String getName()
void setName(String name)
throws DuplicateInstanceException
name - The instance name. The name must be unique among all of the instances of a
category.
DuplicateInstanceException - If the name is the name of an existing instance.ICategory getCategory()
List<IPropertyGroup> getPropertyGroups()
void setValue(String name,
String value)
throws UnregisteredPropertyException
name - The name of the propertyvalue - The value for the property.
UnregisteredPropertyException - If the given name is not the name of a
property belonging to this instance.
String getValue(String name)
throws UnregisteredPropertyException
name - The name of the property
UnregisteredPropertyException - If the name given name is not the name of a property
belonging to this instance.List<IProperty> getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||