|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface LitInput
The LiteralOutput
annotates an input parameter of Type.Literal
.
Note: The name of this annotation is slightly 'un-Java', this way it won't interfere with
LiteralInput
See ProcessDescription
for a brief introduction to assigning values to annotations.
Required Element Summary | |
---|---|
ReferenceType |
dataType
The datatype of the literal input |
Optional Element Summary | |
---|---|
ValueType[] |
allowedValues
allowed values of the literal input, if not set, the validValueReference() will be tried |
java.lang.String |
defaultValue
optional the default value of the literal input |
ReferenceType[] |
uoms
optional The units-of-measure of the literal input, uoms[0] will be the default uom |
ValueReference |
validValueReference
optional annotation, pointing to an external list of allowed values |
Element Detail |
---|
public abstract ReferenceType dataType
public abstract ReferenceType[] uoms
public abstract java.lang.String defaultValue
public abstract ValueType[] allowedValues
validValueReference()
will be tried
public abstract ValueReference validValueReference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |