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(com.ebmwebsourcing.agreement.definition.api.Variable mTO, ManagedAgreementBean mab)
          Constructor
 
Method Summary
 void clear()
          Clears the agreement.
 java.lang.String create(ManagedAgreementBean ag)
          Creates an object with current attributes
 java.lang.String getAddress()
           
 ManagedAgreementBean getMab()
           
 java.lang.String getMbeanname()
           
 java.lang.String getMetric()
           
 java.lang.String getMode()
           
 com.ebmwebsourcing.agreement.definition.api.Variable getMTO()
           
 java.lang.String getName()
           
 java.lang.String getOntology()
           
 java.lang.String getOperation()
           
 java.lang.String getSemanticConcept()
           
 com.ebmwebsourcing.agreement.definition.api.Variable getVariable()
           
 void init(java.lang.String idMetrics, ManagedAgreementBean mab)
          Loads a technical service from the request parameter 'id'.
 void reset()
          Resets changes made to the current endpoint attributes.
 java.lang.String save()
           
 void setAddress(java.lang.String location)
           
 void setMab(ManagedAgreementBean mab)
           
 void setMbeanname(java.lang.String mbeanname)
           
 void setMetric(java.lang.String metric)
           
 void setMode(java.lang.String mode)
           
 void setMTO(com.ebmwebsourcing.agreement.definition.api.Variable mto)
           
 void setName(java.lang.String name)
           
 void setOntology(java.lang.String ontology)
           
 void setOperation(java.lang.String operation)
           
 void setSemanticConcept(java.lang.String semanticConcept)
           
 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(com.ebmwebsourcing.agreement.definition.api.Variable mTO,
                  ManagedAgreementBean mab)
           throws org.ow2.opensuit.core.error.LocalizedError
Constructor

Throws:
org.ow2.opensuit.core.error.LocalizedError
Method Detail

init

public void init(java.lang.String idMetrics,
                 ManagedAgreementBean mab)
          throws org.ow2.opensuit.core.error.LocalizedError
Loads a technical service from the request parameter 'id'.

Throws:
org.ow2.opensuit.core.error.LocalizedError

save

public java.lang.String save()
                      throws org.ow2.opensuit.core.error.LocalizedError
Throws:
org.ow2.opensuit.core.error.LocalizedError

create

public java.lang.String create(ManagedAgreementBean ag)
                        throws org.ow2.opensuit.core.error.LocalizedError
Creates an object with current attributes

Throws:
org.ow2.opensuit.core.error.LocalizedError

reset

public void reset()
           throws org.ow2.opensuit.core.error.LocalizedError
Resets changes made to the current endpoint attributes.

Throws:
org.ow2.opensuit.core.error.LocalizedError

clear

public void clear()
           throws org.ow2.opensuit.core.error.LocalizedError
Clears the agreement.

Throws:
org.ow2.opensuit.core.error.LocalizedError

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()

getAddress

public java.lang.String getAddress()

setAddress

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

setMetric

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

getVariable

public com.ebmwebsourcing.agreement.definition.api.Variable getVariable()

getSemanticConcept

public java.lang.String getSemanticConcept()

setSemanticConcept

public void setSemanticConcept(java.lang.String semanticConcept)

getOntology

public java.lang.String getOntology()

setOntology

public void setOntology(java.lang.String ontology)

getOperation

public java.lang.String getOperation()

setOperation

public void setOperation(java.lang.String operation)

getMbeanname

public java.lang.String getMbeanname()

setMbeanname

public void setMbeanname(java.lang.String mbeanname)

getMode

public java.lang.String getMode()

setMode

public void setMode(java.lang.String mode)

getMTO

public com.ebmwebsourcing.agreement.definition.api.Variable getMTO()

setMTO

public void setMTO(com.ebmwebsourcing.agreement.definition.api.Variable mto)

getMab

public ManagedAgreementBean getMab()

setMab

public void setMab(ManagedAgreementBean mab)


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.