public class WikipediaRevision
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
WikipediaRevision()
Never called.
|
|
WikipediaRevision(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
WikipediaRevision(org.apache.uima.jcas.JCas jcas) |
|
WikipediaRevision(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
getter for comment - gets The comment that the editor entered for this revision.
|
int |
getContributorId()
getter for contributorId - gets The userId of the user/contributor who created this revision
|
String |
getContributorName()
getter for contributorName - gets The username of the user/contributor who edited this revision.
|
boolean |
getMinor()
getter for minor - gets Whether this revision has been marked as minor edit by its contributor.
|
int |
getPageId()
getter for pageId - gets The pageId of the Wikipedia page of this revision.
|
int |
getRevisionId()
getter for revisionId - gets The ID of the revision.
|
long |
getTimestamp()
getter for timestamp - gets The timestamp of the revision, given in milliseconds since the standard base time (January 1, 1970, 00:00:00 GMT)
|
int |
getTypeIndexID() |
void |
setComment(String v)
setter for comment - sets The comment that the editor entered for this revision.
|
void |
setContributorId(int v)
setter for contributorId - sets The userId of the user/contributor who created this revision
|
void |
setContributorName(String v)
setter for contributorName - sets The username of the user/contributor who edited this revision.
|
void |
setMinor(boolean v)
setter for minor - sets Whether this revision has been marked as minor edit by its contributor.
|
void |
setPageId(int v)
setter for pageId - sets The pageId of the Wikipedia page of this revision.
|
void |
setRevisionId(int v)
setter for revisionId - sets The ID of the revision.
|
void |
setTimestamp(long v)
setter for timestamp - sets The timestamp of the revision, given in milliseconds since the standard base time (January 1, 1970, 00:00:00 GMT)
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
protected WikipediaRevision()
public WikipediaRevision(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic WikipediaRevision(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic WikipediaRevision(org.apache.uima.jcas.JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
public int getRevisionId()
public void setRevisionId(int v)
v
- value to set into the featurepublic int getPageId()
public void setPageId(int v)
v
- value to set into the featurepublic String getContributorName()
public void setContributorName(String v)
v
- value to set into the featurepublic String getComment()
public void setComment(String v)
v
- value to set into the featurepublic int getContributorId()
public void setContributorId(int v)
v
- value to set into the featurepublic long getTimestamp()
public void setTimestamp(long v)
v
- value to set into the featurepublic boolean getMinor()
public void setMinor(boolean v)
v
- value to set into the featureCopyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.