com.ibm.etools.xsd.impl
Class XSDFeatureImpl

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.XSDNamedComponentImpl
                                      |
                                      +--com.ibm.etools.xsd.impl.XSDFeatureImpl
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, XSDComponent, XSDConcreteComponent, XSDFeature, XSDNamedComponent
Direct Known Subclasses:
XSDAttributeDeclarationImpl, XSDElementDeclarationImpl

public class XSDFeatureImpl
extends XSDNamedComponentImpl
implements XSDFeature, XSDNamedComponent


Inner classes inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
XSDNamedComponentImpl.Comparator
 
Field Summary
protected  com.ibm.etools.emf.ecore.EEnumLiteral constraint
          The cached value of the 'Constraint' attribute.
static java.lang.String copyright
           
protected  com.ibm.etools.emf.ecore.EEnumLiteral form
          The cached value of the 'Form' attribute.
protected  java.lang.String lexicalValue
          The cached value of the 'Lexical Value' attribute.
protected  java.lang.Object value
          The cached value of the 'Value' attribute.
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
name, targetNamespace
 
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
 
Constructor Summary
protected XSDFeatureImpl()
           
 
Method Summary
protected  boolean analyze()
           
protected  void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
           
 com.ibm.etools.emf.ecore.EClass eClassXSDFeature()
          
 XSDPackage ePackageXSD()
          
 java.lang.Integer getConstraint()
          
 java.lang.Boolean getFeatureReference()
          
 java.lang.Integer getForm()
          
 java.lang.Boolean getGlobal()
          
 java.lang.String getLexicalValue()
          
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralConstraint()
          
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralForm()
          
 XSDFeature getResolvedFeature()
          Returns the value of the 'Resolved Feature' reference.
 XSDScope getScope()
          Returns the value of the 'Scope' reference.
 java.lang.String getStringConstraint()
          
 java.lang.String getStringForm()
          
 XSDTypeDefinition getType()
          Returns the value of the 'Type' reference.
 java.lang.Object getValue()
          
 int getValueConstraint()
          Returns the primitive value of the 'Constraint' attribute.
 int getValueForm()
          Returns the primitive value of the 'Form' attribute.
 com.ibm.etools.emf.ref.RefObject initInstance()
          
 boolean isFeatureReference()
          Returns whether the object is 'Feature Reference'.
 boolean isGlobal()
          Returns whether the object is 'Global'.
 boolean isSetConstraint()
          
 boolean isSetForm()
          
 boolean isSetLexicalValue()
          
 boolean isSetValue()
          
protected  boolean isUpdatingDOM()
           
protected  void reconcileAttributes(Element changedElement)
           
 com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature, java.lang.Object newValue)
          
 com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 boolean refIsSet(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 void refSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature, java.lang.Object newValue)
          
 void refUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 java.lang.Object refValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 void setConstraint(com.ibm.etools.emf.ecore.EEnumLiteral value)
          
 void setConstraint(int value)
          
 void setConstraint(java.lang.Integer value)
          
 void setConstraint(java.lang.String value)
          
 void setForm(com.ibm.etools.emf.ecore.EEnumLiteral value)
          
 void setForm(int value)
          
 void setForm(java.lang.Integer value)
          
 void setForm(java.lang.String value)
          
 void setLexicalValue(java.lang.String value)
          
 void setValue(java.lang.Object value)
          
 java.lang.String toString()
          
 void unsetConstraint()
          
 void unsetForm()
          
 void unsetLexicalValue()
          
 void unsetValue()
          
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
addToSortedList, eClassXSDNamedComponent, getAliasName, getAliasURI, getName, getQName, getQName, getResolvedNamedComponent, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, isNamedComponentReference, isSetName, isSetTargetNamespace, mergeToSortedList, patch, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents, unsetName, unsetTargetNamespace
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDComponentImpl
eClassXSDComponent
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
adoptBy, adoptContent, adoptDiagnostic, changeReference, checkAttributes, checkBuiltInTypeConstraint, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponent, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createElement, 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, getContentNodes, getDiagnostics, getElement, getOwner, getOwnerGen, getRootContainer, getRootOwner, getSchema, getURIReferencePath, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, handleReconciliation, handleUnreconciledElement, internalNotify, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, orphanDiagnostic, reconcile, reconcileContents, 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.XSDNamedComponent
eClassXSDNamedComponent, getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, isSetName, isSetTargetNamespace, setName, setTargetNamespace, unsetName, unsetTargetNamespace
 
Methods inherited from interface com.ibm.etools.xsd.XSDComponent
eClassXSDComponent
 
Methods inherited from interface com.ibm.etools.xsd.XSDConcreteComponent
clearDiagnostics, cloneConcreteComponent, 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
 

