com.ibm.etools.xsd.impl
Class XSDParticleImpl
java.lang.Object
|
+--com.ibm.etools.emf.notify.impl.NotifierImpl
|
+--com.ibm.etools.emf.ref.impl.RefBaseObjectImpl
|
+--com.ibm.etools.emf.ref.impl.RefObjectImpl
|
+--com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
|
+--com.ibm.etools.xsd.impl.XSDComponentImpl
|
+--com.ibm.etools.xsd.impl.XSDComplexTypeContentImpl
|
+--com.ibm.etools.xsd.impl.XSDParticleImpl
- All Implemented Interfaces:
- com.ibm.etools.emf.notify.InternalNotifier, com.ibm.etools.emf.ref.InternalProxy, com.ibm.etools.emf.ref.InternalResolved, com.ibm.etools.emf.ref.Internals, com.ibm.etools.emf.notify.Notifier, com.ibm.etools.emf.ref.RefBaseObject, com.ibm.etools.emf.ref.RefObject, com.ibm.etools.emf.resource.ResourceSetReference, XSDComplexTypeContent, XSDComponent, XSDConcreteComponent, XSDParticle
- public class XSDParticleImpl
- extends XSDComplexTypeContentImpl
- implements XSDParticle, XSDComplexTypeContent
| Fields inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl |
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ERROR, FATAL, INFORMATION, isReconciling, owner, rootOwner, schema, UNANALYZED, updatingDOM, WARNING |
| Fields inherited from class com.ibm.etools.emf.ref.impl.RefObjectImpl |
refDelegateOwner |
| Fields inherited from class com.ibm.etools.emf.ref.impl.RefBaseObjectImpl |
helper |
| Fields inherited from class com.ibm.etools.emf.notify.impl.NotifierImpl |
debug, isOn, isOnAll |
| Fields inherited from interface com.ibm.etools.emf.notify.Notifier |
ADD, ADD_MANY, CREATE, MOVE, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, SET, TOUCH, UNSET |
| Methods inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl |
adoptBy, adoptDiagnostic, analyze, changeReference, checkAttributes, checkBuiltInTypeConstraint, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getOwner, getOwnerGen, getRootContainer, getRootOwner, getSchema, getURIReferenceLabel, getURIReferencePath, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, handleReconciliation, handleUnreconciledElement, internalNotify, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanDiagnostic, reconcile, reportConstraintViolation, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setElementGen, setListContentAndOrder, setOwner, setRootOwner, setSchema, traverseToRootForAnalysis, traverseToRootForPatching, unsetElement, unsetElementGen, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement, validate |
| Methods inherited from class com.ibm.etools.emf.ref.impl.RefObjectImpl |
getAdapter, initInstanceDelegates, newCollection, newCollection, newCollection, notify, notify, refAddValue, refAddValueAt, refAddValueBefore, refBasicContains, refBasicRemoveContent, refBasicRemoveValue, refBasicValues, refContainer, refContains, refCurrentValues, refDelegateOwner, refDelete, refGetDefaultValues, refIsDelegate, refModifyValue, refModifyValueAt, refRemoveContent, refRemoveValue, refRemoveValueAt, refResource, refSetDelegateOwner, refSetValueForContainMVReference, refSetValueForContainSVReference, refSetValueForEnumAttribute, refSetValueForMVReference, refSetValueForRefObjectSF, refSetValueForSimpleSF, refSetValueForSVReference, refUnsetValueForContainReference, refUnsetValueForMVReference, refUnsetValueForRefObjectSF, refUnsetValueForSimpleSF, refUnsetValueForSVReference |
| Methods inherited from class com.ibm.etools.emf.ref.impl.RefBaseObjectImpl |
getImplementationHelper, getRegisteredAdapterFactory, getResourceSet, initDelegates, metaObject, refAttributes, refBasicContainsExtent, refBasicSetContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContainsExtent, refContainsNested, refCreateProxy, refDefiningPackage, refExtent, refFindUnloadedObjectsContains, refGetProxyURI, refHref, refID, refImmediatePackage, refIsContainer, refIsDeleted, refIsProxy, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refSetContainer, refSetContainer, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetProxyURI, refSetUUID, refSetUUID, refSetUUID, resolve, resolve, resolved, resolveDelete |
| Methods inherited from class com.ibm.etools.emf.notify.impl.NotifierImpl |
addAdapter, ensureAdapterSpace, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ibm.etools.xsd.XSDConcreteComponent |
clearDiagnostics, contains, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getOwner, getRootContainer, getRootOwner, getSchema, getURIReferencePath, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setOwner, setRootOwner, setSchema, unsetElement, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement, validate |
| Methods inherited from interface com.ibm.etools.emf.ref.RefObject |
refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner |
| Methods inherited from interface com.ibm.etools.emf.ref.RefBaseObject |
metaObject, refAttributes, refContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContains, refContainsExtent, refContainsNested, refDelete, refExtent, refID, refImmediatePackage, refIsContainer, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refRemoveContent, refResource, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetUUID, refSetUUID, refSetUUID |
| Methods inherited from interface com.ibm.etools.emf.notify.Notifier |
addAdapter, getAdapter, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, notify, notify, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll |
| Methods inherited from interface com.ibm.etools.emf.resource.ResourceSetReference |
getResourceSet |
| Methods inherited from interface com.ibm.etools.emf.ref.Internals |
refBasicContainsExtent, refBasicSetContainer, refSetContainer, refSetContainer |
copyright
public static final java.lang.String copyright
minOccurs
protected java.lang.Integer minOccurs
- The cached value of the '
Min Occurs' attribute.
- See Also:
getMinOccurs()
maxOccurs
protected java.lang.Integer maxOccurs
- The cached value of the '
Max Occurs' attribute.
- See Also:
getMaxOccurs()
content
protected XSDParticleContent content
- The cached value of the '
Content' reference.
- See Also:
getContent()
term
protected XSDTerm term
- The cached value of the '
Term' reference.
- See Also:
getTerm()
XSDParticleImpl
protected XSDParticleImpl()
ePackageXSD
public XSDPackage ePackageXSD()
-
- Specified by:
ePackageXSD in interface XSDConcreteComponent- Overrides:
ePackageXSD in class XSDComplexTypeContentImpl
- Following copied from interface:
com.ibm.etools.xsd.XSDConcreteComponent
- Returns:
- the meta package of
XSDConcreteComponent.
eClassXSDParticle
public com.ibm.etools.emf.ecore.EClass eClassXSDParticle()
-
- Specified by:
eClassXSDParticle in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- the meta class.
- See Also:
XSDPackage.getXSDParticle(),
XSDConcreteComponent.ePackageXSD()
createParticle
public static XSDParticle createParticle(Node node)
initInstance
public com.ibm.etools.emf.ref.RefObject initInstance()
-
- Specified by:
initInstance in interface com.ibm.etools.emf.ref.RefObject- Overrides:
initInstance in class XSDComplexTypeContentImpl
getMinOccurs
public java.lang.Integer getMinOccurs()
-
- Specified by:
getMinOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- the value of the 'Min Occurs' attribute.
- See Also:
XSDParticle.getValueMinOccurs(),
XSDParticle.isSetMinOccurs(),
XSDParticle.unsetMinOccurs(),
XSDParticle.setMinOccurs(Integer),
XSDPackage.getXSDParticle_MinOccurs()
getValueMinOccurs
public int getValueMinOccurs()
- Description copied from interface:
XSDParticle
- Returns the primitive value of the '
Min Occurs' attribute.
- Specified by:
getValueMinOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- the primitive value of the 'Min Occurs' attribute.
- See Also:
XSDParticle.getMinOccurs(),
XSDParticle.isSetMinOccurs(),
XSDParticle.unsetMinOccurs(),
XSDParticle.setMinOccurs(int)
setMinOccurs
public void setMinOccurs(java.lang.Integer value)
-
- Specified by:
setMinOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Parameters:
value - the new value of the 'Min Occurs' attribute.- See Also:
XSDParticle.setMinOccurs(int),
XSDParticle.isSetMinOccurs(),
XSDParticle.unsetMinOccurs(),
XSDParticle.getMinOccurs()
setMinOccurs
public void setMinOccurs(int value)
-
- Specified by:
setMinOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Parameters:
value - the new value of the 'Min Occurs' attribute.- See Also:
XSDParticle.setMinOccurs(Integer),
XSDParticle.isSetMinOccurs(),
XSDParticle.unsetMinOccurs(),
XSDParticle.getValueMinOccurs()
unsetMinOccurs
public void unsetMinOccurs()
-
- Specified by:
unsetMinOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- See Also:
XSDParticle.isSetMinOccurs(),
XSDParticle.getMinOccurs(),
XSDParticle.setMinOccurs(Integer)
isSetMinOccurs
public boolean isSetMinOccurs()
-
- Specified by:
isSetMinOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- whether the value of the 'Min Occurs' attribute is set.
- See Also:
XSDParticle.unsetMinOccurs(),
XSDParticle.getMinOccurs(),
XSDParticle.setMinOccurs(Integer)
getMaxOccurs
public java.lang.Integer getMaxOccurs()
-
- Specified by:
getMaxOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- the value of the 'Max Occurs' attribute.
- See Also:
XSDParticle.getValueMaxOccurs(),
XSDParticle.isSetMaxOccurs(),
XSDParticle.unsetMaxOccurs(),
XSDParticle.setMaxOccurs(Integer),
XSDPackage.getXSDParticle_MaxOccurs()
getValueMaxOccurs
public int getValueMaxOccurs()
- Description copied from interface:
XSDParticle
- Returns the primitive value of the '
Max Occurs' attribute.
- Specified by:
getValueMaxOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- the primitive value of the 'Max Occurs' attribute.
- See Also:
XSDParticle.getMaxOccurs(),
XSDParticle.isSetMaxOccurs(),
XSDParticle.unsetMaxOccurs(),
XSDParticle.setMaxOccurs(int)
setMaxOccurs
public void setMaxOccurs(java.lang.Integer value)
-
- Specified by:
setMaxOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Parameters:
value - the new value of the 'Max Occurs' attribute.- See Also:
XSDParticle.setMaxOccurs(int),
XSDParticle.isSetMaxOccurs(),
XSDParticle.unsetMaxOccurs(),
XSDParticle.getMaxOccurs()
setMaxOccurs
public void setMaxOccurs(int value)
-
- Specified by:
setMaxOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Parameters:
value - the new value of the 'Max Occurs' attribute.- See Also:
XSDParticle.setMaxOccurs(Integer),
XSDParticle.isSetMaxOccurs(),
XSDParticle.unsetMaxOccurs(),
XSDParticle.getValueMaxOccurs()
unsetMaxOccurs
public void unsetMaxOccurs()
-
- Specified by:
unsetMaxOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- See Also:
XSDParticle.isSetMaxOccurs(),
XSDParticle.getMaxOccurs(),
XSDParticle.setMaxOccurs(Integer)
isSetMaxOccurs
public boolean isSetMaxOccurs()
-
- Specified by:
isSetMaxOccurs in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- whether the value of the 'Max Occurs' attribute is set.
- See Also:
XSDParticle.unsetMaxOccurs(),
XSDParticle.getMaxOccurs(),
XSDParticle.setMaxOccurs(Integer)
getContent
public XSDParticleContent getContent()
-
- Specified by:
getContent in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- the value of the 'Content' reference.
- See Also:
XSDParticle.getTerm(),
XSDParticle.isSetContent(),
XSDParticle.unsetContent(),
XSDParticle.setContent(XSDParticleContent),
XSDPackage.getXSDParticle_Content()
setContent
public void setContent(XSDParticleContent value)
-
- Specified by:
setContent in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Parameters:
value - the new value of the 'Content' reference.- See Also:
XSDParticle.isSetContent(),
XSDParticle.unsetContent(),
XSDParticle.getContent()
unsetContent
public void unsetContent()
-
- Specified by:
unsetContent in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- See Also:
XSDParticle.isSetContent(),
XSDParticle.getContent(),
XSDParticle.setContent(XSDParticleContent)
isSetContent
public boolean isSetContent()
-
- Specified by:
isSetContent in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- whether the value of the 'Content' reference is set.
- See Also:
XSDParticle.unsetContent(),
XSDParticle.getContent(),
XSDParticle.setContent(XSDParticleContent)
getTerm
public XSDTerm getTerm()
-
- Specified by:
getTerm in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- the value of the 'Term' reference.
- See Also:
XSDParticle.getContent(),
XSDParticle.isSetTerm(),
XSDParticle.unsetTerm(),
XSDParticle.setTerm(XSDTerm),
XSDPackage.getXSDParticle_Term()
setTerm
public void setTerm(XSDTerm value)
-
- Specified by:
setTerm in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Parameters:
value - the new value of the 'Term' reference.- See Also:
XSDParticle.isSetTerm(),
XSDParticle.unsetTerm(),
XSDParticle.getTerm()
unsetTerm
public void unsetTerm()
-
- Specified by:
unsetTerm in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- See Also:
XSDParticle.isSetTerm(),
XSDParticle.getTerm(),
XSDParticle.setTerm(XSDTerm)
isSetTerm
public boolean isSetTerm()
-
- Specified by:
isSetTerm in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- whether the value of the 'Term' reference is set.
- See Also:
XSDParticle.unsetTerm(),
XSDParticle.getTerm(),
XSDParticle.setTerm(XSDTerm)
refValue
public java.lang.Object refValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
-
- Specified by:
refValue in interface com.ibm.etools.emf.ref.RefObject- Overrides:
refValue in class XSDComplexTypeContentImpl
refBasicValue
public java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
-
- Overrides:
refBasicValue in class XSDComplexTypeContentImpl
refIsSet
public boolean refIsSet(com.ibm.etools.emf.ref.RefStructuralFeature feature)
-
- Specified by:
refIsSet in interface com.ibm.etools.emf.ref.RefObject- Overrides:
refIsSet in class XSDComplexTypeContentImpl
refSetValue
public void refSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
java.lang.Object newValue)
-
- Specified by:
refSetValue in interface com.ibm.etools.emf.ref.RefObject- Overrides:
refSetValue in class XSDComplexTypeContentImpl
refBasicSetValue
public com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
java.lang.Object newValue)
-
- Overrides:
refBasicSetValue in class XSDComplexTypeContentImpl
refUnsetValue
public void refUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
-
- Specified by:
refUnsetValue in interface com.ibm.etools.emf.ref.RefObject- Overrides:
refUnsetValue in class XSDComplexTypeContentImpl
refBasicUnsetValue
public com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
-
- Overrides:
refBasicUnsetValue in class XSDComplexTypeContentImpl
toString
public java.lang.String toString()
-
- Overrides:
toString in class XSDComplexTypeContentImpl
createElement
public Element createElement()
- Overrides:
createElement in class XSDConcreteComponentImpl
patch
protected void patch()
- Overrides:
patch in class XSDConcreteComponentImpl
patchHelper
protected void patchHelper()
getContentNodes
protected java.util.Collection getContentNodes(Element changedElement)
- Overrides:
getContentNodes in class XSDConcreteComponentImpl
reconcileAttributes
protected void reconcileAttributes(Element changedElement)
- Overrides:
reconcileAttributes in class XSDConcreteComponentImpl
reconcileContents
protected void reconcileContents(Element changedElement)
- Overrides:
reconcileContents in class XSDConcreteComponentImpl
changeAttribute
protected void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
- Overrides:
changeAttribute in class XSDConcreteComponentImpl
adoptContent
protected void adoptContent(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
- Overrides:
adoptContent in class XSDConcreteComponentImpl
orphanContent
protected void orphanContent(com.ibm.etools.emf.ref.RefReference refReference,
XSDConcreteComponent xsdConcreteComponent)
- Overrides:
orphanContent in class XSDConcreteComponentImpl
getDFA
public XSDParticle.DFA getDFA()
- Description copied from interface:
XSDParticle
- Returns the deterministic finite state automaton that implements this particle's content model.
- Specified by:
getDFA in interface XSDParticle
- Following copied from interface:
com.ibm.etools.xsd.XSDParticle
- Returns:
- the deterministic finite state automaton that implements this particle's content model.
cloneConcreteComponent
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
- Description copied from interface:
XSDConcreteComponent
- Creates a clone of the component.
The clone may be deep and may share the DOM of this component.
- Specified by:
cloneConcreteComponent in interface XSDConcreteComponent- Overrides:
cloneConcreteComponent in class XSDConcreteComponentImpl
- Following copied from interface:
com.ibm.etools.xsd.XSDConcreteComponent
- Parameters:
deep - whether the clone should be deep.shareDOM - whether the clone should share the original DOM- Returns:
- a clone of the component.