|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easywsdl.schema.org.w3._2001.xmlschema.OpenAttrs
org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Restriction
public class Restriction
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 | |
---|---|
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)
|
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 |
---|
protected LocalSimpleType simpleType
protected java.util.List<java.lang.Object> facets
protected javax.xml.namespace.QName base
Constructor Detail |
---|
public Restriction()
Method Detail |
---|
public LocalSimpleType getSimpleType()
LocalSimpleType
public void setSimpleType(LocalSimpleType value)
value
- allowed object is
LocalSimpleType
public java.util.List<java.lang.Object> getFacets()
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
Pattern
JAXBElement
<
Facet
>
JAXBElement
<
NumFacet
>
JAXBElement
<
Facet
>
JAXBElement
<
NumFacet
>
WhiteSpace
JAXBElement
<
Facet
>
JAXBElement
<
Facet
>
JAXBElement
<
NoFixedFacet
>
TotalDigits
JAXBElement
<
NumFacet
>
JAXBElement
<
NumFacet
>
public javax.xml.namespace.QName getBase()
QName
public void setBase(javax.xml.namespace.QName value)
value
- allowed object is
QName
public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
toString
in interface org.jvnet.jaxb2_commons.lang.ToString
toString
in class Annotated
public java.lang.String toString()
toString
in class Annotated
public void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
equals
in class Annotated
public boolean equals(java.lang.Object object)
equals
in class Annotated
public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
hashCode
in class Annotated
public int hashCode()
hashCode
in class Annotated
public java.lang.Object copyTo(java.lang.Object target, org.jvnet.jaxb2_commons.lang.builder.CopyBuilder copyBuilder)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
copyTo
in class Annotated
public java.lang.Object copyTo(java.lang.Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.Copyable
copyTo
in class Annotated
public java.lang.Object createCopy()
createCopy
in interface org.jvnet.jaxb2_commons.lang.Copyable
createCopy
in interface org.jvnet.jaxb2_commons.lang.CopyTo
createCopy
in class Annotated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |