org.ow2.easywsdl.wsdl.api.abstractElmt
Class AbstractIncludeImpl<E,D extends AbsItfDescription>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
          extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
              extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractIncludeImpl<E,D>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfInclude<D>, WSDLElement
Direct Known Subclasses:
AbstractImportImpl, IncludeImpl

public abstract class AbstractIncludeImpl<E,D extends AbsItfDescription>
extends AbstractWSDLElementImpl<E>
implements AbsItfInclude<D>

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
protected  D desc
          the desc
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AbstractIncludeImpl(E model, D parent, java.util.Map<java.net.URI,AbsItfDescription> descriptionImports, java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports, java.net.URI baseURI, AbstractWSDLReaderImpl reader)
          Default constructor
 
Method Summary
 D getDescription()
          This property can be used to hang a referenced Definition, and the top-level Definition (i.e. the one with the <import>) will use this Definition when resolving referenced WSDL parts.
 D getParentDescription()
           
 void setDescription(D d)
          This property can be used to hang a referenced Definition, and the top-level Definition (i.e. the one with the <import>) will use this Definition when resolving referenced WSDL parts.
 void setParentDescription(D p)
           
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
addOtherElements, createDocumentation, getDocumentation, getModel, getOtherAttributes, getOtherElements, setDocumentation, toString
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
equals, getParent, getSchema, getTopParent, hashCode, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfInclude
getLocationURI, setLocationURI
 
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement
addOtherElements, getOtherElements
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation
 

Field Detail

desc

protected D extends AbsItfDescription desc
the desc

Constructor Detail

AbstractIncludeImpl

public AbstractIncludeImpl(E model,
                           D parent,
                           java.util.Map<java.net.URI,AbsItfDescription> descriptionImports,
                           java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports,
                           java.net.URI baseURI,
                           AbstractWSDLReaderImpl reader)
                    throws WSDLException,
                           WSDLImportException
Default constructor

Parameters:
model - the model
parent - the parent description
Throws:
WSDLException
WSDLImportException
Method Detail

getDescription

public D getDescription()
Description copied from interface: AbsItfInclude
This property can be used to hang a referenced Definition, and the top-level Definition (i.e. the one with the <import>) will use this Definition when resolving referenced WSDL parts. This would need to be made into a generic reference to handle other types of referenced documents.

Specified by:
getDescription in interface AbsItfInclude<D extends AbsItfDescription>
Returns:
the desc

setDescription

public void setDescription(D d)
Description copied from interface: AbsItfInclude
This property can be used to hang a referenced Definition, and the top-level Definition (i.e. the one with the <import>) will use this Definition when resolving referenced WSDL parts. This would need to be made into a generic reference to handle other types of referenced documents.

Specified by:
setDescription in interface AbsItfInclude<D extends AbsItfDescription>

getParentDescription

public D getParentDescription()
Returns:
the parent desc

setParentDescription

public void setParentDescription(D p)


Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.