org.ow2.easywsdl.schema.decorator
Class DecoratorComplexTypeImpl<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.decorator.DecoratorTypeImpl
      extended by org.ow2.easywsdl.schema.decorator.DecoratorComplexTypeImpl<A,S,All,Ch,CC,SC>
All Implemented Interfaces:
Decorator

public class DecoratorComplexTypeImpl<A extends AbsItfAttribute,S extends AbsItfSequence,All extends AbsItfAll,Ch extends AbsItfChoice,CC extends AbsItfComplexContent,SC extends AbsItfSimpleContent>
extends DecoratorTypeImpl
implements Decorator

Author:
Nicolas Salatge - eBM WebSourcing

Field Summary
 
Fields inherited from class org.ow2.easywsdl.schema.decorator.DecoratorTypeImpl
type
 
Constructor Summary
DecoratorComplexTypeImpl(AbsItfComplexType complexType, java.lang.Class<? extends A> aImpl, java.lang.Class<? extends S> sImpl, java.lang.Class<? extends All> allImpl, java.lang.Class<? extends Ch> chImpl, java.lang.Class<? extends CC> ccImpl, java.lang.Class<? extends SC> scImpl)
           
 
Method Summary
 void addAttribute(A attr)
           
 All createAll()
           
 Ch createChoice()
           
 CC createComplexContent()
           
 S createSequence()
           
 SC createSimpleContent()
           
 All getAll()
           
 A getAttribute(java.lang.String attr)
           
 java.util.List<A> getAttributes()
           
 Ch getChoice()
           
 CC getComplexContent()
           
 SchemaElement getInternalObject()
           
 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.decorator.DecoratorTypeImpl
createDocumentation, getDocumentation, getOtherAttributes, getQName, setDocumentation, setQName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoratorComplexTypeImpl

public DecoratorComplexTypeImpl(AbsItfComplexType complexType,
                                java.lang.Class<? extends A> aImpl,
                                java.lang.Class<? extends S> sImpl,
                                java.lang.Class<? extends All> allImpl,
                                java.lang.Class<? extends Ch> chImpl,
                                java.lang.Class<? extends CC> ccImpl,
                                java.lang.Class<? extends SC> scImpl)
                         throws SchemaException
Throws:
SchemaException
Method Detail

createSequence

public S createSequence()

getSequence

public S getSequence()

hasSequence

public boolean hasSequence()

setSequence

public void setSequence(S sequence)

createAll

public All createAll()

getAll

public All getAll()

hasAll

public boolean hasAll()

setAll

public void setAll(All all)

createChoice

public Ch createChoice()

getChoice

public Ch getChoice()

hasChoice

public boolean hasChoice()

setChoice

public void setChoice(Ch choice)

createComplexContent

public CC createComplexContent()

getComplexContent

public CC getComplexContent()

hasComplexContent

public boolean hasComplexContent()

setComplexContent

public void setComplexContent(CC complexContent)

createSimpleContent

public SC createSimpleContent()

getSimpleContent

public SC getSimpleContent()

hasSimpleContent

public boolean hasSimpleContent()

setSimpleContent

public void setSimpleContent(SC simpleContent)

addAttribute

public void addAttribute(A attr)

getAttribute

public A getAttribute(java.lang.String attr)

getAttributes

public java.util.List<A> getAttributes()

getInternalObject

public SchemaElement getInternalObject()
Specified by:
getInternalObject in interface Decorator
Overrides:
getInternalObject in class DecoratorTypeImpl


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