Module org.eclipse.persistence.core
Class Sequence
- java.lang.Object
-
- org.eclipse.persistence.internal.oxm.schema.model.TypeDefParticle
-
- org.eclipse.persistence.internal.oxm.schema.model.Sequence
-
- All Implemented Interfaces:
NestedParticle,TypeDefParticleOwner
public class Sequence extends TypeDefParticle implements NestedParticle
Purpose: Class to represent a Sequence in a Schema
-
-
Field Summary
Fields Modifier and Type Field Description protected ListorderedElements
-
Constructor Summary
Constructors Constructor Description Sequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAny(Any any)voidaddChoice(Choice choice)voidaddElement(Element elem)voidaddSequence(Sequence sequence)ListgetOrderedElements()booleanhasAny()booleanisEmpty()voidsetAnys(List<Any> anys)voidsetChoices(List<Choice> choices)voidsetElements(List<Element> elements)voidsetNestedParticles(List<? extends NestedParticle> nestedParticles)voidsetOrderedElements(List newElements)voidsetOwner(TypeDefParticleOwner owner)voidsetSequences(List<Sequence> sequences)-
Methods inherited from class org.eclipse.persistence.internal.oxm.schema.model.TypeDefParticle
getElements, getMaxOccurs, getMinOccurs, getOwner, getOwnerName, setMaxOccurs, setMinOccurs
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.persistence.internal.oxm.schema.model.NestedParticle
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs
-
-
-
-
Field Detail
-
orderedElements
protected List orderedElements
-
-
Method Detail
-
getOrderedElements
public List getOrderedElements()
-
setOrderedElements
public void setOrderedElements(List newElements)
-
setSequences
public void setSequences(List<Sequence> sequences)
- Specified by:
setSequencesin interfaceNestedParticle
-
setChoices
public void setChoices(List<Choice> choices)
- Specified by:
setChoicesin interfaceNestedParticle
-
setNestedParticles
public void setNestedParticles(List<? extends NestedParticle> nestedParticles)
-
addSequence
public void addSequence(Sequence sequence)
- Specified by:
addSequencein interfaceNestedParticle
-
addChoice
public void addChoice(Choice choice)
- Specified by:
addChoicein interfaceNestedParticle
-
addElement
public void addElement(Element elem)
- Specified by:
addElementin interfaceNestedParticle- Overrides:
addElementin classTypeDefParticle
-
addAny
public void addAny(Any any)
- Specified by:
addAnyin interfaceNestedParticle
-
setElements
public void setElements(List<Element> elements)
- Specified by:
setElementsin interfaceNestedParticle- Overrides:
setElementsin classTypeDefParticle
-
setAnys
public void setAnys(List<Any> anys)
- Specified by:
setAnysin interfaceNestedParticle
-
hasAny
public boolean hasAny()
- Specified by:
hasAnyin interfaceNestedParticle
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceNestedParticle
-
setOwner
public void setOwner(TypeDefParticleOwner owner)
- Specified by:
setOwnerin interfaceNestedParticle- Overrides:
setOwnerin classTypeDefParticle
-
-