|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnionInput
Represents a union type where valid input values should satisfy the one of the nested input types.
Method Summary | |
---|---|
java.net.URI |
getType()
Returns owl:unionOf |
int |
getValueIndex()
Returns the index of the nested input which will determine the value of this union or -1 if no value is
provided for this union. |
java.net.URI |
getValueType(int valueIndex)
|
void |
setValueIndex(int valueIndex)
Returns the index of the input where value of this union should be read or -1 if no value is
provided for this union. |
void |
setValueType(int valueIndex,
java.net.URI valueType)
|
Methods inherited from interface info.sswap.api.input.NaryInput |
---|
getInputs |
Methods inherited from interface info.sswap.api.input.Input |
---|
accept, getDescription, getLabel, getPropertyInput, getValue, isUnrestricted, setDescription, setLabel, setPropertyInput, setValue |
Method Detail |
---|
java.net.URI getType()
owl:unionOf
getType
in interface Input
int getValueIndex()
-1
if no value is
provided for this union.
void setValueIndex(int valueIndex)
-1
if no value is
provided for this union.
java.net.URI getValueType(int valueIndex)
void setValueType(int valueIndex, java.net.URI valueType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |