org.ow2.dragon.ui.uibeans.sla
Class BusinessValueBean

java.lang.Object
  extended by org.ow2.dragon.ui.uibeans.sla.BusinessValueBean

public class BusinessValueBean
extends java.lang.Object

Author:
nsaladge - eBM Websourcing

Constructor Summary
BusinessValueBean()
          Default constructor
BusinessValueBean(org.ow2.dragon.api.to.sla.BusinessValueTO valueTO)
          Constructor
 
Method Summary
 void clear()
          Clears the agreement.
 java.lang.String create()
          Creates an object with current attributes
 java.lang.String delete()
          Delete from the database
 org.ow2.dragon.api.to.sla.BusinessValueTO getBvTO()
           
 long getId()
           
 int getImportance()
           
 java.util.List<CompensationBean> getPenalties()
           
 java.util.List<CompensationBean> getRewards()
           
 void load(javax.servlet.http.HttpServletRequest iRequest)
          Loads a technical service from the request parameter 'id'.
 void reset()
          Resets changes made to the current endpoint attributes.
 java.lang.String save()
           
 void setBusinessValueTO()
           
 void setBvTO(org.ow2.dragon.api.to.sla.BusinessValueTO bvTO)
           
 void setId(long id)
           
 void setImportance(int importance)
           
 void setPenalties(java.util.List<CompensationBean> penalties)
           
 void setRewards(java.util.List<CompensationBean> rewards)
           
 void validate()
          Validate the endpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessValueBean

public BusinessValueBean()
Default constructor


BusinessValueBean

public BusinessValueBean(org.ow2.dragon.api.to.sla.BusinessValueTO valueTO)
Constructor

Method Detail

load

public void load(javax.servlet.http.HttpServletRequest iRequest)
          throws com.ebm_ws.infra.bricks.error.LocalizedError
Loads a technical service from the request parameter 'id'.

Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

save

public java.lang.String save()
                      throws com.ebm_ws.infra.bricks.error.LocalizedError
Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

setBusinessValueTO

public void setBusinessValueTO()

create

public java.lang.String create()
                        throws com.ebm_ws.infra.bricks.error.LocalizedError
Creates an object with current attributes

Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

delete

public java.lang.String delete()
                        throws com.ebm_ws.infra.bricks.error.LocalizedError
Delete from the database

Throws:
com.ebm_ws.infra.bricks.error.LocalizedError

reset

public void reset()
Resets changes made to the current endpoint attributes.


clear

public void clear()
Clears the agreement.


validate

public void validate()
Validate the endpoint


getId

public long getId()
Returns:
the id

setId

public void setId(long id)
Parameters:
id - the id to set

getImportance

public int getImportance()
Returns:
the importance

setImportance

public void setImportance(int importance)
Parameters:
importance - the importance to set

getPenalties

public java.util.List<CompensationBean> getPenalties()
Returns:
the penalties

setPenalties

public void setPenalties(java.util.List<CompensationBean> penalties)
Parameters:
penalties - the penalties to set

getRewards

public java.util.List<CompensationBean> getRewards()
Returns:
the rewards

setRewards

public void setRewards(java.util.List<CompensationBean> rewards)
Parameters:
rewards - the rewards to set

getBvTO

public org.ow2.dragon.api.to.sla.BusinessValueTO getBvTO()
Returns:
the bvTO

setBvTO

public void setBvTO(org.ow2.dragon.api.to.sla.BusinessValueTO bvTO)
Parameters:
bvTO - the bvTO to set


Copyright © 2008 eBMWebsourcing. All Rights Reserved.