public class JBossXSParticle extends JBossXSObject implements XSParticle, Comparable
Modifier and Type | Field and Description |
---|---|
protected int |
maxOccurs |
protected int |
minOccurs |
protected XSTerm |
term |
name, namespace
Constructor and Description |
---|
JBossXSParticle() |
JBossXSParticle(String name,
String namespace) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
XSObjectList |
getAnnotations()
A sequence of [annotations] or an empty
XSObjectList . |
int |
getMaxOccurs()
[max occurs]: determines the maximum number of terms that can occur.
|
boolean |
getMaxOccursUnbounded()
[max occurs]: whether the maxOccurs value is unbounded.
|
int |
getMinOccurs()
[min occurs]: determines the minimum number of terms that can occur.
|
XSTerm |
getTerm()
[term]: one of a model group, a wildcard, or an element declaration.
|
short |
getType()
Get the type
|
void |
setMaxOccurs(int maxOccurs) |
void |
setMinOccurs(int minOccurs) |
void |
setTerm(XSTerm term) |
equals, getName, getNamespace, getNamespaceItem, hashCode, setName, setNamespace, setNamespaceItem, setType
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getName, getNamespace, getNamespaceItem
protected int minOccurs
protected int maxOccurs
protected XSTerm term
public int getMinOccurs()
getMinOccurs
in interface XSParticle
public int getMaxOccurs()
maxOccursUnbounded
. When the value of
maxOccursUnbounded
is true
, the value of
maxOccurs
is unspecified.getMaxOccurs
in interface XSParticle
public boolean getMaxOccursUnbounded()
getMaxOccursUnbounded
in interface XSParticle
public XSTerm getTerm()
getTerm
in interface XSParticle
public short getType()
getType
in interface XSObject
getType
in class JBossXSObject
public void setMinOccurs(int minOccurs)
public void setMaxOccurs(int maxOccurs)
public void setTerm(XSTerm term)
public int compareTo(Object o)
compareTo
in interface Comparable
public XSObjectList getAnnotations()
XSParticle
XSObjectList
.getAnnotations
in interface XSParticle
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.