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

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.SimpleType
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:
LocalSimpleType, TopLevelSimpleType

public abstract class SimpleType
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 simpleType complex type.

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

 <complexType name="simpleType">
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
       <group ref="{http://www.w3.org/2001/XMLSchema}simpleDerivation"/>
       <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}simpleDerivationSet" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.String> _final
           
protected  List list
           
protected  java.lang.String name
           
protected  Restriction restriction
           
protected  Union union
           
 
Fields inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
annotation, id
 
Constructor Summary
SimpleType()
           
 
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)
           
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.util.List<java.lang.String> getFinal()
          Gets the value of the final property.
 List getList()
          Gets the value of the list property.
 java.lang.String getName()
          Gets the value of the name property.
 Restriction getRestriction()
          Gets the value of the restriction property.
 Union getUnion()
          Gets the value of the union property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setList(List value)
          Sets the value of the list property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setRestriction(Restriction value)
          Sets the value of the restriction property.
 void setUnion(Union value)
          Sets the value of the union 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
createCopy, 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
 
Methods inherited from interface org.jvnet.jaxb2_commons.lang.CopyTo
createCopy
 
Methods inherited from interface org.jvnet.jaxb2_commons.lang.Copyable
createCopy
 

Field Detail

restriction

protected Restriction restriction

list

protected List list

union

protected Union union

_final

protected java.util.List<java.lang.String> _final

name

protected java.lang.String name
Constructor Detail

SimpleType

public SimpleType()
Method Detail

getRestriction

public Restriction getRestriction()
Gets the value of the restriction property.

Returns:
possible object is Restriction

setRestriction

public void setRestriction(Restriction value)
Sets the value of the restriction property.

Parameters:
value - allowed object is Restriction

getList

public List getList()
Gets the value of the list property.

Returns:
possible object is List

setList

public void setList(List value)
Sets the value of the list property.

Parameters:
value - allowed object is List

getUnion

public Union getUnion()
Gets the value of the union property.

Returns:
possible object is Union

setUnion

public void setUnion(Union value)
Sets the value of the union property.

Parameters:
value - allowed object is Union

getFinal

public java.util.List<java.lang.String> getFinal()
Gets the value of the final property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the final property.

For example, to add a new item, do as follows:

    getFinal().add(newItem);
 

Objects of the following type(s) are allowed in the list String


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

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


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