Class RDF_PrefixDecl

java.lang.Object
org.apache.jena.riot.thrift.wire.RDF_PrefixDecl
All Implemented Interfaces:
Serializable, Cloneable, Comparable<RDF_PrefixDecl>, org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._Fields>, org.apache.thrift.TSerializable

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

  • Constructor Details

    • RDF_PrefixDecl

      public RDF_PrefixDecl()
    • RDF_PrefixDecl

      public RDF_PrefixDecl(String prefix, String uri)
    • RDF_PrefixDecl

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

    • deepCopy

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

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

      public String getPrefix()
    • setPrefix

      public RDF_PrefixDecl setPrefix(String prefix)
    • unsetPrefix

      public void unsetPrefix()
    • isSetPrefix

      public boolean isSetPrefix()
      Returns true if field prefix is set (has been assigned a value) and false otherwise
    • setPrefixIsSet

      public void setPrefixIsSet(boolean value)
    • getUri

      public String getUri()
    • setUri

      public RDF_PrefixDecl setUri(String uri)
    • unsetUri

      public void unsetUri()
    • isSetUri

      public boolean isSetUri()
      Returns true if field uri is set (has been assigned a value) and false otherwise
    • setUriIsSet

      public void setUriIsSet(boolean value)
    • setFieldValue

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

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

      public boolean isSet(RDF_PrefixDecl._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_PrefixDecl,RDF_PrefixDecl._Fields>
    • equals

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

      public boolean equals(RDF_PrefixDecl that)
    • hashCode

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

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

      public RDF_PrefixDecl._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._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
      Throws:
      org.apache.thrift.TException
    • write

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

      public String toString()
      Overrides:
      toString in class Object
    • validate

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