Class RDF_Literal

All Implemented Interfaces:
Serializable, Cloneable, Comparable<RDF_Literal>, org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>, org.apache.thrift.TSerializable

public class RDF_Literal extends Object implements org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>, Serializable, Cloneable, Comparable<RDF_Literal>
See Also:
  • Field Details

  • Constructor Details

    • RDF_Literal

      public RDF_Literal()
    • RDF_Literal

      public RDF_Literal(String lex)
    • RDF_Literal

      public RDF_Literal(RDF_Literal other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public RDF_Literal deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
    • getLex

      public String getLex()
    • setLex

      public RDF_Literal setLex(String lex)
    • unsetLex

      public void unsetLex()
    • isSetLex

      public boolean isSetLex()
      Returns true if field lex is set (has been assigned a value) and false otherwise
    • setLexIsSet

      public void setLexIsSet(boolean value)
    • getLangtag

      public String getLangtag()
    • setLangtag

      public RDF_Literal setLangtag(String langtag)
    • unsetLangtag

      public void unsetLangtag()
    • isSetLangtag

      public boolean isSetLangtag()
      Returns true if field langtag is set (has been assigned a value) and false otherwise
    • setLangtagIsSet

      public void setLangtagIsSet(boolean value)
    • getDatatype

      public String getDatatype()
    • setDatatype

      public RDF_Literal setDatatype(String datatype)
    • unsetDatatype

      public void unsetDatatype()
    • isSetDatatype

      public boolean isSetDatatype()
      Returns true if field datatype is set (has been assigned a value) and false otherwise
    • setDatatypeIsSet

      public void setDatatypeIsSet(boolean value)
    • getDtPrefix

      public RDF_PrefixName getDtPrefix()
    • setDtPrefix

      public RDF_Literal setDtPrefix(RDF_PrefixName dtPrefix)
    • unsetDtPrefix

      public void unsetDtPrefix()
    • isSetDtPrefix

      public boolean isSetDtPrefix()
      Returns true if field dtPrefix is set (has been assigned a value) and false otherwise
    • setDtPrefixIsSet

      public void setDtPrefixIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(RDF_Literal._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
    • getFieldValue

      public Object getFieldValue(RDF_Literal._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
    • isSet

      public boolean isSet(RDF_Literal._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
    • equals

      public boolean equals(Object that)
      equals in class Object
    • equals

      public boolean equals(RDF_Literal that)
    • hashCode

      public int hashCode()
      hashCode in class Object
    • compareTo

      public int compareTo(RDF_Literal other)
      Specified by:
      compareTo in interface Comparable<RDF_Literal>
    • fieldForId

      public RDF_Literal._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
    • write

      public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
    • toString

      public String toString()
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException