|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Bean property classes implement this interface to indicate that they shouldn't be shared. By default, the properties of an archetype are shared by all objects that derive from that archetype. However, for properties with mutable sub-properties, it's usually not the case that you want them to be shared. For instance, the Appearance property is mutable, so it implements this interface.
For most Bean properties, declaring the class to be Cloneable and calling its clone() method from createClone() will suffice.
Method Summary | |
java.lang.Object |
createClone()
Produces a clone of the property for the caller. |
Method Detail |
public java.lang.Object createClone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |