org.apache.stanbol.entityhub.jersey.grefine
Class ReconcileValue

java.lang.Object
  extended by org.apache.stanbol.entityhub.jersey.grefine.ReconcileValue

public class ReconcileValue
extends Object

Values can be simple JSON values or JSON objects with an 'id' and a 'name'. This is mapped to ReconcileValue objects with an optional getId() and a required getValue().

The 'id' supports prefix:localname syntax for prefixes defined within the NamespaceEnum

Author:
Rupert Westenthaler

Method Summary
 boolean equals(Object o)
           
 String getId()
          The getter for the value of the 'id' property of the 'v' object if present.
 Object getValue()
           
 int hashCode()
           
 String toString()
          Calls the toString() method of the getValue()
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public String getId()
The getter for the value of the 'id' property of the 'v' object if present. This represents the value of fields that are already successfully linked (reconciled) with some entity.

Returns:
the id

getValue

public Object getValue()
Returns:
the value

toString

public String toString()
Calls the toString() method of the getValue()

Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


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