public class Restriction extends Annotated implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Classe Java pour anonymous complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<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>
| Modifier and Type | Field and Description |
|---|---|
protected QName |
base |
protected List<Object> |
facets |
protected LocalSimpleType |
simpleType |
annotation, id| Constructor and Description |
|---|
Restriction() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
QName |
getBase()
Obtient la valeur de la propriété base.
|
List<Object> |
getFacets()
Gets the value of the facets property.
|
LocalSimpleType |
getSimpleType()
Obtient la valeur de la propriété simpleType.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBase(QName value)
Définit la valeur de la propriété base.
|
void |
setSimpleType(LocalSimpleType value)
Définit la valeur de la propriété simpleType.
|
String |
toString() |
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected LocalSimpleType simpleType
protected QName base
public LocalSimpleType getSimpleType()
LocalSimpleTypepublic void setSimpleType(LocalSimpleType value)
value - allowed object is
LocalSimpleTypepublic List<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
JAXBElement<NumFacet>
JAXBElement<NoFixedFacet>
JAXBElement<Facet>
Pattern
TotalDigits
WhiteSpace
JAXBElement<NumFacet>
JAXBElement<Facet>
JAXBElement<Facet>
JAXBElement<Facet>
JAXBElement<NumFacet>
JAXBElement<NumFacet>
public QName getBase()
QNamepublic void setBase(QName value)
value - allowed object is
QNamepublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class Annotatedpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in class AnnotatedCopyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.