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.String
mTargetId
private static long
serialVersionUID
-
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.Object
get()
Gets the feature value as a Java object.java.lang.String
getTargetId()
Gets the ID of the target FeatureStructure.void
setTargetId(java.lang.String aId)
Sets the ID of the target FeatureStructure.java.lang.String
toString()
-
-
-
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:ReferenceValue
Gets the ID of the target FeatureStructure.- Specified by:
getTargetId
in interfaceReferenceValue
- Returns:
- The ID of the target FeatureStructure
-
setTargetId
public void setTargetId(java.lang.String aId)
Description copied from interface:ReferenceValue
Sets the ID of the target FeatureStructure.- Specified by:
setTargetId
in interfaceReferenceValue
- Parameters:
aId
- The ID of the target FeatureStructure
-
get
public java.lang.Object get()
Description copied from interface:FeatureValue
Gets the feature value as a Java object.- Specified by:
get
in interfaceFeatureValue
- Returns:
- the feature value.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-