Class Entity

java.lang.Object
org.aksw.qa.commons.datastructure.Entity
All Implemented Interfaces:
Serializable, Comparable<Entity>

public class Entity extends Object implements Serializable, Comparable<Entity>
Author:
ricardousbeck
See Also:
Serialized Form
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • label

      private String label
    • type

      private String type
    • posTypesAndCategories

      private List<org.apache.jena.rdf.model.Resource> posTypesAndCategories
    • uris

      private List<org.apache.jena.rdf.model.Resource> uris
    • offset

      private int offset
  • Constructor Details

    • Entity

      public Entity(String label, String type)
    • Entity

      public Entity()
  • Method Details

    • compareTo

      public int compareTo(Entity o)
      Specified by:
      compareTo in interface Comparable<Entity>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getOffset

      public int getOffset()
    • setOffset

      public void setOffset(int offset)
    • getLabel

      public String getLabel()
    • getType

      public String getType()
    • getPosTypesAndCategories

      public List<org.apache.jena.rdf.model.Resource> getPosTypesAndCategories()
    • getUris

      public List<org.apache.jena.rdf.model.Resource> getUris()
    • setLabel

      public void setLabel(String label)
    • setType

      public void setType(String type)
    • setPosTypesAndCategories

      public void setPosTypesAndCategories(List<org.apache.jena.rdf.model.Resource> posTypesAndCategories)
    • setUris

      public void setUris(List<org.apache.jena.rdf.model.Resource> uris)