org.jrdf.query.relation
Interface Attribute

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttributeImpl

public interface Attribute
extends Serializable

The attribute-name:type-name combination.

Version:
$Revision: 1804 $
Author:
Andrew Newman

Method Summary
 AttributeName getAttributeName()
          The name of the attribute - either a variable name or some assigned name.
 NodeType getType()
          The type of the attribute - either subject, predicate, object or URI, Literal or bnode.
 

Method Detail

getAttributeName

AttributeName getAttributeName()
The name of the attribute - either a variable name or some assigned name.

Returns:
the name of the attribute.

getType

NodeType getType()
The type of the attribute - either subject, predicate, object or URI, Literal or bnode. URIs, Literals and bnodes are disjoin whereas subject, predicates and objects have an type inheritance.

Returns:
the type of the attribute.