Field Detail

copyright

public static final java.lang.String copyright

value

protected java.lang.Object value
The cached value of the 'Value' attribute.
See Also:
getValue()

constraint

protected com.ibm.etools.emf.ecore.EEnumLiteral constraint
The cached value of the 'Constraint' attribute.
See Also:
getLiteralConstraint()

form

protected com.ibm.etools.emf.ecore.EEnumLiteral form
The cached value of the 'Form' attribute.
See Also:
getLiteralForm()

lexicalValue

protected java.lang.String lexicalValue
The cached value of the 'Lexical Value' attribute.
See Also:
getLexicalValue()
Constructor Detail

XSDFeatureImpl

protected XSDFeatureImpl()
Method Detail

ePackageXSD

public XSDPackage ePackageXSD()
Specified by:
ePackageXSD in interface XSDConcreteComponent
Overrides:
ePackageXSD in class XSDNamedComponentImpl
Following copied from interface: com.ibm.etools.xsd.XSDConcreteComponent
Returns:
the meta package of XSDConcreteComponent.

eClassXSDFeature

public com.ibm.etools.emf.ecore.EClass eClassXSDFeature()
Specified by:
eClassXSDFeature in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the meta class.
See Also:
XSDPackage.getXSDFeature(), XSDConcreteComponent.ePackageXSD()

initInstance

public com.ibm.etools.emf.ref.RefObject initInstance()
Specified by:
initInstance in interface com.ibm.etools.emf.ref.RefObject
Overrides:
initInstance in class XSDNamedComponentImpl

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Value' attribute.
See Also:
XSDFeature.isSetValue(), XSDFeature.unsetValue(), XSDFeature.setValue(java.lang.Object), XSDPackage.getXSDFeature_Value()

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the new value of the 'Value' attribute.
See Also:
XSDFeature.isSetValue(), XSDFeature.unsetValue(), XSDFeature.getValue()

unsetValue

public void unsetValue()
Specified by:
unsetValue in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
See Also:
XSDFeature.isSetValue(), XSDFeature.getValue(), XSDFeature.setValue(java.lang.Object)

isSetValue

public boolean isSetValue()
Specified by:
isSetValue in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
whether the value of the 'Value' attribute is set.
See Also:
XSDFeature.unsetValue(), XSDFeature.getValue(), XSDFeature.setValue(java.lang.Object)

getLiteralConstraint

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralConstraint()
Specified by:
getLiteralConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Constraint' attribute.
See Also:
XSDFeature.getValueConstraint(), XSDFeature.getConstraint(), XSDFeature.getStringConstraint(), XSDConstraint, XSDFeature.isSetConstraint(), XSDFeature.unsetConstraint(), XSDFeature.setConstraint(EEnumLiteral), XSDPackage.getXSDFeature_Constraint()

getValueConstraint

public int getValueConstraint()
Description copied from interface: XSDFeature
Returns the primitive value of the 'Constraint' attribute.
Specified by:
getValueConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the primitive value of the 'Constraint' attribute.
See Also:
XSDFeature.getLiteralConstraint(), XSDFeature.getValueConstraint(), XSDFeature.getStringConstraint(), XSDConstraint, XSDFeature.isSetConstraint(), XSDFeature.unsetConstraint(), XSDFeature.setConstraint(int)

getStringConstraint

public java.lang.String getStringConstraint()
Specified by:
getStringConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the String value of the 'Constraint' attribute.
See Also:
XSDFeature.getLiteralConstraint(), XSDFeature.getConstraint(), XSDFeature.getValueConstraint(), XSDConstraint, XSDFeature.isSetConstraint(), XSDFeature.unsetConstraint(), XSDFeature.setConstraint(String)

getConstraint

public java.lang.Integer getConstraint()
Specified by:
getConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the Integer value of the 'Constraint' attribute.
See Also:
XSDFeature.getLiteralConstraint(), XSDFeature.getValueConstraint(), XSDFeature.getStringConstraint(), XSDConstraint, XSDFeature.isSetConstraint(), XSDFeature.unsetConstraint(), XSDFeature.setConstraint(Integer)

setConstraint

public void setConstraint(com.ibm.etools.emf.ecore.EEnumLiteral value)
                   throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the new value of the 'Constraint' attribute.
See Also:
XSDFeature.setConstraint(int), XSDFeature.setConstraint(Integer), XSDFeature.setConstraint(String), XSDConstraint, XSDFeature.isSetConstraint(), XSDFeature.unsetConstraint(), XSDFeature.getLiteralConstraint()

setConstraint

public void setConstraint(int value)
                   throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the int value of the new enumeration literal value of the 'Constraint' attribute.
