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
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<RDF_Literal._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionRDF_Literal(String lex) RDF_Literal(RDF_Literal other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(RDF_Literal other) deepCopy()booleanbooleanequals(RDF_Literal that) fieldForId(int fieldId) getFieldValue(RDF_Literal._Fields field) getLex()inthashCode()booleanisSet(RDF_Literal._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field baseDirection is set (has been assigned a value) and false otherwisebooleanReturns true if field datatype is set (has been assigned a value) and false otherwisebooleanReturns true if field dtPrefix is set (has been assigned a value) and false otherwisebooleanReturns true if field langtag is set (has been assigned a value) and false otherwisebooleanisSetLex()Returns true if field lex is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setBaseDirection(String baseDirection) voidsetBaseDirectionIsSet(boolean value) setDatatype(String datatype) voidsetDatatypeIsSet(boolean value) setDtPrefix(RDF_PrefixName dtPrefix) voidsetDtPrefixIsSet(boolean value) voidsetFieldValue(RDF_Literal._Fields field, Object value) setLangtag(String langtag) voidsetLangtagIsSet(boolean value) voidsetLexIsSet(boolean value) toString()voidvoidvoidvoidvoidunsetLex()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
lex
-
langtag
-
baseDirection
-
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:
deepCopyin interfaceorg.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
-
clear
public void clear()- Specified by:
clearin 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) -
getBaseDirection
-
setBaseDirection
-
unsetBaseDirection
public void unsetBaseDirection() -
isSetBaseDirection
public boolean isSetBaseDirection()Returns true if field baseDirection is set (has been assigned a value) and false otherwise -
setBaseDirectionIsSet
public void setBaseDirectionIsSet(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:
setFieldValuein interfaceorg.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
-
getFieldValue
- Specified by:
getFieldValuein 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:
isSetin interfaceorg.apache.thrift.TBase<RDF_Literal,RDF_Literal._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RDF_Literal>
-
fieldForId
- Specified by:
fieldForIdin 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:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-