public class TypedNamedEntity extends NamedEntity implements TypedSpan
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
types |
uri, urislength, startPosition| Constructor and Description |
|---|
TypedNamedEntity(int startPosition,
int length,
Set<String> uris,
Set<String> types) |
TypedNamedEntity(int startPosition,
int length,
String uri,
Set<String> types) |
TypedNamedEntity(TypedNamedEntity typedNamedEntity) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
Set<String> |
getTypes() |
int |
hashCode() |
void |
setTypes(Set<String> types) |
String |
toString() |
addUri, containsUri, getUri, getUris, setUri, setUrisgetLength, getStartPosition, setLength, setStartPositionfinalize, getClass, notify, notifyAll, wait, wait, waitgetLength, getStartPosition, setLength, setStartPositionpublic TypedNamedEntity(int startPosition,
int length,
String uri,
Set<String> types)
public TypedNamedEntity(int startPosition,
int length,
Set<String> uris,
Set<String> types)
public TypedNamedEntity(TypedNamedEntity typedNamedEntity)
public Set<String> getTypes()
getTypes in interface TypedMarkingpublic void setTypes(Set<String> types)
setTypes in interface TypedMarkingpublic String toString()
toString in interface MarkingtoString in class NamedEntitypublic int hashCode()
hashCode in class NamedEntitypublic boolean equals(Object obj)
equals in class NamedEntitypublic Object clone() throws CloneNotSupportedException
clone in interface Markingclone in class NamedEntityCloneNotSupportedExceptionCopyright © 2016. All rights reserved.