|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.orchestra.pvm.internal.wire.operation.AbstractOperation
org.ow2.orchestra.pvm.internal.wire.operation.PropertyOperation
public class PropertyOperation
injects another object with a setter method.
| Field Summary |
|---|
| Fields inherited from class org.ow2.orchestra.pvm.internal.wire.operation.AbstractOperation |
|---|
dbid, dbversion |
| Constructor Summary | |
|---|---|
PropertyOperation()
|
|
| Method Summary | |
|---|---|
void |
apply(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. |
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(String propertyName)
Sets the name of the property that should be updated by this operation. |
void |
setSetterName(String setterName)
Sets the name of the setter method to use to inject the property value. |
| Methods inherited from class org.ow2.orchestra.pvm.internal.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(Object target,
WireContext wireContext)
OperationWireContext.
target - object on which the operation should be performed.wireContext - context in which the operation is applied.public void setPropertyName(String propertyName)
foo, the method used to set the value will be
setFoo.
propertyName - public String getSetterName()
public void setSetterName(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 | |||||||||