public class PotentialProducer extends PotentialAttribute
PotentialAttribute
corresponding to a Producer
.PotentialAttribute
,
Attribute
Modifier | Constructor and Description |
---|---|
protected |
PotentialProducer(WorkspaceComponent parent,
java.lang.Object baseObject,
java.lang.String methodName,
java.lang.Class<?> dataType,
java.lang.Class<?>[] argDataTypes,
java.lang.Object[] argValues,
java.lang.String description)
Construct a potential consumer.
|
Modifier and Type | Method and Description |
---|---|
Producer<?> |
createProducer()
Actualize this potential attribute into a producer.
|
getArgumentDataTypes, getArgumentValues, getBaseObject, getDataType, getDescription, getMethodName, getParent, setArgumentDataTypes, setArgumentValues, setCustomDescription
protected PotentialProducer(WorkspaceComponent parent, java.lang.Object baseObject, java.lang.String methodName, java.lang.Class<?> dataType, java.lang.Class<?>[] argDataTypes, java.lang.Object[] argValues, java.lang.String description)
Attribute
.parent
- parent workspace componentbaseObject
- base object containing method to callmethodName
- name of method to calldataType
- return type of methodargDataTypes
- for auxiliary argumentsargValues
- for auxiliary argumentsdescription
- description of the attributepublic Producer<?> createProducer()