com.ebmwebsourcing.agreement.definition.impl
Class BusinessValueListImpl

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<BusinessValueListType>
      extended by com.ebmwebsourcing.agreement.definition.impl.BusinessValueListImpl
All Implemented Interfaces:
BusinessValueList, java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement

public class BusinessValueListImpl
extends org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<BusinessValueListType>
implements BusinessValueList

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
BusinessValueListImpl(BusinessValueListType model, org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl parent)
           
 
Method Summary
 void addPenalty(Penalty penalty)
           
 void addReward(Reward reward)
           
 java.lang.Integer getImportance()
           
 java.util.List<Penalty> getPenalties()
           
 java.util.List<Reward> getRewards()
           
 Penalty newPenalty()
           
 Reward newReward()
           
 void removePenalty(Penalty penalty)
           
 void removeReward(Reward reward)
           
 void setImportance(java.lang.Integer importance)
           
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
createDocumentation, getDocumentation, getModel, getOtherAttributes, getParent, getSchema, getTopParent, setDocumentation, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessValueListImpl

public BusinessValueListImpl(BusinessValueListType model,
                             org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl parent)
                      throws WSAgreementException
Throws:
WSAgreementException
Method Detail

getImportance

public java.lang.Integer getImportance()
Specified by:
getImportance in interface BusinessValueList

getPenalties

public java.util.List<Penalty> getPenalties()
Specified by:
getPenalties in interface BusinessValueList

getRewards

public java.util.List<Reward> getRewards()
Specified by:
getRewards in interface BusinessValueList

setImportance

public void setImportance(java.lang.Integer importance)
Specified by:
setImportance in interface BusinessValueList

addPenalty

public void addPenalty(Penalty penalty)
Specified by:
addPenalty in interface BusinessValueList

addReward

public void addReward(Reward reward)
Specified by:
addReward in interface BusinessValueList

removePenalty

public void removePenalty(Penalty penalty)
Specified by:
removePenalty in interface BusinessValueList

removeReward

public void removeReward(Reward reward)
Specified by:
removeReward in interface BusinessValueList

newPenalty

public Penalty newPenalty()
                   throws WSAgreementException
Specified by:
newPenalty in interface BusinessValueList
Throws:
WSAgreementException

newReward

public Reward newReward()
                 throws WSAgreementException
Specified by:
newReward in interface BusinessValueList
Throws:
WSAgreementException


Copyright © 2009 eBM Websourcing. All Rights Reserved.