org.jibx.xsd2jibx
Class XsdAttribute

java.lang.Object
  extended by org.jibx.xsd2jibx.XsdStructure
      extended by org.jibx.xsd2jibx.XsdFeature
          extended by org.jibx.xsd2jibx.XsdAttribute
All Implemented Interfaces:
java.lang.Cloneable, PubliclyCloneable

public class XsdAttribute
extends XsdFeature
implements PubliclyCloneable


Field Summary
 
Fields inherited from class org.jibx.xsd2jibx.XsdFeature
ref, type, xsdType
 
Fields inherited from class org.jibx.xsd2jibx.XsdStructure
name, parentComplexType, schema
 
Constructor Summary
XsdAttribute()
           
XsdAttribute(XsdAttribute original)
          Creates a copy/clone.
 
Method Summary
 java.lang.Object clone()
           
 XsdAttribute copy()
           
 XsdSimpleType getSimpleType()
           
 XsdType getType()
           
 java.lang.String getUse()
           
protected  void importRef()
           
 boolean isProhibited()
           
 boolean isRequired()
           
 boolean isSimpleType()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jibx.xsd2jibx.XsdFeature
getFieldName, getFieldQName, getGetMethod, getJavaName, getSetMethod
 
Methods inherited from class org.jibx.xsd2jibx.XsdStructure
createXsdType, getGenerator, getName, getParentComplexType, getSchema, getTargetNamespace, getXsdType, isImportedFromBase, setGenerator, setImportedFromBase, setName, setParentComplexType, setSchema
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XsdAttribute

public XsdAttribute()

XsdAttribute

public XsdAttribute(XsdAttribute original)
Creates a copy/clone.

Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface PubliclyCloneable
Overrides:
clone in class java.lang.Object

copy

public XsdAttribute copy()

importRef

protected void importRef()
Specified by:
importRef in class XsdFeature

getType

public XsdType getType()
Overrides:
getType in class XsdFeature

getUse

public java.lang.String getUse()

isRequired

public boolean isRequired()
Specified by:
isRequired in class XsdFeature

isProhibited

public boolean isProhibited()

getSimpleType

public XsdSimpleType getSimpleType()

isSimpleType

public boolean isSimpleType()

toString

public java.lang.String toString()
Overrides:
toString in class XsdFeature