gov.grants.apply.ws
Class GetApplicationZipBean

java.lang.Object
  |
  +--gov.grants.apply.ws.GetApplicationZipBean

public final class GetApplicationZipBean
extends java.lang.Object

Author:
Grants.gov WebServices Team A transfer object holding resultant data from the GetApplicationZip web service invocation that will be used to create the appropriate SOAP response.

Constructor Summary
GetApplicationZipBean()
           
 
Method Summary
 javax.activation.DataSource getDataSource()
           
 java.lang.String getEncodingType()
           
 gov.grants.apply.WebServices.AgencyIntegrationServices_V1_0.ItemFileLocation getFileLocation()
           
 java.lang.String getFileName()
           
 java.lang.String getMimeType()
           
 java.lang.String getPurpose()
           
 void setDataSource(javax.activation.DataSource dataSource)
          Sets the zip file DataSource, the file name will be set from DataSource.getName()
 void setEncodingType(java.lang.String encodingType)
           
 void setFileLocation(java.lang.String fileLocation)
          Creates the ItemFileLocation object.
 void setZipBytes(byte[] zipBytes, java.lang.String filename)
          Creates the DataSource object out of the byte array.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetApplicationZipBean

public GetApplicationZipBean()
Method Detail

setEncodingType

public final void setEncodingType(java.lang.String encodingType)

getEncodingType

public final java.lang.String getEncodingType()

setFileLocation

public final void setFileLocation(java.lang.String fileLocation)
                           throws org.apache.axis.types.URI.MalformedURIException
Creates the ItemFileLocation object.
Parameters:
fileLocation - The file location string.
Throws:
MalformedURIException - If the fileLocation argument is not a proper URI.

setZipBytes

public final void setZipBytes(byte[] zipBytes,
                              java.lang.String filename)
Creates the DataSource object out of the byte array.
Parameters:
zipBytes - The zip in bytes.
filename - The name of the zip file.

setDataSource

public final void setDataSource(javax.activation.DataSource dataSource)
Sets the zip file DataSource, the file name will be set from DataSource.getName()
Parameters:
dataSource - The zip file.
See Also:
DataSource.getName()

getDataSource

public final javax.activation.DataSource getDataSource()
Returns:
The DataSource

getFileLocation

public final gov.grants.apply.WebServices.AgencyIntegrationServices_V1_0.ItemFileLocation getFileLocation()
Returns:
The file location

getFileName

public final java.lang.String getFileName()
Returns:
The file name

getMimeType

public final java.lang.String getMimeType()
Returns:
The constant mime type: "application/zip"

getPurpose

public final java.lang.String getPurpose()
Returns:
The constant purpose string: "GrantApplication Zip"