|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The concrete type of EntityAttributes
managed by this
object.public interface ChildEntityAttributeManager<T extends EntityAttributes>
The child entity attributes manager is used by a entity attributes-enabled
directory to manage the entity attributes of its child entities. One instance
of this class (created by a ChildEntityAttributeManagerFactory
) is
used for every directory.
AttributeFileRepository
Method Summary | |
---|---|
void |
add(String name,
T attr)
Set a new attribute record for the entity. |
boolean |
containsKey(String name)
Does this object contain attributes for the named entity. |
void |
delete(String name)
Delete the attribute record for the supplied entity. |
T |
get(String name,
EntityType et)
Get the attributes for the entity. |
void |
update(String name,
T attr)
Update the attribute record for the entity. |
Method Detail |
---|
void add(String name, T attr)
name
- The name of the entity.attr
- The attributes.boolean containsKey(String name)
name
- The name of the entity.
true
if there is an attribute record for the entity.T get(String name, EntityType et)
name
- The entity name,et
- The type of entity. This is used to create default attributes
if no attribute record is saved for the entity.
void update(String name, T attr)
name
- The name of the entity.attr
- The new attributes for the entity.void delete(String name)
name
- The name of the entity whose record should be deleted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |