public class RDF_Literal extends Object implements org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
RDF_Literal._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
String |
datatype |
RDF_PrefixName |
dtPrefix |
String |
langtag |
String |
lex |
static Map<RDF_Literal._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
RDF_Literal() |
RDF_Literal(RDF_Literal other)
Performs a deep copy on other.
|
RDF_Literal(String lex) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(RDF_Literal other) |
RDF_Literal |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RDF_Literal that) |
RDF_Literal._Fields |
fieldForId(int fieldId) |
String |
getDatatype() |
RDF_PrefixName |
getDtPrefix() |
Object |
getFieldValue(RDF_Literal._Fields field) |
String |
getLangtag() |
String |
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 otherwise
|
boolean |
isSetDatatype()
Returns true if field datatype is set (has been assigned a value) and false otherwise
|
boolean |
isSetDtPrefix()
Returns true if field dtPrefix is set (has been assigned a value) and false otherwise
|
boolean |
isSetLangtag()
Returns true if field langtag is set (has been assigned a value) and false otherwise
|
boolean |
isSetLex()
Returns true if field lex is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
RDF_Literal |
setDatatype(String datatype) |
void |
setDatatypeIsSet(boolean value) |
RDF_Literal |
setDtPrefix(RDF_PrefixName dtPrefix) |
void |
setDtPrefixIsSet(boolean value) |
void |
setFieldValue(RDF_Literal._Fields field,
Object value) |
RDF_Literal |
setLangtag(String langtag) |
void |
setLangtagIsSet(boolean value) |
RDF_Literal |
setLex(String lex) |
void |
setLexIsSet(boolean value) |
String |
toString() |
void |
unsetDatatype() |
void |
unsetDtPrefix() |
void |
unsetLangtag() |
void |
unsetLex() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String lex
public String langtag
public String datatype
public RDF_PrefixName dtPrefix
public static final Map<RDF_Literal._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RDF_Literal()
public RDF_Literal(String lex)
public RDF_Literal(RDF_Literal other)
public RDF_Literal deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
public String getLex()
public RDF_Literal setLex(String lex)
public void unsetLex()
public boolean isSetLex()
public void setLexIsSet(boolean value)
public String getLangtag()
public RDF_Literal setLangtag(String langtag)
public void unsetLangtag()
public boolean isSetLangtag()
public void setLangtagIsSet(boolean value)
public String getDatatype()
public RDF_Literal setDatatype(String datatype)
public void unsetDatatype()
public boolean isSetDatatype()
public void setDatatypeIsSet(boolean value)
public RDF_PrefixName getDtPrefix()
public RDF_Literal setDtPrefix(RDF_PrefixName dtPrefix)
public void unsetDtPrefix()
public boolean isSetDtPrefix()
public void setDtPrefixIsSet(boolean value)
public void setFieldValue(RDF_Literal._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
public Object getFieldValue(RDF_Literal._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
public boolean isSet(RDF_Literal._Fields field)
isSet
in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
public boolean equals(RDF_Literal that)
public int compareTo(RDF_Literal other)
compareTo
in interface Comparable<RDF_Literal>
public RDF_Literal._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Licenced under the Apache License, Version 2.0