public class Sequence extends TypeDefParticle implements NestedParticle
Purpose: Class to represent a Sequence in a Schema
| Constructor and Description |
|---|
Sequence() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAny(Any any) |
void |
addChoice(Choice choice) |
void |
addElement(Element elem) |
void |
addSequence(Sequence sequence) |
java.util.List |
getOrderedElements() |
boolean |
hasAny() |
boolean |
isEmpty() |
void |
setAnys(java.util.List anys) |
void |
setChoices(java.util.List choices) |
void |
setElements(java.util.List elements) |
void |
setNestedParticles(java.util.List nestedParticles) |
void |
setOrderedElements(java.util.List newElements) |
void |
setOwner(TypeDefParticleOwner owner) |
void |
setSequences(java.util.List sequences) |
getElements, getMaxOccurs, getMinOccurs, getOwner, getOwnerName, setMaxOccurs, setMinOccursequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurspublic java.util.List getOrderedElements()
public void setOrderedElements(java.util.List newElements)
public void setSequences(java.util.List sequences)
setSequences in interface NestedParticlepublic void setChoices(java.util.List choices)
setChoices in interface NestedParticlepublic void setNestedParticles(java.util.List nestedParticles)
public void addSequence(Sequence sequence)
addSequence in interface NestedParticlepublic void addChoice(Choice choice)
addChoice in interface NestedParticlepublic void addElement(Element elem)
addElement in interface NestedParticleaddElement in class TypeDefParticlepublic void addAny(Any any)
addAny in interface NestedParticlepublic void setElements(java.util.List elements)
setElements in interface NestedParticlesetElements in class TypeDefParticlepublic void setAnys(java.util.List anys)
setAnys in interface NestedParticlepublic boolean hasAny()
hasAny in interface NestedParticlepublic boolean isEmpty()
isEmpty in interface NestedParticlepublic void setOwner(TypeDefParticleOwner owner)
setOwner in interface NestedParticlesetOwner in class TypeDefParticleEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference