|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityAttributesPreparer<T extends EntityAttributes>
This interface defines an object that is used by the entity
attributes-enabling entity delegate to prepare an
EntityAttributes
object of a newly
created entity.
One instance of this class is shared within a file system. As a consequence, implementations may not contain any mutable internal state.
Implementation tip: let an EntityAttributesPreparer
proxy another so
that preparers can be chained.
AttributesEntityDelegate.setDefaultAttributes(String,ObjectFactory)
Method Summary | |
---|---|
T |
prepareEntityAttributes(String name,
T attr)
Prepare the entity attributes for the new entity. |
Method Detail |
---|
T prepareEntityAttributes(String name, T attr)
This method does not have to save the new attributes. That is the responsibility of the caller.
name
- The name of the new entity.attr
- The attributes object.
attr
).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |