|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Copyable
Marks KRAD framework objects that support deep copying.
| Method Summary | ||
|---|---|---|
Object |
clone()
Override Object.clone() to assign the public modifier. |
|
|
copy()
Return a copy of the class. |
|
void |
preventModification()
Indicated that a given instance may not be modified until copied, if supported. |
|
Copyable |
unwrap()
Get the innermost copyable instance, if wrapped by a proxy. |
|
| Method Detail |
|---|
<T> T copy()
T - copyable type
CopyUtils.copy(Copyable)void preventModification()
Object clone()
throws CloneNotSupportedException
Object.clone() to assign the public modifier.
Object.clone()
CloneNotSupportedException - If Cloneable is not implemented. This should not
be possible when using this interface.When cloning is enabled, {@link #clone} is used for shallow copy
operations.,
Cloneable,
Object.clone()Copyable unwrap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||