org.apache.airavata.experiment.execution
Class NameValuePairType

java.lang.Object
  extended by org.apache.airavata.experiment.execution.NameValuePairType
All Implemented Interfaces:
Serializable, Cloneable, Comparable<NameValuePairType>, org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>

public class NameValuePairType
extends Object
implements org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>, Serializable, Cloneable, Comparable<NameValuePairType>

See Also:
Serialized Form

Nested Class Summary
static class NameValuePairType._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String description
           
static Map<NameValuePairType._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 String name
           
 String value
           
 
Constructor Summary
NameValuePairType()
           
NameValuePairType(NameValuePairType other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(NameValuePairType other)
           
 NameValuePairType deepCopy()
           
 boolean equals(NameValuePairType that)
           
 boolean equals(Object that)
           
 NameValuePairType._Fields fieldForId(int fieldId)
           
 String getDescription()
           
 Object getFieldValue(NameValuePairType._Fields field)
           
 String getName()
           
 String getValue()
           
 int hashCode()
           
 boolean isSet(NameValuePairType._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetDescription()
          Returns true if field description is set (has been assigned a value) and false otherwise
 boolean isSetName()
          Returns true if field name is set (has been assigned a value) and false otherwise
 boolean isSetValue()
          Returns true if field value is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 NameValuePairType setDescription(String description)
           
 void setDescriptionIsSet(boolean value)
           
 void setFieldValue(NameValuePairType._Fields field, Object value)
           
 NameValuePairType setName(String name)
           
 void setNameIsSet(boolean value)
           
 NameValuePairType setValue(String value)
           
 void setValueIsSet(boolean value)
           
 String toString()
           
 void unsetDescription()
           
 void unsetName()
           
 void unsetValue()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

value

public String value

description

public String description

metaDataMap

public static final Map<NameValuePairType._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

NameValuePairType

public NameValuePairType()

NameValuePairType

public NameValuePairType(NameValuePairType other)
Performs a deep copy on other.

Method Detail

deepCopy

public NameValuePairType deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>

getName

public String getName()

setName

public NameValuePairType setName(String name)

unsetName

public void unsetName()

isSetName

public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise


setNameIsSet

public void setNameIsSet(boolean value)

getValue

public String getValue()

setValue

public NameValuePairType setValue(String value)

unsetValue

public void unsetValue()

isSetValue

public boolean isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise


setValueIsSet

public void setValueIsSet(boolean value)

getDescription

public String getDescription()

setDescription

public NameValuePairType setDescription(String description)

unsetDescription

public void unsetDescription()

isSetDescription

public boolean isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwise


setDescriptionIsSet

public void setDescriptionIsSet(boolean value)

setFieldValue

public void setFieldValue(NameValuePairType._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>

getFieldValue

public Object getFieldValue(NameValuePairType._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>

isSet

public boolean isSet(NameValuePairType._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(NameValuePairType that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(NameValuePairType other)
Specified by:
compareTo in interface Comparable<NameValuePairType>

fieldForId

public NameValuePairType._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<NameValuePairType,NameValuePairType._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.