uk.ac.soton.itinnovation.grid.service.account
Class Account

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.types.GridResource
      extended by uk.ac.soton.itinnovation.grid.service.account.Account

public class Account
extends GridResource


Constructor Summary
Account()
           
 
Method Summary
 String formatAddress()
           
 Date getAccountRequestedDate()
           
 BigDecimal getAvailableCredit()
           
 String getBudgetHolderEmail()
           
 String getBudgetHolderName()
           
 String getBudgetHolderTelephone()
           
 String getClientAddressCity()
           
 String getClientAddressCountryCode()
           
 String getClientAddressPostalCode()
           
 String getClientAddressRegion()
           
 String getClientAddressState()
           
 String getClientAddressStreet()
           
 String getClientAddressTown()
           
 String getClientOrganisationCreditDetails()
           
 BigDecimal getCreditLimit()
           
 String getCurrency()
           
 List<StatementEvent> getEvents()
           
 BigDecimal getLiability()
           
 String getResourceType()
          Return the PBAC type of the resource.
 int getScale()
           
 List<org.apache.axis.message.addressing.EndpointReferenceType> getSupplierResources()
           
 BigDecimal round(BigDecimal value)
          Return a BigDecimal of this value with the correct scale for this account.
 void setAccountRequestedDate(Date value)
           
 void setBudgetHolderEmail(String value)
           
 void setBudgetHolderName(String value)
           
 void setBudgetHolderTelephone(String value)
           
 void setClientAddressCity(String value)
           
 void setClientAddressCountryCode(String value)
           
 void setClientAddressPostalCode(String value)
           
 void setClientAddressRegion(String value)
           
 void setClientAddressState(String value)
           
 void setClientAddressStreet(String value)
           
 void setClientAddressTown(String value)
           
 void setClientOrganisationCreditDetails(String value)
           
 void setCreditLimit(BigDecimal value)
           
 void setCurrency(String currency)
           
 void setEvents(List<StatementEvent> value)
           
 void setLiability(BigDecimal value)
           
 void setResourceType(String resourceType)
           
 void setScale(int scale)
           
 void setSupplierResources(List<org.apache.axis.message.addressing.EndpointReferenceType> value)
           
 
Methods inherited from class uk.ac.soton.itinnovation.grid.service.types.GridResource
equalsByValue, getLabel, getManagementResource, getResourceID, includeInGetResources, setLabel, setManagementResource, setResourceID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Account

public Account()
Method Detail

getAccountRequestedDate

public Date getAccountRequestedDate()

getBudgetHolderName

public String getBudgetHolderName()

getBudgetHolderTelephone

public String getBudgetHolderTelephone()

getBudgetHolderEmail

public String getBudgetHolderEmail()

getClientAddressStreet

public String getClientAddressStreet()

getClientAddressCity

public String getClientAddressCity()

getClientAddressTown

public String getClientAddressTown()

getClientAddressState

public String getClientAddressState()

getClientAddressRegion

public String getClientAddressRegion()

getClientAddressPostalCode

public String getClientAddressPostalCode()

getClientAddressCountryCode

public String getClientAddressCountryCode()

getClientOrganisationCreditDetails

public String getClientOrganisationCreditDetails()

getLiability

public BigDecimal getLiability()

getCreditLimit

public BigDecimal getCreditLimit()

getAvailableCredit

public BigDecimal getAvailableCredit()

getSupplierResources

public List<org.apache.axis.message.addressing.EndpointReferenceType> getSupplierResources()

getEvents

public List<StatementEvent> getEvents()

setAccountRequestedDate

public void setAccountRequestedDate(Date value)

setBudgetHolderName

public void setBudgetHolderName(String value)

setBudgetHolderTelephone

public void setBudgetHolderTelephone(String value)

setBudgetHolderEmail

public void setBudgetHolderEmail(String value)

setClientAddressStreet

public void setClientAddressStreet(String value)

setClientAddressCity

public void setClientAddressCity(String value)

setClientAddressTown

public void setClientAddressTown(String value)

setClientAddressState

public void setClientAddressState(String value)

setClientAddressRegion

public void setClientAddressRegion(String value)

setClientAddressPostalCode

public void setClientAddressPostalCode(String value)

setClientAddressCountryCode

public void setClientAddressCountryCode(String value)

setClientOrganisationCreditDetails

public void setClientOrganisationCreditDetails(String value)

round

public BigDecimal round(BigDecimal value)
                 throws ArithmeticException
Return a BigDecimal of this value with the correct scale for this account. Uses HALF_EVEN rounding mode.

Throws:
ArithmeticException

setLiability

public void setLiability(BigDecimal value)

setCreditLimit

public void setCreditLimit(BigDecimal value)

setSupplierResources

public void setSupplierResources(List<org.apache.axis.message.addressing.EndpointReferenceType> value)

setEvents

public void setEvents(List<StatementEvent> value)

getCurrency

public String getCurrency()

setCurrency

public void setCurrency(String currency)

getScale

public int getScale()

setScale

public void setScale(int scale)

formatAddress

public String formatAddress()

getResourceType

public String getResourceType()
Description copied from class: GridResource
Return the PBAC type of the resource.

Specified by:
getResourceType in class GridResource

setResourceType

public void setResourceType(String resourceType)


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.