org.jrdf.query.relation.type
Interface PositionalNodeType
- All Superinterfaces:
- NodeType, Serializable
- All Known Implementing Classes:
- ObjectNodeType, PredicateNodeType, PredicateObjectNodeType, SubjectNodeType, SubjectObjectNodeType, SubjectPredicateNodeType, SubjectPredicateObjectNodeType
public interface PositionalNodeType
- extends NodeType
Node types - data types belong to RDF nodes. Positional node types are those grouped by their position in an RDF
Triple - Subject, Predicate, Object, SubjectPredicate, SubjectObject and SubjectPredicateObject.
- Version:
- $Revision: 1045 $
- Author:
- Andrew Newman
upgrade
PositionalNodeType upgrade(PositionalNodeType newNodeType)
- Given a new node type what is the new compound node type. For example, if this was a SubjectNodeType and
it was given a parameter of ObjectNodeType it should return SubjectObjectNodeType.
- Parameters:
newNodeType - the new node type to upgrade the current node type to.
- Returns:
- the new instance of a compound node type.