org.jbpm.wire.descriptor
Class CollectionDescriptor
java.lang.Object
org.jbpm.util.DefaultObservable
org.jbpm.wire.descriptor.AbstractDescriptor
org.jbpm.wire.descriptor.CollectionDescriptor
- All Implemented Interfaces:
- java.io.Serializable, Observable, Descriptor
- Direct Known Subclasses:
- ListDescriptor, MapDescriptor, SetDescriptor
public class CollectionDescriptor
- extends AbstractDescriptor
- implements Descriptor
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
protected java.lang.String className
valueDescriptors
protected java.util.List<Descriptor> valueDescriptors
isSynchronized
protected boolean isSynchronized
CollectionDescriptor
protected CollectionDescriptor()
CollectionDescriptor
public CollectionDescriptor(java.lang.String defaultImplClassName)
construct
public java.lang.Object construct(WireContext wireContext)
- Description copied from interface:
Descriptor
- constructs the object.
- Specified by:
construct
in interface Descriptor
- Parameters:
wireContext
- WireContext
in which the object is created. This is also the WireContext
where the object will search for other object that may be needed during the initialization phase.
- Returns:
- the constructed object.
initialize
public void initialize(java.lang.Object object,
WireContext wireContext)
- Description copied from interface:
Descriptor
- called by the WireContext to initialize the specified object.
For more information about initialization, see
WireContext
section lifecycle.
- Specified by:
initialize
in interface Descriptor
- Overrides:
initialize
in class AbstractDescriptor
- Parameters:
object
- object to initialize.wireContext
- the context in which the object will be initialized.
getClassName
public java.lang.String getClassName()
setClassName
public void setClassName(java.lang.String className)
getValueDescriptors
public java.util.List<Descriptor> getValueDescriptors()
setValueDescriptors
public void setValueDescriptors(java.util.List<Descriptor> valueDescriptors)
isSynchronized
public boolean isSynchronized()
setSynchronized
public void setSynchronized(boolean isSynchronized)