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

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

public class MetricBean
extends java.lang.Object

Author:
nsaladge - eBM Websourcing

Constructor Summary
MetricBean()
          Default constructor
MetricBean(org.ow2.dragon.api.to.sla.MetricTO mTO)
          Constructor
 
Method Summary
 void clear()
          Clears the agreement.
 java.lang.String create(AgreementBean ag)
          Creates an object with current attributes
 java.lang.String delete(AgreementBean ag)
          Deletes the current endpoint from the database
 long getId()
           
 java.lang.String getLocation()
           
 java.lang.String getMetric()
           
 java.lang.String getName()
           
 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 setId(long id)
           
 void setLocation(java.lang.String location)
           
 void setMetric(java.lang.String metric)
           
 void setName(java.lang.String name)
           
 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

MetricBean

public MetricBean()
Default constructor


MetricBean

public MetricBean(org.ow2.dragon.api.to.sla.MetricTO mTO)
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

create

public java.lang.String create(AgreementBean ag)
                        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(AgreementBean ag)
                        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


getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getMetric

public java.lang.String getMetric()

getLocation

public java.lang.String getLocation()

getId

public long getId()
Returns:
the id

setId

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

setLocation

public void setLocation(java.lang.String location)
Parameters:
location - the location to set

setMetric

public void setMetric(java.lang.String metric)
Parameters:
metric - the metric to set


Copyright © 2008 eBMWebsourcing. All Rights Reserved.