Package org.apache.storm.generated
Class JavaObject
- java.lang.Object
-
- org.apache.storm.generated.JavaObject
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<JavaObject>
,org.apache.storm.thrift.TBase<JavaObject,JavaObject._Fields>
,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class JavaObject extends Object implements org.apache.storm.thrift.TBase<JavaObject,JavaObject._Fields>, Serializable, Cloneable, Comparable<JavaObject>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavaObject._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<JavaObject._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description JavaObject()
JavaObject(String full_class_name, List<JavaObjectArg> args_list)
JavaObject(JavaObject other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add_to_args_list(JavaObjectArg elem)
void
clear()
int
compareTo(JavaObject other)
JavaObject
deepCopy()
boolean
equals(Object that)
boolean
equals(JavaObject that)
JavaObject._Fields
fieldForId(int fieldId)
List<JavaObjectArg>
get_args_list()
Iterator<JavaObjectArg>
get_args_list_iterator()
int
get_args_list_size()
String
get_full_class_name()
Object
getFieldValue(JavaObject._Fields field)
int
hashCode()
boolean
is_set_args_list()
Returns true if field args_list is set (has been assigned a value) and false otherwiseboolean
is_set_full_class_name()
Returns true if field full_class_name is set (has been assigned a value) and false otherwiseboolean
isSet(JavaObject._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read(org.apache.storm.thrift.protocol.TProtocol iprot)
void
set_args_list(List<JavaObjectArg> args_list)
void
set_args_list_isSet(boolean value)
void
set_full_class_name(String full_class_name)
void
set_full_class_name_isSet(boolean value)
void
setFieldValue(JavaObject._Fields field, Object value)
String
toString()
void
unset_args_list()
void
unset_full_class_name()
void
validate()
void
write(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<JavaObject._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
JavaObject
public JavaObject()
-
JavaObject
public JavaObject(String full_class_name, List<JavaObjectArg> args_list)
-
JavaObject
public JavaObject(JavaObject other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public JavaObject deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<JavaObject,JavaObject._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<JavaObject,JavaObject._Fields>
-
get_full_class_name
public String get_full_class_name()
-
set_full_class_name
public void set_full_class_name(String full_class_name)
-
unset_full_class_name
public void unset_full_class_name()
-
is_set_full_class_name
public boolean is_set_full_class_name()
Returns true if field full_class_name is set (has been assigned a value) and false otherwise
-
set_full_class_name_isSet
public void set_full_class_name_isSet(boolean value)
-
get_args_list_size
public int get_args_list_size()
-
get_args_list_iterator
public Iterator<JavaObjectArg> get_args_list_iterator()
-
add_to_args_list
public void add_to_args_list(JavaObjectArg elem)
-
get_args_list
public List<JavaObjectArg> get_args_list()
-
set_args_list
public void set_args_list(List<JavaObjectArg> args_list)
-
unset_args_list
public void unset_args_list()
-
is_set_args_list
public boolean is_set_args_list()
Returns true if field args_list is set (has been assigned a value) and false otherwise
-
set_args_list_isSet
public void set_args_list_isSet(boolean value)
-
setFieldValue
public void setFieldValue(JavaObject._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<JavaObject,JavaObject._Fields>
-
getFieldValue
public Object getFieldValue(JavaObject._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<JavaObject,JavaObject._Fields>
-
isSet
public boolean isSet(JavaObject._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<JavaObject,JavaObject._Fields>
-
equals
public boolean equals(JavaObject that)
-
compareTo
public int compareTo(JavaObject other)
- Specified by:
compareTo
in interfaceComparable<JavaObject>
-
fieldForId
public JavaObject._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<JavaObject,JavaObject._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
- Specified by:
read
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
- Specified by:
write
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
validate
public void validate() throws org.apache.storm.thrift.TException
- Throws:
org.apache.storm.thrift.TException
-
-