public class MetaDataStringField
extends org.apache.uima.jcas.tcas.Annotation
A general purpose annotation to store document-wide information in the form of arbitrary key-value string pairs.
Updated by JCasGen Wed Jan 03 03:06:21 CET 2018 XML source: /Users/bluefire/git/dkpro-core/target/checkout/dkpro-core-api-metadata-asl/target/jcasgen/typesystem.xmlModifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
MetaDataStringField()
Never called.
|
|
MetaDataStringField(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
MetaDataStringField(org.apache.uima.jcas.JCas jcas) |
|
MetaDataStringField(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
getter for key - gets Name of a metadata field.
|
int |
getTypeIndexID() |
String |
getValue()
getter for value - gets The field value.
|
void |
setKey(String v)
setter for key - sets Name of a metadata field.
|
void |
setValue(String v)
setter for value - sets The field value.
|
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 MetaDataStringField()
public MetaDataStringField(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic MetaDataStringField(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic MetaDataStringField(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 String getKey()
public void setKey(String v)
v
- value to set into the featurepublic String getValue()
public void setValue(String v)
v
- value to set into the featureCopyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.