Package org.apache.uima.cas_data.impl
Class ReferenceValueImpl
- java.lang.Object
-
- org.apache.uima.cas_data.impl.ReferenceValueImpl
-
- All Implemented Interfaces:
java.io.Serializable,FeatureValue,ReferenceValue
public class ReferenceValueImpl extends java.lang.Object implements ReferenceValue
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringmTargetIdprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ReferenceValueImpl(java.lang.String aTargetId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget()Gets the feature value as a Java object.java.lang.StringgetTargetId()Gets the ID of the target FeatureStructure.voidsetTargetId(java.lang.String aId)Sets the ID of the target FeatureStructure.java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
mTargetId
private java.lang.String mTargetId
-
-
Method Detail
-
getTargetId
public java.lang.String getTargetId()
Description copied from interface:ReferenceValueGets the ID of the target FeatureStructure.- Specified by:
getTargetIdin interfaceReferenceValue- Returns:
- The ID of the target FeatureStructure
-
setTargetId
public void setTargetId(java.lang.String aId)
Description copied from interface:ReferenceValueSets the ID of the target FeatureStructure.- Specified by:
setTargetIdin interfaceReferenceValue- Parameters:
aId- The ID of the target FeatureStructure
-
get
public java.lang.Object get()
Description copied from interface:FeatureValueGets the feature value as a Java object.- Specified by:
getin interfaceFeatureValue- Returns:
- the feature value.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-