org.jbpm.wire.descriptor
Class IntegerDescriptor

java.lang.Object
  extended by org.jbpm.util.DefaultObservable
      extended by org.jbpm.wire.descriptor.AbstractDescriptor
          extended by org.jbpm.wire.descriptor.IntegerDescriptor
All Implemented Interfaces:
java.io.Serializable, Observable, Descriptor

public class IntegerDescriptor
extends AbstractDescriptor
implements Descriptor

This Descriptor specifies an Integer.

Author:
Tom Baeyens, Guillaume Porcher (documentation)
See Also:
Descriptor, Serialized Form

Field Summary
protected  java.lang.Long longVal
           
 
Fields inherited from class org.jbpm.wire.descriptor.AbstractDescriptor
dbid, dbversion, init, INIT_EAGER, INIT_IMMEDIATE, INIT_LAZY, INIT_REQUIRED, name, version
 
Fields inherited from class org.jbpm.util.DefaultObservable
listeners
 
Fields inherited from interface org.jbpm.wire.Descriptor
EVENT_CONSTRUCTED, EVENT_CONSTRUCTING, EVENT_INITIALIZING, EVENT_REMOVE, EVENT_SET
 
Constructor Summary
IntegerDescriptor()
           
IntegerDescriptor(java.lang.Integer value)
           
 
Method Summary
 java.lang.Object construct(WireContext factory)
          constructs the object.
 void setValue(java.lang.Integer value)
           
 
Methods inherited from class org.jbpm.wire.descriptor.AbstractDescriptor
getDbid, getName, getType, initialize, isDelayable, isEagerInit, setInit, setName
 
Methods inherited from class org.jbpm.util.DefaultObservable
addListener, addListener, addListener, fire, fire, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.wire.Descriptor
getName, getType, initialize, isDelayable, isEagerInit
 
Methods inherited from interface org.jbpm.util.Observable
addListener, addListener, addListener, fire, fire, removeListener
 

Field Detail

longVal

protected java.lang.Long longVal
Constructor Detail

IntegerDescriptor

public IntegerDescriptor()

IntegerDescriptor

public IntegerDescriptor(java.lang.Integer value)
Method Detail

construct

public java.lang.Object construct(WireContext factory)
Description copied from interface: Descriptor
constructs the object.

Specified by:
construct in interface Descriptor
Parameters:
factory - 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.

setValue

public void setValue(java.lang.Integer value)