Class FeatureValue

java.lang.Object
org.apache.uima.caseditor.editor.FeatureValue
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable

public final class FeatureValue extends Object implements org.eclipse.core.runtime.IAdaptable
The Class FeatureValue.
  • Constructor Details

    • FeatureValue

      public FeatureValue(ICasDocument document, FeatureStructure structure, Feature feature)
      Initializes a new instance.
      Parameters:
      document - the document
      structure - the structure
      feature - the feature
  • Method Details

    • getFeatureStructure

      public FeatureStructure getFeatureStructure()
      Gets the feature structure.
      Returns:
      the feature structure
    • getValue

      public Object getValue()
      Gets the value.
      Returns:
      the value
    • getAdapter

      public Object getAdapter(Class adapter)
      Specified by:
      getAdapter in interface org.eclipse.core.runtime.IAdaptable
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getFeature

      public Feature getFeature()
      Retrieves the Feature.
      Returns:
      the Feature