org.ow2.easywsdl.schema.api.abstractElmt
Class AbstractComplexTypeImpl<E extends Annotated,V,A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractTypeImpl<E,V>
          extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractComplexTypeImpl<E,V,A,S,All,Ch,CC,SC>
All Implemented Interfaces:
java.io.Serializable, AbsItfComplexType<A,S,All,Ch,CC,SC>, AbsItfType, SchemaElement
Direct Known Subclasses:
ComplexTypeImpl

public abstract class AbstractComplexTypeImpl<E extends Annotated,V,A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>
extends AbstractTypeImpl<E,V>
implements AbsItfComplexType<A,S,All,Ch,CC,SC>

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

Field Summary
protected  All all
           
protected  java.util.List<A> attributes
           
protected  Ch choice
           
protected  CC complexContent
           
protected  S sequence
           
protected  SC simpleContent
           
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AbstractComplexTypeImpl(E model, AbstractSchemaElementImpl parent)
           
 
Method Summary
 void addAttribute(A elmt)
           
 All getAll()
           
 A getAttribute(java.lang.String element)
           
 java.util.List<A> getAttributes()
           
 Ch getChoice()
           
 CC getComplexContent()
           
 S getSequence()
           
 SC getSimpleContent()
           
 boolean hasAll()
           
 boolean hasChoice()
           
 boolean hasComplexContent()
           
 boolean hasSequence()
           
 boolean hasSimpleContent()
           
 void setAll(All all)
           
 void setChoice(Ch choice)
           
 void setComplexContent(CC complexContent)
           
 void setSequence(S sequence)
           
 void setSimpleContent(SC simpleContent)
           
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractTypeImpl
toString
 
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, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.schema.api.absItf.AbsItfComplexType
createAll, createChoice, createComplexContent, createSequence, createSimpleContent
 
Methods inherited from interface org.ow2.easywsdl.schema.api.absItf.AbsItfType
getQName, setQName
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation
 

Field Detail

sequence

protected S extends AbsItfSequence sequence

all

protected All extends AbsItfAll all

choice

protected Ch extends AbsItfChoice choice

complexContent

protected CC extends AbsItfComplexContent complexContent

simpleContent

protected SC extends AbsItfSimpleContent simpleContent

attributes

protected java.util.List<A extends AbsItfAttribute> attributes
Constructor Detail

AbstractComplexTypeImpl

public AbstractComplexTypeImpl(E model,
                               AbstractSchemaElementImpl parent)
Method Detail

getSequence

public S getSequence()
Specified by:
getSequence in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

hasSequence

public boolean hasSequence()
Specified by:
hasSequence in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

setSequence

public void setSequence(S sequence)
Specified by:
setSequence in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

getAll

public All getAll()
Specified by:
getAll in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

hasAll

public boolean hasAll()
Specified by:
hasAll in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

setAll

public void setAll(All all)
Specified by:
setAll in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

getChoice

public Ch getChoice()
Specified by:
getChoice in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

hasChoice

public boolean hasChoice()
Specified by:
hasChoice in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

setChoice

public void setChoice(Ch choice)
Specified by:
setChoice in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

getComplexContent

public CC getComplexContent()
Specified by:
getComplexContent in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

hasComplexContent

public boolean hasComplexContent()
Specified by:
hasComplexContent in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

setComplexContent

public void setComplexContent(CC complexContent)
Specified by:
setComplexContent in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

getSimpleContent

public SC getSimpleContent()
Specified by:
getSimpleContent in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

hasSimpleContent

public boolean hasSimpleContent()
Specified by:
hasSimpleContent in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

setSimpleContent

public void setSimpleContent(SC simpleContent)
Specified by:
setSimpleContent in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

getAttributes

public java.util.List<A> getAttributes()
Specified by:
getAttributes in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

getAttribute

public A getAttribute(java.lang.String element)
Specified by:
getAttribute in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>

addAttribute

public void addAttribute(A elmt)
Specified by:
addAttribute in interface AbsItfComplexType<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>


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