org.ujoframework.extensions
Interface UjoCloneable
- All Known Implementing Classes:
- AbstractMetaModel, AbstractUjo, AbstractUjoExt, ArrayUjo, ArrayUjoExt, BeanUjo, BeanUjoExt, Database, FactoryUjo, FactoryUjoExt, FieldUjo, FieldUjoExt, Item, MapImplUjo, MapImplUjoMiddle, MapUjo, MapUjoExt, MetaColumn, MetaDatabase, MetaParams, MetaPKey, MetaRelation2Many, MetaRoot, MetaTable, MetaView, Order, OrmTable, QuickUjo, QuickUjoMid, RegistrarUjo, RegistrarUjoExt, UjoPropertyRow, ViewOrder
public interface UjoCloneable
Interface adds a clone facility. Note the interface does not extends a Cloneable.
If you need so, implements the Cloneable explicitly.
- Author:
- Pavel Ponec
- See Also:
UjoManager.clone(org.ujoframework.Ujo, int, Object)
|
Method Summary |
java.lang.Object |
clone(int depth,
java.lang.Object context)
Object is Cloneable |
clone
java.lang.Object clone(int depth,
java.lang.Object context)
- Object is Cloneable
- Parameters:
depth - Depth of clone.
Sample: value "0" returns the same object, value "1" returns the same attribute values, etc.context - Context of the action. A default value can be a NULL.
- Returns:
- A clone
Copyright © 2009. All Rights Reserved.