See Also:
XSDFeature.setConstraint(EEnumLiteral), XSDFeature.setConstraint(Integer), XSDFeature.setConstraint(String), XSDConstraint, XSDFeature.isSetConstraint(), XSDFeature.unsetConstraint(), XSDFeature.getValueConstraint()

setConstraint

public void setConstraint(java.lang.String value)
                   throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the String value of the new enumeration literal value of the 'Constraint' attribute.
See Also:
XSDFeature.setConstraint(EEnumLiteral), XSDFeature.setConstraint(int), XSDFeature.setConstraint(Integer), XSDConstraint, XSDFeature.isSetConstraint(), XSDFeature.unsetConstraint(), XSDFeature.getStringConstraint()

setConstraint

public void setConstraint(java.lang.Integer value)
                   throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the Integer value of the new enumeration literal value of the 'Constraint' attribute.
See Also:
XSDFeature.setConstraint(EEnumLiteral), XSDFeature.setConstraint(int), XSDFeature.setConstraint(String), XSDConstraint, XSDFeature.isSetConstraint(), XSDFeature.unsetConstraint(), XSDFeature.getValueConstraint()

unsetConstraint

public void unsetConstraint()
Specified by:
unsetConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
See Also:
XSDFeature.isSetConstraint(), XSDFeature.getLiteralConstraint(), XSDFeature.setConstraint(EEnumLiteral)

isSetConstraint

public boolean isSetConstraint()
Specified by:
isSetConstraint in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
whether the value of the 'Constraint' attribute is set.
See Also:
XSDFeature.unsetConstraint(), XSDFeature.getLiteralConstraint(), XSDFeature.setConstraint(EEnumLiteral)

getLiteralForm

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralForm()
Specified by:
getLiteralForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Form' attribute.
See Also:
XSDSchema.getAttributeFormDefault(), XSDSchema.getElementFormDefault(), XSDFeature.getValueForm(), XSDFeature.getForm(), XSDFeature.getStringForm(), XSDForm, XSDFeature.isSetForm(), XSDFeature.unsetForm(), XSDFeature.setForm(EEnumLiteral), XSDPackage.getXSDFeature_Form()

getValueForm

public int getValueForm()
Description copied from interface: XSDFeature
Returns the primitive value of the 'Form' attribute.
Specified by:
getValueForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the primitive value of the 'Form' attribute.
See Also:
XSDFeature.getLiteralForm(), XSDFeature.getValueForm(), XSDFeature.getStringForm(), XSDForm, XSDFeature.isSetForm(), XSDFeature.unsetForm(), XSDFeature.setForm(int)

getStringForm

public java.lang.String getStringForm()
Specified by:
getStringForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the String value of the 'Form' attribute.
See Also:
XSDFeature.getLiteralForm(), XSDFeature.getForm(), XSDFeature.getValueForm(), XSDForm, XSDFeature.isSetForm(), XSDFeature.unsetForm(), XSDFeature.setForm(String)

getForm

public java.lang.Integer getForm()
Specified by:
getForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the Integer value of the 'Form' attribute.
See Also:
XSDFeature.getLiteralForm(), XSDFeature.getValueForm(), XSDFeature.getStringForm(), XSDForm, XSDFeature.isSetForm(), XSDFeature.unsetForm(), XSDFeature.setForm(Integer)

setForm

public void setForm(com.ibm.etools.emf.ecore.EEnumLiteral value)
             throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the new value of the 'Form' attribute.
See Also:
XSDFeature.setForm(int), XSDFeature.setForm(Integer), XSDFeature.setForm(String), XSDForm, XSDFeature.isSetForm(), XSDFeature.unsetForm(), XSDFeature.getLiteralForm()

setForm

public void setForm(int value)
             throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the int value of the new enumeration literal value of the 'Form' attribute.
See Also:
XSDFeature.setForm(EEnumLiteral), XSDFeature.setForm(Integer), XSDFeature.setForm(String), XSDForm, XSDFeature.isSetForm(), XSDFeature.unsetForm(), XSDFeature.getValueForm()

setForm

public void setForm(java.lang.String value)
             throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the String value of the new enumeration literal value of the 'Form' attribute.
See Also:
XSDFeature.setForm(EEnumLiteral), XSDFeature.setForm(int), XSDFeature.setForm(Integer), XSDForm, XSDFeature.isSetForm(), XSDFeature.unsetForm(), XSDFeature.getStringForm()

setForm

public void setForm(java.lang.Integer value)
             throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the Integer value of the new enumeration literal value of the 'Form' attribute.
See Also:
XSDFeature.setForm(EEnumLiteral), XSDFeature.setForm(int), XSDFeature.setForm(String), XSDForm, XSDFeature.isSetForm(), XSDFeature.unsetForm(), XSDFeature.getValueForm()

