org.ow2.easywsdl.schema.decorator
Class DecoratorElementImpl<T extends AbsItfType>

java.lang.Object
  extended by org.ow2.easywsdl.schema.decorator.DecoratorElementImpl<T>
All Implemented Interfaces:
Decorator

public class DecoratorElementImpl<T extends AbsItfType>
extends java.lang.Object
implements Decorator

Author:
Nicolas Salatge - eBM WebSourcing

Field Summary
protected  AbsItfElement element
           
 
Constructor Summary
DecoratorElementImpl(AbsItfElement element, java.lang.Class<? extends T> tSImpl, java.lang.Class<? extends T> tCImpl)
           
 
Method Summary
 Documentation createDocumentation()
           
 Documentation getDocumentation()
           
 FormChoice getForm()
           
 SchemaElement getInternalObject()
           
 java.lang.String getMaxOccurs()
           
 int getMinOccurs()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
           
 javax.xml.namespace.QName getQName()
           
 javax.xml.namespace.QName getRef()
           
 T getType()
           
 boolean isNillable()
           
 void setDocumentation(Documentation doc)
           
 void setMaxOccurs(java.lang.String max)
           
 void setMinOccurs(int min)
           
 void setNillable(boolean nill)
           
 void setQName(javax.xml.namespace.QName name)
           
 void setRef(javax.xml.namespace.QName name)
           
 void setType(T type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected AbsItfElement element
Constructor Detail

DecoratorElementImpl

public DecoratorElementImpl(AbsItfElement element,
                            java.lang.Class<? extends T> tSImpl,
                            java.lang.Class<? extends T> tCImpl)
                     throws SchemaException
Throws:
SchemaException
Method Detail

getQName

public javax.xml.namespace.QName getQName()

getType

public T getType()

createDocumentation

public Documentation createDocumentation()

getDocumentation

public Documentation getDocumentation()

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
                                                                             throws XmlException
Throws:
XmlException

setDocumentation

public void setDocumentation(Documentation doc)

getMaxOccurs

public java.lang.String getMaxOccurs()

getMinOccurs

public int getMinOccurs()

setMaxOccurs

public void setMaxOccurs(java.lang.String max)

setMinOccurs

public void setMinOccurs(int min)

setQName

public void setQName(javax.xml.namespace.QName name)

setType

public void setType(T type)

getRef

public javax.xml.namespace.QName getRef()

setRef

public void setRef(javax.xml.namespace.QName name)

isNillable

public boolean isNillable()

setNillable

public void setNillable(boolean nill)

getInternalObject

public SchemaElement getInternalObject()
Specified by:
getInternalObject in interface Decorator

getForm

public FormChoice getForm()


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