org.ujoframework.extensions
Interface UjoCloneable
- All Known Implementing Classes:
- AbstractMetaModel, AbstractUjo, AbstractUjoExt, ArrayUjo, ArrayUjoExt, BeanUjo, BeanUjoExt, DbProcedure, FactoryUjo, FactoryUjoExt, FieldUjo, FieldUjoExt, MapImplUjo, MapImplUjoMiddle, MapUjo, MapUjoExt, MetaColumn, MetaDatabase, MetaIndex, MetaParams, MetaPKey, MetaProcedure, MetaRelation2Many, MetaRoot, MetaSelect, MetaTable, OrmTable, QuickUjo, QuickUjoMid, RegistrarUjo, RegistrarUjoExt, UjoPropertyRow
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 © 2010. All Rights Reserved.