|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Input
Represents the input specification for an OWL class or datatype expression. The purpose of this presentation is to provide an easy way to create an input form for the associated class expression. The hierarchy of this class is based on OWL expressions but is significantly simplified to make input form creation easy.
Method Summary | |
---|---|
void |
accept(InputVisitor visitor)
Visitor function. |
java.lang.String |
getDescription()
Returns the description of this input.The description of the input is application-dependent. |
java.lang.String |
getLabel()
Returns the label of this input. |
PropertyInput |
getPropertyInput()
|
java.net.URI |
getType()
Returns the type of the input. |
InputValue |
getValue()
Returns the value associated with this input object. |
boolean |
isUnrestricted()
Returns true if there are no restrictions on the input. |
void |
setDescription(java.lang.String description)
Sets the description of this input. |
void |
setLabel(java.lang.String label)
Sets the label for this input. |
void |
setPropertyInput(PropertyInput propertyInput)
|
void |
setValue(InputValue value)
Sets the value for this input object. |
Method Detail |
---|
java.net.URI getType()
boolean isUnrestricted()
true
if there are no restrictions on the input. This is the case for owl:Thing
and rdfs:Literal
.
InputValue getValue()
void setValue(InputValue value)
java.lang.String getLabel()
rdfs:label
for that class. If the input is a property input,
label of the property is used. If there is no rdfs:label
for the class or property then the local
name of the URI is used.
null
if there is no labelvoid setLabel(java.lang.String label)
java.lang.String getDescription()
rdfs:comment
for that class. If the input is a property
input, comment of the property is used.
null
if there is no descriptionvoid setDescription(java.lang.String description)
void accept(InputVisitor visitor)
PropertyInput getPropertyInput()
void setPropertyInput(PropertyInput propertyInput)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |