Module org.eclipse.persistence.core
Interface NestedParticle
-
- All Superinterfaces:
TypeDefParticleOwner
public interface NestedParticle extends TypeDefParticleOwner
Purpose: Interface to represent a Choice or Sequence
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAny(Any any)voidaddChoice(Choice choice)voidaddElement(Element elem)voidaddSequence(Sequence sequence)StringgetMaxOccurs()StringgetMinOccurs()booleanhasAny()booleanisEmpty()voidsetAnys(List<Any> anys)voidsetChoices(List<Choice> choices)voidsetElements(List<Element> elements)voidsetMaxOccurs(String maxOccurs)voidsetMinOccurs(String minOccurs)voidsetOwner(TypeDefParticleOwner owner)voidsetSequences(List<Sequence> sequences)
-
-
-
Method Detail
-
addSequence
void addSequence(Sequence sequence)
-
addChoice
void addChoice(Choice choice)
-
addElement
void addElement(Element elem)
-
addAny
void addAny(Any any)
-
hasAny
boolean hasAny()
-
setMinOccurs
void setMinOccurs(String minOccurs)
-
getMinOccurs
String getMinOccurs()
-
getMaxOccurs
String getMaxOccurs()
-
setMaxOccurs
void setMaxOccurs(String maxOccurs)
-
setOwner
void setOwner(TypeDefParticleOwner owner)
-
isEmpty
boolean isEmpty()
-
-