java.lang.Object
org.apache.jena.riot.thrift.wire.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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<RDF_Literal._Fields,
org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionRDF_Literal
(String lex) RDF_Literal
(RDF_Literal other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(RDF_Literal other) deepCopy()
boolean
boolean
equals
(RDF_Literal that) fieldForId
(int fieldId) getFieldValue
(RDF_Literal._Fields field) getLex()
int
hashCode()
boolean
isSet
(RDF_Literal._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
Returns true if field datatype is set (has been assigned a value) and false otherwiseboolean
Returns true if field dtPrefix is set (has been assigned a value) and false otherwiseboolean
Returns true if field langtag is set (has been assigned a value) and false otherwiseboolean
isSetLex()
Returns true if field lex is set (has been assigned a value) and false otherwisevoid
read
(org.apache.thrift.protocol.TProtocol iprot) setDatatype
(String datatype) void
setDatatypeIsSet
(boolean value) setDtPrefix
(RDF_PrefixName dtPrefix) void
setDtPrefixIsSet
(boolean value) void
setFieldValue
(RDF_Literal._Fields field, Object value) setLangtag
(String langtag) void
setLangtagIsSet
(boolean value) void
setLexIsSet
(boolean value) toString()
void
void
void
void
unsetLex()
void
validate()
void
write
(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
lex
-
langtag
-
datatype
-
dtPrefix
-
metaDataMap
-
-
Constructor Details
-
RDF_Literal
public RDF_Literal() -
RDF_Literal
-
RDF_Literal
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<RDF_Literal,
RDF_Literal._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.thrift.TBase<RDF_Literal,
RDF_Literal._Fields>
-
getLex
-
setLex
-
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
-
setLangtag
-
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
-
setDatatype
-
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
-
setDtPrefix
-
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
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<RDF_Literal,
RDF_Literal._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<RDF_Literal,
RDF_Literal._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<RDF_Literal,
RDF_Literal._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<RDF_Literal>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.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 interfaceorg.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 interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-