org.ow2.easywsdl.schema.org.w3._2001.xmlschema
Class Attribute

java.lang.Object
  extended by org.ow2.easywsdl.schema.org.w3._2001.xmlschema.OpenAttrs
      extended by org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
          extended by org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Attribute
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Copyable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Direct Known Subclasses:
TopLevelAttribute

public class Attribute
extends Annotated
implements org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Copyable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for attribute complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="attribute">
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
       <sequence>
         <element name="simpleType" type="{http://www.w3.org/2001/XMLSchema}localSimpleType" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
       <attribute name="use" default="optional">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="prohibited"/>
             <enumeration value="optional"/>
             <enumeration value="required"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="form" type="{http://www.w3.org/2001/XMLSchema}formChoice" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String _default
           
protected  java.lang.String fixed
           
protected  FormChoice form
           
protected  java.lang.String name
           
protected  javax.xml.namespace.QName ref
           
protected  LocalSimpleType simpleType
           
protected  javax.xml.namespace.QName type
           
protected  java.lang.String use
           
 
Fields inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
annotation, id
 
Constructor Summary
Attribute()
           
 
Method Summary
 java.lang.Object copyTo(java.lang.Object target)
           
 java.lang.Object copyTo(java.lang.Object target, org.jvnet.jaxb2_commons.lang.builder.CopyBuilder copyBuilder)
           
 java.lang.Object createCopy()
           
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.lang.String getDefault()
          Gets the value of the default property.
 java.lang.String getFixed()
          Gets the value of the fixed property.
 FormChoice getForm()
          Gets the value of the form property.
 java.lang.String getName()
          Gets the value of the name property.
 javax.xml.namespace.QName getRef()
          Gets the value of the ref property.
 LocalSimpleType getSimpleType()
          Gets the value of the simpleType property.
 javax.xml.namespace.QName getType()
          Gets the value of the type property.
 java.lang.String getUse()
          Gets the value of the use property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setDefault(java.lang.String value)
          Sets the value of the default property.
 void setFixed(java.lang.String value)
          Sets the value of the fixed property.
 void setForm(FormChoice value)
          Sets the value of the form property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setRef(javax.xml.namespace.QName value)
          Sets the value of the ref property.
 void setSimpleType(LocalSimpleType value)
          Sets the value of the simpleType property.
 void setType(javax.xml.namespace.QName value)
          Sets the value of the type property.
 void setUse(java.lang.String value)
          Sets the value of the use property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

simpleType

protected LocalSimpleType simpleType

type

protected javax.xml.namespace.QName type

use

protected java.lang.String use

_default

protected java.lang.String _default

fixed

protected java.lang.String fixed

form

protected FormChoice form

name

protected java.lang.String name

ref

protected javax.xml.namespace.QName ref
Constructor Detail

Attribute

public Attribute()
Method Detail

getSimpleType

public LocalSimpleType getSimpleType()
Gets the value of the simpleType property.

Returns:
possible object is LocalSimpleType

setSimpleType

public void setSimpleType(LocalSimpleType value)
Sets the value of the simpleType property.

Parameters:
value - allowed object is LocalSimpleType

getType

public javax.xml.namespace.QName getType()
Gets the value of the type property.

Returns:
possible object is QName

setType

public void setType(javax.xml.namespace.QName value)
Sets the value of the type property.

Parameters:
value - allowed object is QName

getUse

public java.lang.String getUse()
Gets the value of the use property.

Returns:
possible object is String

setUse

public void setUse(java.lang.String value)
Sets the value of the use property.

Parameters:
value - allowed object is String

getDefault

public java.lang.String getDefault()
Gets the value of the default property.

Returns:
possible object is String

setDefault

public void setDefault(java.lang.String value)
Sets the value of the default property.

Parameters:
value - allowed object is String

getFixed

public java.lang.String getFixed()
Gets the value of the fixed property.

Returns:
possible object is String

setFixed

public void setFixed(java.lang.String value)
Sets the value of the fixed property.

Parameters:
value - allowed object is String

getForm

public FormChoice getForm()
Gets the value of the form property.

Returns:
possible object is FormChoice

setForm

public void setForm(FormChoice value)
Sets the value of the form property.

Parameters:
value - allowed object is FormChoice

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getRef

public javax.xml.namespace.QName getRef()
Gets the value of the ref property.

Returns:
possible object is QName

setRef

public void setRef(javax.xml.namespace.QName value)
Sets the value of the ref property.

Parameters:
value - allowed object is QName

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
toString in class Annotated

toString

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

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class Annotated

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class Annotated

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class Annotated

hashCode

public int hashCode()
Overrides:
hashCode in class Annotated

copyTo

public java.lang.Object copyTo(java.lang.Object target,
                               org.jvnet.jaxb2_commons.lang.builder.CopyBuilder copyBuilder)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class Annotated

copyTo

public java.lang.Object copyTo(java.lang.Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.Copyable
Overrides:
copyTo in class Annotated

createCopy

public java.lang.Object createCopy()
Specified by:
createCopy in interface org.jvnet.jaxb2_commons.lang.Copyable
Specified by:
createCopy in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
createCopy in class Annotated


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