org.openanzo.server.repository.querybuilder
Interface ObjectGrounding.FixedValue

All Superinterfaces:
ObjectGrounding
All Known Implementing Classes:
ObjectGrounding.FixedRdfValue
Enclosing interface:
ObjectGrounding

public static interface ObjectGrounding.FixedValue
extends ObjectGrounding

Object grounding for an RDF resources with a fixed value.

Author:
Joe Betz

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openanzo.server.repository.querybuilder.ObjectGrounding
ObjectGrounding.FixedRdfValue, ObjectGrounding.FixedValue, ObjectGrounding.RdbColumn
 
Field Summary
 
Fields inherited from interface org.openanzo.server.repository.querybuilder.ObjectGrounding
RdfValue, Resource
 
Method Summary
 java.lang.Long getId(CompositeNodeLayout nodeLayout)
          Get the ID of the node for the fixed value
 IRdbTerm getValue()
          Get the fixed value for this grounding
 boolean isExactMatch(org.openrdf.model.Value value)
          Determine if the fixed value matches the provided value
 
Methods inherited from interface org.openanzo.server.repository.querybuilder.ObjectGrounding
isValidObject
 

Method Detail

getValue

IRdbTerm getValue()
Get the fixed value for this grounding

Returns:
the fixed value for this grounding

getId

java.lang.Long getId(CompositeNodeLayout nodeLayout)
Get the ID of the node for the fixed value

Parameters:
nodeLayout - CompositeNodeLayout to retrieve URIs and Node values
Returns:
the ID of the node for the fixed value

isExactMatch

boolean isExactMatch(org.openrdf.model.Value value)
Determine if the fixed value matches the provided value

Parameters:
value - value to determine match
Returns:
if the fixed value matches the provided value


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.