Class TLcdOGCLiteral

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.TLcdOGCLiteral
All Implemented Interfaces:
ILcdDataObject, ILcdGenericExpression, ILcdOGCExpression, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdOGCLiteral extends TLcdDataObject implements ILcdOGCExpression

This class represents the <ogc:Literal> element.

A literal value is to be used exactly as it is specified.

  • Constructor Details

    • TLcdOGCLiteral

      public TLcdOGCLiteral()
      Default constructor.
    • TLcdOGCLiteral

      public TLcdOGCLiteral(Object aValue)
      Constructs a TLcdOGCLiteral instance with a given value.
      Parameters:
      aValue - the value object for the literal
  • Method Details

    • getValue

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

      public void setValue(Object aValue)
      Sets the literal value.
      Parameters:
      aValue - the literal value.
    • toString

      public String toString()
      Overrides:
      toString in class TLcdDataObject
      Returns:
      a string representation of the literal's value
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object