|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSDParticle
A representation of the model object 'Particle'.
The following features are supported:
XSDPackage.getXSDParticle()
Nested Class Summary | |
---|---|
static interface |
XSDParticle.DFA
A deterministic finite state automaton as described for 'Unique Particle Attribution'. |
Field Summary | |
---|---|
static int |
UNBOUNDED
The value -1 representing a max occurs of unbounded. |
Method Summary | |
---|---|
XSDParticleContent |
getContent()
Returns the value of the 'Content' containment reference |
XSDParticle.DFA |
getDFA()
Returns the deterministic finite state automaton that implements this particle's content model |
int |
getMaxOccurs()
Returns the value of the 'Max Occurs' attribute. |
int |
getMinOccurs()
Returns the value of the 'Min Occurs' attribute. |
XSDTerm |
getTerm()
Returns the value of the 'Term' reference |
boolean |
isEmptiable()
Returns whether the particle is emptiable. |
boolean |
isSetMaxOccurs()
Returns whether the value of the ' Max Occurs ' attribute is set |
boolean |
isSetMinOccurs()
Returns whether the value of the ' Min Occurs ' attribute is set |
boolean |
isSubset(XSDParticle otherParticle)
This returns whether this particle accepts a subset of the content accepted by the other particle, i.e., whether this is a valid restriction. |
void |
setContent(XSDParticleContent value)
Sets the value of the ' Content ' containment reference |
void |
setMaxOccurs(int value)
Sets the value of the ' Max Occurs ' attribute |
void |
setMinOccurs(int value)
Sets the value of the ' Min Occurs ' attribute |
void |
setTerm(XSDTerm value)
Sets the value of the ' Term ' reference |
void |
unsetMaxOccurs()
Unsets the value of the ' Max Occurs ' attribute |
void |
unsetMinOccurs()
Unsets the value of the ' Min Occurs ' attribute |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
---|
static final int UNBOUNDED
-1
representing a max occurs of unbounded.
getMaxOccurs()
,
Constant Field ValuesMethod Detail |
---|
int getMinOccurs()
"1"
.
This represents the min occurs infoset property.
isSetMinOccurs()
,
unsetMinOccurs()
,
setMinOccurs(int)
,
XSDPackage.getXSDParticle_MinOccurs()
void setMinOccurs(int value)
Min Occurs
' attribute.
value
- the new value of the 'Min Occurs' attribute.isSetMinOccurs()
,
unsetMinOccurs()
,
getMinOccurs()
void unsetMinOccurs()
Min Occurs
' attribute.
isSetMinOccurs()
,
getMinOccurs()
,
setMinOccurs(int)
boolean isSetMinOccurs()
Min Occurs
' attribute is set.
unsetMinOccurs()
,
getMinOccurs()
,
setMinOccurs(int)
int getMaxOccurs()
"1"
.
This represents the
max occurs
infoset property.
The unbounded
value is represented by UNBOUNDED
, i.e., -1
.
UNBOUNDED
,
isSetMaxOccurs()
,
unsetMaxOccurs()
,
setMaxOccurs(int)
,
XSDPackage.getXSDParticle_MaxOccurs()
void setMaxOccurs(int value)
Max Occurs
' attribute.
value
- the new value of the 'Max Occurs' attribute.isSetMaxOccurs()
,
unsetMaxOccurs()
,
getMaxOccurs()
void unsetMaxOccurs()
Max Occurs
' attribute.
isSetMaxOccurs()
,
getMaxOccurs()
,
setMaxOccurs(int)
boolean isSetMaxOccurs()
Max Occurs
' attribute is set.
unsetMaxOccurs()
,
getMaxOccurs()
,
setMaxOccurs(int)
XSDParticleContent getContent()
This concrete reference represents the particle content
of the particle.
It is used to compute the term
.
getTerm()
,
setContent(XSDParticleContent)
,
XSDPackage.getXSDParticle_Content()
void setContent(XSDParticleContent value)
Content
' containment reference.
value
- the new value of the 'Content' containment reference.getContent()
XSDTerm getTerm()
This represents the
term
infoset property.
It is computed from the content
and should typically not be modified directly.
getContent()
,
setTerm(XSDTerm)
,
XSDPackage.getXSDParticle_Term()
void setTerm(XSDTerm value)
Term
' reference.
Since the term is computed from the content
, this reference should typically not be modified directly.
value
- the new value of the 'Term' reference.getTerm()
XSDParticle.DFA getDFA()
boolean isEmptiable()
boolean isSubset(XSDParticle otherParticle)
otherParticle
- some other particle.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |