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
Purpose: Class to represent a Sequence in a Schema
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddElement(Element elem) voidaddSequence(Sequence sequence) booleanhasAny()booleanisEmpty()voidvoidsetChoices(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, setMinOccursMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.persistence.internal.oxm.schema.model.NestedParticle
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs
-
Field Details
-
orderedElements
-
-
Constructor Details
-
Sequence
public Sequence()
-
-
Method Details
-
getOrderedElements
-
setOrderedElements
-
setSequences
- Specified by:
setSequencesin interfaceNestedParticle
-
setChoices
- Specified by:
setChoicesin interfaceNestedParticle
-
setNestedParticles
-
addSequence
- Specified by:
addSequencein interfaceNestedParticle
-
addChoice
- Specified by:
addChoicein interfaceNestedParticle
-
addElement
- Specified by:
addElementin interfaceNestedParticle- Overrides:
addElementin classTypeDefParticle
-
addAny
- Specified by:
addAnyin interfaceNestedParticle
-
setElements
- Specified by:
setElementsin interfaceNestedParticle- Overrides:
setElementsin classTypeDefParticle
-
setAnys
- Specified by:
setAnysin interfaceNestedParticle
-
hasAny
public boolean hasAny()- Specified by:
hasAnyin interfaceNestedParticle
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceNestedParticle
-
setOwner
- Specified by:
setOwnerin interfaceNestedParticle- Overrides:
setOwnerin classTypeDefParticle
-