org.ow2.easywsdl.schema.impl
Class ElementImpl

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractElementImpl<Element,Type>
          extended by org.ow2.easywsdl.schema.impl.ElementImpl
All Implemented Interfaces:
java.io.Serializable, AbsItfElement<Type>, Element, SchemaElement

public class ElementImpl
extends AbstractElementImpl<Element,Type>
implements Element

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

Field Summary
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractElementImpl
referencedElement, type
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
ElementImpl(Element model, AbstractSchemaElementImpl parent)
           
 
Method Summary
 void findReferencedElementIfExist()
           
 FormChoice getForm()
           
 java.lang.String getMaxOccurs()
           
 int getMinOccurs()
           
 javax.xml.namespace.QName getQName()
           
 javax.xml.namespace.QName getRef()
           
 Type getType()
           
 boolean isNillable()
           
 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(Type type)
           
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractElementImpl
getParent, toString
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
createDocumentation, equals, getDocumentation, getModel, getOtherAttributes, getSchema, getTopParent, hashCode, setDocumentation, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation
 

Constructor Detail

ElementImpl

public ElementImpl(Element model,
                   AbstractSchemaElementImpl parent)
Parameters:
model -
parent -
Throws:
SchemaException
Method Detail

findReferencedElementIfExist

public void findReferencedElementIfExist()

getQName

public javax.xml.namespace.QName getQName()
Specified by:
getQName in interface AbsItfElement<Type>

getType

public Type getType()
Specified by:
getType in interface AbsItfElement<Type>
Overrides:
getType in class AbstractElementImpl<Element,Type>

setType

public void setType(Type type)
Specified by:
setType in interface AbsItfElement<Type>
Overrides:
setType in class AbstractElementImpl<Element,Type>

setQName

public void setQName(javax.xml.namespace.QName name)
Specified by:
setQName in interface AbsItfElement<Type>

getMaxOccurs

public java.lang.String getMaxOccurs()
Specified by:
getMaxOccurs in interface AbsItfElement<Type>

getMinOccurs

public int getMinOccurs()
Specified by:
getMinOccurs in interface AbsItfElement<Type>

setMaxOccurs

public void setMaxOccurs(java.lang.String max)
Specified by:
setMaxOccurs in interface AbsItfElement<Type>

setMinOccurs

public void setMinOccurs(int min)
Specified by:
setMinOccurs in interface AbsItfElement<Type>

getRef

public javax.xml.namespace.QName getRef()
Specified by:
getRef in interface AbsItfElement<Type>

setRef

public void setRef(javax.xml.namespace.QName name)
Specified by:
setRef in interface AbsItfElement<Type>

isNillable

public boolean isNillable()
Specified by:
isNillable in interface AbsItfElement<Type>

setNillable

public void setNillable(boolean nill)
Specified by:
setNillable in interface AbsItfElement<Type>

getForm

public FormChoice getForm()
Specified by:
getForm in interface AbsItfElement<Type>


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