Class EntityAttribute

java.lang.Object
com.lexalytics.salience.EntityAttribute

public class EntityAttribute
extends java.lang.Object

A Entity Attribute represents an additional hand coded piece of information about the entity.

  • Constructor Summary

    Constructors 
    Constructor Description
    EntityAttribute​(java.lang.String sAttributeName, java.lang.String sAttributeValue)
    Creates a new EntityAttribute.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getAttributeName()
    The entity attribute label
    java.lang.String getAttributeValue()
    The entity attribute value

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EntityAttribute

      public EntityAttribute​(java.lang.String sAttributeName, java.lang.String sAttributeValue)
      Creates a new EntityAttribute. This is not intended for client use.
      Parameters:
      sAttributeName - The attribute name.
      sValue - The attribute value.
  • Method Details

    • getAttributeName

      public java.lang.String getAttributeName()
      The entity attribute label
      Returns:
      A String object with the entity attribute label.
    • getAttributeValue

      public java.lang.String getAttributeValue()
      The entity attribute value
      Returns:
      A String ojbect with the entity attribute value.