|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.wire.operation.AbstractOperation org.jbpm.wire.operation.PropertyOperation
public class PropertyOperation
injects another object with a setter method.
Field Summary |
---|
Fields inherited from class org.jbpm.wire.operation.AbstractOperation |
---|
dbid, dbversion |
Constructor Summary | |
---|---|
PropertyOperation()
|
Method Summary | |
---|---|
void |
apply(java.lang.Object target,
WireContext wireContext)
Apply this operation to the specified object, defined in the specified WireContext . |
Descriptor |
getDescriptor()
Gets the descriptor used to create the field's value. |
java.lang.String |
getSetterName()
Gets the name of the setter method used to inject the property value. |
void |
setDescriptor(Descriptor valueDescriptor)
Sets the descriptor used to create the field's value |
void |
setPropertyName(java.lang.String propertyName)
Sets the name of the property that should be updated by this operation. |
void |
setSetterName(java.lang.String setterName)
Sets the name of the setter method to use to inject the property value. |
Methods inherited from class org.jbpm.wire.operation.AbstractOperation |
---|
getDbid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyOperation()
Method Detail |
---|
public void apply(java.lang.Object target, WireContext wireContext)
Operation
WireContext
.
target
- object on which the operation should be performed.wireContext
- context in which the operation is applied.public void setPropertyName(java.lang.String propertyName)
foo
, the method used to set the value will be setFoo
.
propertyName
- public java.lang.String getSetterName()
public void setSetterName(java.lang.String setterName)
setterName
- public Descriptor getDescriptor()
public void setDescriptor(Descriptor valueDescriptor)
valueDescriptor
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |