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

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

public class ServiceLevelObjectiveBean
extends java.lang.Object

Author:
nsaladge - eBM Websourcing

Constructor Summary
ServiceLevelObjectiveBean()
          Default constructor
ServiceLevelObjectiveBean(org.ow2.dragon.api.to.sla.ServiceLevelObjectiveTO slo)
          Constructor
 
Method Summary
 void clear()
          Clears the agreement.
 java.lang.String create()
          Creates an object with current attributes
 java.lang.String delete()
          Deletes the current endpoint from the database
 java.lang.String getExpressionLanguage()
           
 long getId()
           
 java.lang.String getKpiName()
           
 org.ow2.dragon.api.to.sla.ServiceLevelObjectiveTO getSloTO()
           
 java.lang.String getValue()
           
 java.lang.String getXml()
           
 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 setExpressionLanguage(java.lang.String expressionLanguage)
           
 void setId(long id)
           
 void setKpiName(java.lang.String kpiName)
           
 void setServiceLevelObjectiveTO()
           
 void setValue(java.lang.String value)
           
 void setXml(java.lang.String xml)
           
 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

ServiceLevelObjectiveBean

public ServiceLevelObjectiveBean()
Default constructor


ServiceLevelObjectiveBean

public ServiceLevelObjectiveBean(org.ow2.dragon.api.to.sla.ServiceLevelObjectiveTO slo)
Constructor

Method Detail

getXml

public java.lang.String getXml()
Returns:
the xml

setXml

public void setXml(java.lang.String xml)
Parameters:
xml - the xml to set

getExpressionLanguage

public java.lang.String getExpressionLanguage()
Returns:
the expressionLanguage

setExpressionLanguage

public void setExpressionLanguage(java.lang.String expressionLanguage)
Parameters:
expressionLanguage - the expressionLanguage to set

getKpiName

public java.lang.String getKpiName()
Returns:
the kpiName

setKpiName

public void setKpiName(java.lang.String kpiName)
Parameters:
kpiName - the kpiName to set

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set

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

setServiceLevelObjectiveTO

public void setServiceLevelObjectiveTO()

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
Deletes the current endpoint 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

getSloTO

public org.ow2.dragon.api.to.sla.ServiceLevelObjectiveTO getSloTO()
Returns:
the sloTO


Copyright © 2008 eBMWebsourcing. All Rights Reserved.