public class RDF_PrefixDecl extends Object implements org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
RDF_PrefixDecl._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<RDF_PrefixDecl._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
prefix |
String |
uri |
Constructor and Description |
---|
RDF_PrefixDecl() |
RDF_PrefixDecl(RDF_PrefixDecl other)
Performs a deep copy on other.
|
RDF_PrefixDecl(String prefix,
String uri) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(RDF_PrefixDecl other) |
RDF_PrefixDecl |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RDF_PrefixDecl that) |
RDF_PrefixDecl._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(RDF_PrefixDecl._Fields field) |
String |
getPrefix() |
String |
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 otherwise
|
boolean |
isSetPrefix()
Returns true if field prefix is set (has been assigned a value) and false otherwise
|
boolean |
isSetUri()
Returns true if field uri is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(RDF_PrefixDecl._Fields field,
Object value) |
RDF_PrefixDecl |
setPrefix(String prefix) |
void |
setPrefixIsSet(boolean value) |
RDF_PrefixDecl |
setUri(String uri) |
void |
setUriIsSet(boolean value) |
String |
toString() |
void |
unsetPrefix() |
void |
unsetUri() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String prefix
public String uri
public static final Map<RDF_PrefixDecl._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RDF_PrefixDecl()
public RDF_PrefixDecl(RDF_PrefixDecl other)
public RDF_PrefixDecl deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._Fields>
public String getPrefix()
public RDF_PrefixDecl setPrefix(String prefix)
public void unsetPrefix()
public boolean isSetPrefix()
public void setPrefixIsSet(boolean value)
public String getUri()
public RDF_PrefixDecl setUri(String uri)
public void unsetUri()
public boolean isSetUri()
public void setUriIsSet(boolean value)
public void setFieldValue(RDF_PrefixDecl._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._Fields>
public Object getFieldValue(RDF_PrefixDecl._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._Fields>
public boolean isSet(RDF_PrefixDecl._Fields field)
isSet
in interface org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._Fields>
public boolean equals(RDF_PrefixDecl that)
public int compareTo(RDF_PrefixDecl other)
compareTo
in interface Comparable<RDF_PrefixDecl>
public RDF_PrefixDecl._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RDF_PrefixDecl,RDF_PrefixDecl._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_PrefixDecl,RDF_PrefixDecl._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