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:
-
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_PrefixDecl._Fields,
org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionRDF_PrefixDecl
(String prefix, String uri) RDF_PrefixDecl
(RDF_PrefixDecl other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(RDF_PrefixDecl other) deepCopy()
boolean
boolean
equals
(RDF_PrefixDecl that) fieldForId
(int fieldId) getUri()
int
hashCode()
boolean
isSet
(RDF_PrefixDecl._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
Returns true if field prefix is set (has been assigned a value) and false otherwiseboolean
isSetUri()
Returns true if field uri is set (has been assigned a value) and false otherwisevoid
read
(org.apache.thrift.protocol.TProtocol iprot) void
setFieldValue
(RDF_PrefixDecl._Fields field, Object value) void
setPrefixIsSet
(boolean value) void
setUriIsSet
(boolean value) toString()
void
void
unsetUri()
void
validate()
void
write
(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
prefix
-
uri
-
metaDataMap
public static final Map<RDF_PrefixDecl._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
RDF_PrefixDecl
public RDF_PrefixDecl() -
RDF_PrefixDecl
-
RDF_PrefixDecl
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<RDF_PrefixDecl,
RDF_PrefixDecl._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.thrift.TBase<RDF_PrefixDecl,
RDF_PrefixDecl._Fields>
-
getPrefix
-
setPrefix
-
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
-
setUri
-
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
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<RDF_PrefixDecl,
RDF_PrefixDecl._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<RDF_PrefixDecl,
RDF_PrefixDecl._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_PrefixDecl,
RDF_PrefixDecl._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<RDF_PrefixDecl>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.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 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
-