org.topbraid.spin.model
Interface Argument

All Superinterfaces:
AbstractAttribute

public interface Argument
extends AbstractAttribute

Jena wrapper for instances of spl:Argument.

Author:
Holger Knublauch

Method Summary
 java.lang.Integer getArgIndex()
          If this is an ordered arg (sp:arg1, sp:arg2, ...) then this returns the index of this, otherwise null.
 RDFNode getDefaultValue()
          Returns any declared spl:defaultValue.
 java.lang.String getVarName()
          Gets the variable name associated with this Argument.
 
Methods inherited from interface org.topbraid.spin.model.AbstractAttribute
getComment, getPredicate, getValueType, isOptional
 

Method Detail

getArgIndex

java.lang.Integer getArgIndex()
If this is an ordered arg (sp:arg1, sp:arg2, ...) then this returns the index of this, otherwise null.

Returns:
the arg index or null if this does not have an index

getDefaultValue

RDFNode getDefaultValue()
Returns any declared spl:defaultValue.

Returns:
the default value or null

getVarName

java.lang.String getVarName()
Gets the variable name associated with this Argument. This is the local name of the predicate, i.e. implementations can assume that this value is not null iff getPredicate() != null.

Returns:
the variable name