public class PropertyList extends ArrayList<PropertyObject> implements PropertyObject, List<PropertyObject>
PropertyObject
s.modCount
Constructor and Description |
---|
PropertyList() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Visitor visitor)
Accepts a
Visitor to this WorkflowBean . |
WorkflowBean |
clone()
Create a deep clone of this bean.
|
String |
toString() |
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
public boolean accept(Visitor visitor)
WorkflowBean
Visitor
to this WorkflowBean
.accept
in interface WorkflowBean
visitor
- the Visitor
to accepttrue
if this WorkflowBeans
children should be visited.public String toString()
toString
in class AbstractCollection<PropertyObject>
public WorkflowBean clone()
WorkflowBean
The cloned bean will have equivalent properties as the original bean. Any
Child
beans which parent match this bean will be cloned as well
(recursively), non-child beans will remain the same. If this bean is a
Child
, the returned clone will not have a parent set.
Note that children whose Child.getParent()
is null
might not be cloned, to avoid this, use
Scufl2Tools.setParents(uk.org.taverna.scufl2.api.container.WorkflowBundle)
before cloning.
clone
in interface WorkflowBean
clone
in class ArrayList<PropertyObject>
Copyright © 2013 myGrid. All rights reserved.