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

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.Restriction
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class Restriction
extends Annotated
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

base attribute and simpleType child are mutually exclusive, but one or other is required

Java class for anonymous complex type.

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

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


Field Summary
protected  javax.xml.namespace.QName base
           
protected  java.util.List<java.lang.Object> facets
           
protected  LocalSimpleType simpleType
           
 
Fields inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
annotation, id
 
Constructor Summary
Restriction()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 javax.xml.namespace.QName getBase()
          Gets the value of the base property.
 java.util.List<java.lang.Object> getFacets()
          Gets the value of the facets property.
 LocalSimpleType getSimpleType()
          Gets the value of the simpleType property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setBase(javax.xml.namespace.QName value)
          Sets the value of the base property.
 void setSimpleType(LocalSimpleType value)
          Sets the value of the simpleType 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

facets

protected java.util.List<java.lang.Object> facets

base

protected javax.xml.namespace.QName base
Constructor Detail

Restriction

public Restriction()
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

getFacets

public java.util.List<java.lang.Object> getFacets()
Gets the value of the facets 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 facets property.

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

    getFacets().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<NumFacet> JAXBElement<NumFacet> JAXBElement<NumFacet> JAXBElement<NoFixedFacet> JAXBElement<Facet> JAXBElement<Facet> JAXBElement<Facet> WhiteSpace JAXBElement<Facet> Pattern TotalDigits JAXBElement<NumFacet>


getBase

public javax.xml.namespace.QName getBase()
Gets the value of the base property.

Returns:
possible object is QName

setBase

public void setBase(javax.xml.namespace.QName value)
Sets the value of the base 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


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