public class Entity extends Object implements Serializable, Comparable<Entity>
| Modifier and Type | Field and Description |
|---|---|
private String |
label |
private int |
offset |
private List<org.apache.jena.rdf.model.Resource> |
posTypesAndCategories |
private static long |
serialVersionUID |
private String |
type |
private List<org.apache.jena.rdf.model.Resource> |
uris |
| Constructor and Description |
|---|
Entity() |
Entity(String label,
String type) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Entity o) |
boolean |
equals(Object obj) |
String |
getLabel() |
int |
getOffset() |
List<org.apache.jena.rdf.model.Resource> |
getPosTypesAndCategories() |
String |
getType() |
List<org.apache.jena.rdf.model.Resource> |
getUris() |
int |
hashCode() |
void |
setLabel(String label) |
void |
setOffset(int offset) |
void |
setPosTypesAndCategories(List<org.apache.jena.rdf.model.Resource> posTypesAndCategories) |
void |
setType(String type) |
void |
setUris(List<org.apache.jena.rdf.model.Resource> uris) |
String |
toString() |
private static final long serialVersionUID
private String label
private String type
private List<org.apache.jena.rdf.model.Resource> posTypesAndCategories
private List<org.apache.jena.rdf.model.Resource> uris
private int offset
public int compareTo(Entity o)
compareTo in interface Comparable<Entity>public int getOffset()
public void setOffset(int offset)
public String getLabel()
public String getType()
public List<org.apache.jena.rdf.model.Resource> getPosTypesAndCategories()
public List<org.apache.jena.rdf.model.Resource> getUris()
public void setLabel(String label)
public void setType(String type)
public void setPosTypesAndCategories(List<org.apache.jena.rdf.model.Resource> posTypesAndCategories)
public void setUris(List<org.apache.jena.rdf.model.Resource> uris)
Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.