unsetForm

public void unsetForm()
Specified by:
unsetForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
See Also:
XSDFeature.isSetForm(), XSDFeature.getLiteralForm(), XSDFeature.setForm(EEnumLiteral)

isSetForm

public boolean isSetForm()
Specified by:
isSetForm in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
whether the value of the 'Form' attribute is set.
See Also:
XSDFeature.unsetForm(), XSDFeature.getLiteralForm(), XSDFeature.setForm(EEnumLiteral)

getLexicalValue

public java.lang.String getLexicalValue()
Specified by:
getLexicalValue in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Lexical Value' attribute.
See Also:
XSDFeature.isSetLexicalValue(), XSDFeature.unsetLexicalValue(), XSDFeature.setLexicalValue(String), XSDPackage.getXSDFeature_LexicalValue()

setLexicalValue

public void setLexicalValue(java.lang.String value)
Specified by:
setLexicalValue in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Parameters:
value - the new value of the 'Lexical Value' attribute.
See Also:
XSDFeature.isSetLexicalValue(), XSDFeature.unsetLexicalValue(), XSDFeature.getLexicalValue()

unsetLexicalValue

public void unsetLexicalValue()
Specified by:
unsetLexicalValue in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
See Also:
XSDFeature.isSetLexicalValue(), XSDFeature.getLexicalValue(), XSDFeature.setLexicalValue(String)

isSetLexicalValue

public boolean isSetLexicalValue()
Specified by:
isSetLexicalValue in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
whether the value of the 'Lexical Value' attribute is set.
See Also:
XSDFeature.unsetLexicalValue(), XSDFeature.getLexicalValue(), XSDFeature.setLexicalValue(String)

getGlobal

public java.lang.Boolean getGlobal()
Specified by:
getGlobal in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Global' attribute.
See Also:
XSDFeature.isGlobal(), XSDPackage.getXSDFeature_Global()

analyze

protected boolean analyze()
Overrides:
analyze in class XSDConcreteComponentImpl

isUpdatingDOM

protected boolean isUpdatingDOM()
Overrides:
isUpdatingDOM in class XSDConcreteComponentImpl

reconcileAttributes

protected void reconcileAttributes(Element changedElement)
Overrides:
reconcileAttributes in class XSDNamedComponentImpl

changeAttribute

protected void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
Overrides:
changeAttribute in class XSDNamedComponentImpl

getScope

public XSDScope getScope()
Description copied from interface: XSDFeature
Returns the value of the 'Scope' reference.

This represents the attribute scope or element scope infoset property.

Specified by:
getScope in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Scope' reference.
See Also:
XSDPackage.getXSDFeature_Scope()

isFeatureReference

public boolean isFeatureReference()
Description copied from interface: XSDFeature
Returns whether the object is 'Feature Reference'.
Specified by:
isFeatureReference in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
whether the object is 'Feature Reference'.
See Also:
XSDFeature.getFeatureReference()

getResolvedFeature

public XSDFeature getResolvedFeature()
Description copied from interface: XSDFeature
Returns the value of the 'Resolved Feature' reference.

This is the same result as either the 'Resolved Element Declaration' reference or the 'Resolved Attribute Declaration' reference.

Specified by:
getResolvedFeature in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Resolved Feature' reference.
See Also:
XSDPackage.getXSDFeature_ResolvedFeature()

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 XSDNamedComponentImpl

refBasicValue

public java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Overrides:
refBasicValue in class XSDNamedComponentImpl

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 XSDNamedComponentImpl

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 XSDNamedComponentImpl

refBasicSetValue

public com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
                                                               java.lang.Object newValue)
Overrides:
refBasicSetValue in class XSDNamedComponentImpl

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 XSDNamedComponentImpl

refBasicUnsetValue

public com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Overrides:
refBasicUnsetValue in class XSDNamedComponentImpl

toString

public java.lang.String toString()
Overrides:
toString in class XSDNamedComponentImpl

isGlobal

public boolean isGlobal()
Description copied from interface: XSDFeature
Returns whether the object is 'Global'.
Specified by:
isGlobal in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
whether the object is 'Global'.
See Also:
XSDFeature.getGlobal()

getFeatureReference

public java.lang.Boolean getFeatureReference()
Specified by:
getFeatureReference in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Feature Reference' attribute.
See Also:
XSDFeature.isFeatureReference(), XSDPackage.getXSDFeature_FeatureReference()

getType

public XSDTypeDefinition getType()
Description copied from interface: XSDFeature
Returns the value of the 'Type' reference.

This is the same result as either the element 'Type Definition' reference or the attribute 'Type Definition' reference.

Specified by:
getType in interface XSDFeature
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Type' reference.
See Also:
XSDPackage.getXSDFeature_Type()