org.jbpm.pvm.internal.wire.descriptor
Class PatternDescriptor

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

public class PatternDescriptor
extends AbstractDescriptor

Author:
Alejandro Guizar
See Also:
Serialized Form

Field Summary
protected  boolean canonEq
           
protected  boolean literal
           
protected  java.lang.String regex
           
 
Fields inherited from class org.jbpm.pvm.internal.wire.descriptor.AbstractDescriptor
dbid, dbversion, init, INIT_EAGER, INIT_IMMEDIATE, INIT_LAZY, INIT_REQUIRED, name, version
 
Fields inherited from class org.jbpm.pvm.internal.util.DefaultObservable
listeners
 
Fields inherited from interface org.jbpm.pvm.internal.wire.Descriptor
EVENT_CONSTRUCTED, EVENT_CONSTRUCTING, EVENT_INITIALIZING, EVENT_REMOVE, EVENT_SET
 
Constructor Summary
PatternDescriptor()
           
PatternDescriptor(java.lang.String regex)
           
 
Method Summary
 java.lang.Object construct(WireContext wireContext)
          constructs the object.
 boolean isCanonEq()
           
 boolean isLiteral()
           
 void setCanonEq(boolean canonEq)
           
 void setLiteral(boolean literal)
           
 
Methods inherited from class org.jbpm.pvm.internal.wire.descriptor.AbstractDescriptor
getDbid, getName, getType, initialize, isDelayable, isEagerInit, setInit, setName
 
Methods inherited from class org.jbpm.pvm.internal.util.DefaultObservable
addListener, addListener, addListener, fire, fire, getListeners, 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.pvm.internal.util.Observable
addListener, addListener, addListener, fire, fire, removeListener
 

Field Detail

regex

protected java.lang.String regex

literal

protected boolean literal

canonEq

protected boolean canonEq
Constructor Detail

PatternDescriptor

public PatternDescriptor()

PatternDescriptor

public PatternDescriptor(java.lang.String regex)
Method Detail

isLiteral

public boolean isLiteral()

setLiteral

public void setLiteral(boolean literal)

isCanonEq

public boolean isCanonEq()

setCanonEq

public void setCanonEq(boolean canonEq)

construct

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

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.


Copyright © 2010 JBoss Community. All Rights Reserved.