public class CloneCollection extends Object implements FunctionTransformer<List,List>
List
and every element in it.
cloneTransformer
,
EntityFieldsCopyTransformer
Constructor and Description |
---|
CloneCollection() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.collections.Transformer |
getCloneTransformer()
Perform the clone operation
|
protected Collection |
getOutInstance(Collection in) |
boolean |
isCloneCollection()
If true will return a new Collection of the same type
|
boolean |
isCloneElementInCollection()
If true will clone every element within the collection
|
void |
setCloneCollection(boolean cloneCollection)
If true will return a new Collection of the same type
|
void |
setCloneElementInCollection(boolean cloneElementInCollection)
If true will clone every element within the collection
|
void |
setCloneTransformer(org.apache.commons.collections.Transformer cloneTransformer)
Perform the clone operation
|
Object |
transform(Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
protected Collection getOutInstance(Collection in)
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public org.apache.commons.collections.Transformer getCloneTransformer()
public void setCloneTransformer(org.apache.commons.collections.Transformer cloneTransformer)
public boolean isCloneCollection()
getOutInstance(Collection)
public void setCloneCollection(boolean cloneCollection)
getOutInstance(Collection)
public boolean isCloneElementInCollection()
cloneTransformer
public void setCloneElementInCollection(boolean cloneElementInCollection)
cloneTransformer
Copyright © 2018. All rights reserved.