com.ebmwebsourcing.agreement.definition.impl
Class AgreementTypeImpl<A extends AgreementType>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<A>
      extended by com.ebmwebsourcing.agreement.definition.impl.AgreementTypeImpl<A>
All Implemented Interfaces:
Agreement, java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement
Direct Known Subclasses:
AgreementImpl, AgreementTemplateImpl

public abstract class AgreementTypeImpl<A extends AgreementType>
extends org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<A>
implements Agreement

See Also:
Serialized Form

Field Summary
protected  java.net.URI baseURI
          the baseUri
protected  java.util.Map<WSAgreementReader.FeatureConstants,java.lang.Object> features
          Features
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AgreementTypeImpl(A model, org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl parent)
           
AgreementTypeImpl(java.net.URI baseURI, A model, java.util.Map<WSAgreementReader.FeatureConstants,java.lang.Object> features)
           
 
Method Summary
 void addGuarantee(GuaranteeTerms term)
           
 Context getContext()
           
 java.net.URI getDocumentBaseURI()
          methods for baseURI
 java.util.List<GuaranteeTerms> getGuaranteeTerms()
           
 java.lang.String getName()
           
 ServiceDescription getServiceDescription()
           
 ServiceProperties getServiceProperties()
           
 ServiceReference getServiceReference()
           
 javax.xml.namespace.QName getTagQName()
           
 Context newContext()
           
 GuaranteeTerms newGuaranteeTerms()
           
 ServiceDescription newServiceDescription()
           
 ServiceProperties newServiceProperties()
           
 ServiceReference newServiceReference()
           
 void removeGuarantee(GuaranteeTerms term)
           
 void setContext(Context context)
           
 void setDocumentBaseURI(java.net.URI documentBaseURI)
          Set the document base URI of this definition.
 void setGuaranteeTerms(java.util.List<GuaranteeTerms> terms)
           
 void setName(java.lang.String name)
           
 void setServiceDescription(ServiceDescription term)
           
 void setServiceProperties(ServiceProperties term)
           
 void setServiceReference(ServiceReference term)
           
 void setTagQName(javax.xml.namespace.QName name)
           
 
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
 

Field Detail

baseURI

protected java.net.URI baseURI
the baseUri


features

protected java.util.Map<WSAgreementReader.FeatureConstants,java.lang.Object> features
Features

Constructor Detail

AgreementTypeImpl

public AgreementTypeImpl(java.net.URI baseURI,
                         A model,
                         java.util.Map<WSAgreementReader.FeatureConstants,java.lang.Object> features)
                  throws WSAgreementException
Throws:
WSAgreementException

AgreementTypeImpl

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

getTagQName

public javax.xml.namespace.QName getTagQName()
Specified by:
getTagQName in interface Agreement

setTagQName

public void setTagQName(javax.xml.namespace.QName name)
Specified by:
setTagQName in interface Agreement

getDocumentBaseURI

public java.net.URI getDocumentBaseURI()
methods for baseURI

Specified by:
getDocumentBaseURI in interface Agreement
Returns:
the document base URI

setDocumentBaseURI

public void setDocumentBaseURI(java.net.URI documentBaseURI)
Description copied from interface: Agreement
Set the document base URI of this definition. Can be used to represent the origin of the Definition, and can be exploited when resolving relative URIs (e.g. in <import>s).

Specified by:
setDocumentBaseURI in interface Agreement
Parameters:
documentBaseURI - the document base URI of this definition

addGuarantee

public void addGuarantee(GuaranteeTerms term)
Specified by:
addGuarantee in interface Agreement

removeGuarantee

public void removeGuarantee(GuaranteeTerms term)
Specified by:
removeGuarantee in interface Agreement

getContext

public Context getContext()
Specified by:
getContext in interface Agreement

getGuaranteeTerms

public java.util.List<GuaranteeTerms> getGuaranteeTerms()
Specified by:
getGuaranteeTerms in interface Agreement

getName

public java.lang.String getName()
Specified by:
getName in interface Agreement

getServiceDescription

public ServiceDescription getServiceDescription()
Specified by:
getServiceDescription in interface Agreement

getServiceProperties

public ServiceProperties getServiceProperties()
Specified by:
getServiceProperties in interface Agreement

getServiceReference

public ServiceReference getServiceReference()
Specified by:
getServiceReference in interface Agreement

newContext

public Context newContext()
                   throws WSAgreementException
Specified by:
newContext in interface Agreement
Throws:
WSAgreementException

newGuaranteeTerms

public GuaranteeTerms newGuaranteeTerms()
                                 throws WSAgreementException
Specified by:
newGuaranteeTerms in interface Agreement
Throws:
WSAgreementException

newServiceDescription

public ServiceDescription newServiceDescription()
                                         throws WSAgreementException
Specified by:
newServiceDescription in interface Agreement
Throws:
WSAgreementException

newServiceProperties

public ServiceProperties newServiceProperties()
                                       throws WSAgreementException
Specified by:
newServiceProperties in interface Agreement
Throws:
WSAgreementException

newServiceReference

public ServiceReference newServiceReference()
                                     throws WSAgreementException
Specified by:
newServiceReference in interface Agreement
Throws:
WSAgreementException

setContext

public void setContext(Context context)
Specified by:
setContext in interface Agreement

setGuaranteeTerms

public void setGuaranteeTerms(java.util.List<GuaranteeTerms> terms)
Specified by:
setGuaranteeTerms in interface Agreement

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Agreement

setServiceDescription

public void setServiceDescription(ServiceDescription term)
Specified by:
setServiceDescription in interface Agreement

setServiceProperties

public void setServiceProperties(ServiceProperties term)
Specified by:
setServiceProperties in interface Agreement

setServiceReference

public void setServiceReference(ServiceReference term)
Specified by:
setServiceReference in interface Agreement


Copyright © 2009 eBM Websourcing. All Rights Reserved.