uk.ac.soton.itinnovation.grid.service.sla.upgrade.v5_1_x.model
Class SLATemplate5_1alpha

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.types.GridResource
      extended by uk.ac.soton.itinnovation.grid.service.sla.upgrade.v5_1_x.model.SLATemplate5_1alpha

public class SLATemplate5_1alpha
extends GridResource


Field Summary
static String SLA_TEMPLATE_RESOURCE_TYPE
           
 
Constructor Summary
SLATemplate5_1alpha()
           
 
Method Summary
 TimePeriod getBillingPeriod()
           
 Constraint5_1alpha[] getConstraints()
           
 String getCurrency()
           
 String getDescription()
           
 Calendar getEndTime()
           
 PermittedService[] getPermittedServices()
           
 PricingTerm5_1alpha[] getPricingTerms()
           
 String getResourceType()
          Return the PBAC type of the resource.
 BigDecimal getSigningFee()
           
 Calendar getStartTime()
           
 BigDecimal getSubscriptionFee()
           
 SLATemplate5_1alpha makePublicCopy()
          Return a client copy of the template.
 void setBillingPeriod(TimePeriod argBillingPeriod)
           
 void setConstraints(Constraint5_1alpha[] argConstraints)
          The constraints on an SLATemplate are restricted in several ways: 1.
 void setCurrency(String argCurrency)
           
 void setDescription(String argDescription)
           
 void setEndTime(Calendar argEndTime)
           
 void setPermittedServices(PermittedService[] argPermittedServices)
           
 void setPricingTerms(PricingTerm5_1alpha[] argPricingTerms)
           
 void setSigningFee(BigDecimal argSigningFee)
           
 void setStartTime(Calendar argStartTime)
           
 void setSubscriptionFee(BigDecimal fee)
           
 
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
 

Field Detail

SLA_TEMPLATE_RESOURCE_TYPE

public static final String SLA_TEMPLATE_RESOURCE_TYPE
See Also:
Constant Field Values
Constructor Detail

SLATemplate5_1alpha

public SLATemplate5_1alpha()
Method Detail

getResourceType

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

Specified by:
getResourceType in class GridResource

getDescription

public String getDescription()

setDescription

public void setDescription(String argDescription)

getPermittedServices

public PermittedService[] getPermittedServices()

setPermittedServices

public void setPermittedServices(PermittedService[] argPermittedServices)

getConstraints

public Constraint5_1alpha[] getConstraints()

setConstraints

public void setConstraints(Constraint5_1alpha[] argConstraints)
                    throws GridFailureException
The constraints on an SLATemplate are restricted in several ways: 1. Their bound must be LE, LT or EQ. 2. CUMULATIVE constraints must also have a duration. 3. You cannot have more than one INSTANTANEOUS constraint for the same metric. 4. You cannot have more than one CUMULATIVE constraint for the same metric. 5. If there is a INSTANTANEOUS and a CUMULATIVE constraint on a metric then the rate implied by the CUMULATIVE constraint must not be higher than the limit of the INSTANTANEOUS constraint (after taking contention into account).

Throws:
GridFailureException

getPricingTerms

public PricingTerm5_1alpha[] getPricingTerms()

setPricingTerms

public void setPricingTerms(PricingTerm5_1alpha[] argPricingTerms)

getStartTime

public Calendar getStartTime()

setStartTime

public void setStartTime(Calendar argStartTime)

getEndTime

public Calendar getEndTime()

setEndTime

public void setEndTime(Calendar argEndTime)

getBillingPeriod

public TimePeriod getBillingPeriod()

setBillingPeriod

public void setBillingPeriod(TimePeriod argBillingPeriod)

getSigningFee

public BigDecimal getSigningFee()

setSigningFee

public void setSigningFee(BigDecimal argSigningFee)

getSubscriptionFee

public BigDecimal getSubscriptionFee()

setSubscriptionFee

public void setSubscriptionFee(BigDecimal fee)

getCurrency

public String getCurrency()

setCurrency

public void setCurrency(String argCurrency)

makePublicCopy

public SLATemplate5_1alpha makePublicCopy()
Return a client copy of the template. The copy will have no private constraints in it.



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