com.amazonaws.mturk.requester
Class BlockWorker

java.lang.Object
  extended by com.amazonaws.mturk.requester.BlockWorker
All Implemented Interfaces:
java.io.Serializable

public class BlockWorker
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
BlockWorker()
           
BlockWorker(java.lang.String AWSAccessKeyId, java.util.Calendar timestamp, java.lang.String signature, java.lang.String validate, java.lang.String credential, BlockWorkerRequest[] request)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAWSAccessKeyId()
          Gets the AWSAccessKeyId value for this BlockWorker.
 java.lang.String getCredential()
          Gets the credential value for this BlockWorker.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 BlockWorkerRequest[] getRequest()
          Gets the request value for this BlockWorker.
 BlockWorkerRequest getRequest(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getSignature()
          Gets the signature value for this BlockWorker.
 java.util.Calendar getTimestamp()
          Gets the timestamp value for this BlockWorker.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getValidate()
          Gets the validate value for this BlockWorker.
 int hashCode()
           
 void setAWSAccessKeyId(java.lang.String AWSAccessKeyId)
          Sets the AWSAccessKeyId value for this BlockWorker.
 void setCredential(java.lang.String credential)
          Sets the credential value for this BlockWorker.
 void setRequest(BlockWorkerRequest[] request)
          Sets the request value for this BlockWorker.
 void setRequest(int i, BlockWorkerRequest _value)
           
 void setSignature(java.lang.String signature)
          Sets the signature value for this BlockWorker.
 void setTimestamp(java.util.Calendar timestamp)
          Sets the timestamp value for this BlockWorker.
 void setValidate(java.lang.String validate)
          Sets the validate value for this BlockWorker.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockWorker

public BlockWorker()

BlockWorker

public BlockWorker(java.lang.String AWSAccessKeyId,
                   java.util.Calendar timestamp,
                   java.lang.String signature,
                   java.lang.String validate,
                   java.lang.String credential,
                   BlockWorkerRequest[] request)
Method Detail

getAWSAccessKeyId

public java.lang.String getAWSAccessKeyId()
Gets the AWSAccessKeyId value for this BlockWorker.

Returns:
AWSAccessKeyId

setAWSAccessKeyId

public void setAWSAccessKeyId(java.lang.String AWSAccessKeyId)
Sets the AWSAccessKeyId value for this BlockWorker.

Parameters:
AWSAccessKeyId -

getTimestamp

public java.util.Calendar getTimestamp()
Gets the timestamp value for this BlockWorker.

Returns:
timestamp

setTimestamp

public void setTimestamp(java.util.Calendar timestamp)
Sets the timestamp value for this BlockWorker.

Parameters:
timestamp -

getSignature

public java.lang.String getSignature()
Gets the signature value for this BlockWorker.

Returns:
signature

setSignature

public void setSignature(java.lang.String signature)
Sets the signature value for this BlockWorker.

Parameters:
signature -

getValidate

public java.lang.String getValidate()
Gets the validate value for this BlockWorker.

Returns:
validate

setValidate

public void setValidate(java.lang.String validate)
Sets the validate value for this BlockWorker.

Parameters:
validate -

getCredential

public java.lang.String getCredential()
Gets the credential value for this BlockWorker.

Returns:
credential

setCredential

public void setCredential(java.lang.String credential)
Sets the credential value for this BlockWorker.

Parameters:
credential -

getRequest

public BlockWorkerRequest[] getRequest()
Gets the request value for this BlockWorker.

Returns:
request

setRequest

public void setRequest(BlockWorkerRequest[] request)
Sets the request value for this BlockWorker.

Parameters:
request -

getRequest

public BlockWorkerRequest getRequest(int i)

setRequest

public void setRequest(int i,
                       BlockWorkerRequest _value)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer