org.ow2.weblab.portlet.bean
Class NamedEntity
java.lang.Object
org.ow2.weblab.portlet.bean.NamedEntity
public class NamedEntity
- extends java.lang.Object
Bean class representing a Named Entity A named entity has properties like
start and end offset in a text, Value like "Person", URItype like
"http://weblab.eads.com/property/gate/annotation" Style class name like
"_annotation_gate_person"
- Author:
- emilien
|
Constructor Summary |
NamedEntity(int startOffset,
int endOffset,
java.lang.String entityLabel,
java.lang.String entityURI,
java.lang.String entityClassURI,
boolean isCandidate)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedEntity
public NamedEntity(int startOffset,
int endOffset,
java.lang.String entityLabel,
java.lang.String entityURI,
java.lang.String entityClassURI,
boolean isCandidate)
- Parameters:
startOffset - endOffset - entityLabel - entityURI -
getStartOffset
public int getStartOffset()
- Returns:
- the startOffset
isCandidate
public boolean isCandidate()
- Returns:
- the isCandidate
setCandidate
public void setCandidate(boolean isCandidate)
- Parameters:
isCandidate - the isCandidate to set
setStartOffset
public void setStartOffset(int startOffset)
- Parameters:
startOffset - the startOffset to set
getEndOffset
public int getEndOffset()
- Returns:
- the endOffset
setEndOffset
public void setEndOffset(int endOffset)
- Parameters:
endOffset - the endOffset to set
getEntityLabel
public java.lang.String getEntityLabel()
- Returns:
- the entityLabel
setEntityLabel
public void setEntityLabel(java.lang.String entityLabel)
- Parameters:
entityLabel - the entityLabel to set
getEntityURI
public java.lang.String getEntityURI()
- Returns:
- the entityURI
setEntityURI
public void setEntityURI(java.lang.String entityURI)
- Parameters:
entityURI - the entityURI to set
getEntityClassURI
public java.lang.String getEntityClassURI()
- Returns:
- the entityClassURI
setEntityClassURI
public void setEntityClassURI(java.lang.String entityClassURI)
- Parameters:
entityClassURI - the entityClassURI to set
Copyright © 2004-2011. All Rights Reserved.