2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.interfacedef.util
Class ElementInfo
java.lang.Object
org.apache.tuscany.sca.interfacedef.util.ElementInfo
public class ElementInfo
- extends java.lang.Object
An abstraction of XML schema elements.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ElementInfo
public ElementInfo(javax.xml.namespace.QName name,
TypeInfo type)
- Parameters:
name
- type
-
getQName
public javax.xml.namespace.QName getQName()
- Returns:
- the name
getType
public TypeInfo getType()
- Returns:
- the type
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isMany
public boolean isMany()
setMany
public void setMany(boolean many)
isNillable
public boolean isNillable()
setNillable
public void setNillable(boolean nillable)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object