org.apache.stanbol.entityhub.servicesapi.query
Class ReferenceConstraint

java.lang.Object
  extended by org.apache.stanbol.entityhub.servicesapi.query.Constraint
      extended by org.apache.stanbol.entityhub.servicesapi.query.ValueConstraint
          extended by org.apache.stanbol.entityhub.servicesapi.query.ReferenceConstraint

public class ReferenceConstraint
extends ValueConstraint


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.stanbol.entityhub.servicesapi.query.ValueConstraint
ValueConstraint.MODE
 
Nested classes/interfaces inherited from class org.apache.stanbol.entityhub.servicesapi.query.Constraint
Constraint.ConstraintType
 
Field Summary
 
Fields inherited from class org.apache.stanbol.entityhub.servicesapi.query.ValueConstraint
DEFAULT_MODE
 
Constructor Summary
ReferenceConstraint(Collection<String> references)
           
ReferenceConstraint(Collection<String> references, ValueConstraint.MODE mode)
           
ReferenceConstraint(String reference)
           
 
Method Summary
 Set<String> getReferences()
          Getter for the Reference
 
Methods inherited from class org.apache.stanbol.entityhub.servicesapi.query.ValueConstraint
getDataTypes, getMode, getValues, toString
 
Methods inherited from class org.apache.stanbol.entityhub.servicesapi.query.Constraint
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReferenceConstraint

public ReferenceConstraint(String reference)

ReferenceConstraint

public ReferenceConstraint(Collection<String> references)

ReferenceConstraint

public ReferenceConstraint(Collection<String> references,
                           ValueConstraint.MODE mode)
Method Detail

getReferences

public Set<String> getReferences()
Getter for the Reference

Returns:
the reference


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.