public class TypedNamedEntity extends NamedEntity implements TypedSpan
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
types |
uri, urisisWord, length, startPosition| Constructor and Description |
|---|
TypedNamedEntity(int startPosition,
int length,
Set<String> uris,
Set<String> types) |
TypedNamedEntity(int startPosition,
int length,
Set<String> uris,
Set<String> types,
boolean isWord) |
TypedNamedEntity(int startPosition,
int length,
String uri,
Set<String> types) |
TypedNamedEntity(int startPosition,
int length,
String uri,
Set<String> types,
boolean isWord) |
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, setUrisgetIsWord, getLength, getStartPosition, setIsWord, setLength, setStartPositiongetProvenanceInfo, setProvenanceInfofinalize, getClass, notify, notifyAll, wait, wait, waitgetIsWord, getLength, getStartPosition, setIsWord, setLength, setStartPositiongetProvenanceInfo, setProvenanceInfopublic TypedNamedEntity(int startPosition,
int length,
String uri,
Set<String> types)
public TypedNamedEntity(int startPosition,
int length,
Set<String> uris,
Set<String> types)
public TypedNamedEntity(int startPosition,
int length,
String uri,
Set<String> types,
boolean isWord)
public TypedNamedEntity(int startPosition,
int length,
Set<String> uris,
Set<String> types,
boolean isWord)
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 © 2018. All rights reserved.