|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.ftt.properties.util.AbstractPropertyGroup
public abstract class AbstractPropertyGroup
This class is a partial implementation of the IPropertyGroup interface. You can subclass this class to provide your own implementation.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
abstract void |
addCategoryInstance(ICategoryInstance instance)
Adds the category instance to the property group. |
abstract IPropertyGroup |
copy(String name)
Makes a copy of the property group and returns it. |
void |
deleteCategoryInstance(ICategoryInstance instance)
Removes the category instance from the property group. |
boolean |
equals(Object object)
|
List |
getCategoryInstances()
Returns the category instances for the property group. |
String |
getDescription()
Returns the description for the property group; it may be null. |
String |
getName()
Returns the property group name. |
abstract IPropertyGroupContainer |
getPropertyGroupContainer()
Returns the property group container the property group belongs to. |
void |
setDescription(String description)
Sets the description for the property group. |
abstract void |
setName(String name)
The name must be unique among the property groups in a property group container. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COPY_RIGHT
| Method Detail |
|---|
public abstract void addCategoryInstance(ICategoryInstance instance)
throws DuplicateInstanceException
IPropertyGroup
addCategoryInstance in interface IPropertyGroupinstance - The category instance to add.
DuplicateInstanceException - If the instance already belongs to the property group,
or if adding the instance violates a constraint for the particular implementation of
this property group.
public abstract IPropertyGroup copy(String name)
throws UnsupportedOperationException,
DuplicatePropertyGroupException
IPropertyGroup
copy in interface IPropertyGroupname - The name of the copy of the property group
UnsupportedOperationException
DuplicatePropertyGroupExceptionpublic void deleteCategoryInstance(ICategoryInstance instance)
IPropertyGroup
deleteCategoryInstance in interface IPropertyGroupinstance - The category instance to remove.public List getCategoryInstances()
IPropertyGroup
getCategoryInstances in interface IPropertyGrouppublic String getDescription()
IPropertyGroup
getDescription in interface IPropertyGrouppublic String getName()
IPropertyGroup
getName in interface IPropertyGrouppublic abstract IPropertyGroupContainer getPropertyGroupContainer()
IPropertyGroup
getPropertyGroupContainer in interface IPropertyGrouppublic void setDescription(String description)
IPropertyGroup
setDescription in interface IPropertyGroupdescription - The description can be used to identify the purpose for a
property group.
public abstract void setName(String name)
throws DuplicatePropertyGroupException
IPropertyGroup
setName in interface IPropertyGroupname - Must be unique among the property groups in a property group container.
DuplicatePropertyGroupException - If the given name is the name of a
property group in the property group container.public boolean equals(Object object)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||