com.ibm.etools.xsd.impl
Class XSDAttributeUseImpl
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.XSDAttributeUseImpl
- 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, XSDAttributeGroupContent, XSDAttributeUse, XSDComponent, XSDConcreteComponent
- public class XSDAttributeUseImpl
- extends XSDComponentImpl
- implements XSDAttributeUse, XSDComponent, XSDAttributeGroupContent
| 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, 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
required
protected java.lang.Boolean required
- The cached value of the '
Required' attribute.
- See Also:
getRequired()
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()
use
protected com.ibm.etools.emf.ecore.EEnumLiteral use
- The cached value of the '
Use' attribute.
- See Also:
getLiteralUse()
lexicalValue
protected java.lang.String lexicalValue
- The cached value of the '
Lexical Value' attribute.
- See Also:
getLexicalValue()
attributeDeclaration
protected XSDAttributeDeclaration attributeDeclaration
- The cached value of the '
Attribute Declaration' reference.
- See Also:
getAttributeDeclaration()
content
protected XSDAttributeDeclaration content
- The cached value of the '
Content' reference.
- See Also:
getContent()
XSDAttributeUseImpl
protected XSDAttributeUseImpl()
ePackageXSD
public XSDPackage ePackageXSD()
-
- Specified by:
ePackageXSD in interface XSDConcreteComponent- Overrides:
ePackageXSD in class XSDComponentImpl
- Following copied from interface:
com.ibm.etools.xsd.XSDConcreteComponent
- Returns:
- the meta package of
XSDConcreteComponent.
eClassXSDAttributeUse
public com.ibm.etools.emf.ecore.EClass eClassXSDAttributeUse()
-
- Specified by:
eClassXSDAttributeUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the meta class.
- See Also:
XSDPackage.getXSDAttributeUse(),
XSDConcreteComponent.ePackageXSD()
createAttributeUse
public static XSDAttributeUse createAttributeUse(Node node)
sortAttributeUses
public static java.util.List sortAttributeUses(java.util.Collection xsdAttributeUses)
initInstance
public com.ibm.etools.emf.ref.RefObject initInstance()
-
- Specified by:
initInstance in interface com.ibm.etools.emf.ref.RefObject- Overrides:
initInstance in class XSDComponentImpl
getRequired
public java.lang.Boolean getRequired()
-
- Specified by:
getRequired in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the value of the 'Required' attribute.
- See Also:
XSDAttributeUse.isRequired(),
XSDAttributeUse.isSetRequired(),
XSDAttributeUse.unsetRequired(),
XSDAttributeUse.setRequired(Boolean),
XSDPackage.getXSDAttributeUse_Required()
isRequired
public boolean isRequired()
-
- Specified by:
isRequired in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- whether the object is 'Required'.
- See Also:
XSDAttributeUse.getRequired(),
XSDAttributeUse.isSetRequired(),
XSDAttributeUse.unsetRequired(),
XSDAttributeUse.setRequired(boolean)
setRequired
public void setRequired(java.lang.Boolean value)
-
- Specified by:
setRequired in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the new value of the 'Required' attribute.- See Also:
XSDAttributeUse.setRequired(boolean),
XSDAttributeUse.isSetRequired(),
XSDAttributeUse.unsetRequired(),
XSDAttributeUse.getRequired()
setRequired
public void setRequired(boolean value)
-
- Specified by:
setRequired in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the new value of the 'Required' attribute.- See Also:
XSDAttributeUse.setRequired(Boolean),
XSDAttributeUse.isSetRequired(),
XSDAttributeUse.unsetRequired(),
XSDAttributeUse.isRequired()
unsetRequired
public void unsetRequired()
-
- Specified by:
unsetRequired in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- See Also:
XSDAttributeUse.isSetRequired(),
XSDAttributeUse.getRequired(),
XSDAttributeUse.setRequired(Boolean)
isSetRequired
public boolean isSetRequired()
-
- Specified by:
isSetRequired in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- whether the value of the 'Required' attribute is set.
- See Also:
XSDAttributeUse.unsetRequired(),
XSDAttributeUse.getRequired(),
XSDAttributeUse.setRequired(Boolean)
getValue
public java.lang.Object getValue()
-
- Specified by:
getValue in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the value of the 'Value' attribute.
- See Also:
XSDAttributeUse.isSetValue(),
XSDAttributeUse.unsetValue(),
XSDAttributeUse.setValue(java.lang.Object),
XSDPackage.getXSDAttributeUse_Value()
setValue
public void setValue(java.lang.Object value)
-
- Specified by:
setValue in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the new value of the 'Value' attribute.- See Also:
XSDAttributeUse.isSetValue(),
XSDAttributeUse.unsetValue(),
XSDAttributeUse.getValue()
unsetValue
public void unsetValue()
-
- Specified by:
unsetValue in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- See Also:
XSDAttributeUse.isSetValue(),
XSDAttributeUse.getValue(),
XSDAttributeUse.setValue(java.lang.Object)
isSetValue
public boolean isSetValue()
-
- Specified by:
isSetValue in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- whether the value of the 'Value' attribute is set.
- See Also:
XSDAttributeUse.unsetValue(),
XSDAttributeUse.getValue(),
XSDAttributeUse.setValue(java.lang.Object)
getLiteralConstraint
public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralConstraint()
-
- Specified by:
getLiteralConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the value of the 'Constraint' attribute.
- See Also:
XSDAttributeUse.getValueConstraint(),
XSDAttributeUse.getConstraint(),
XSDAttributeUse.getStringConstraint(),
XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.setConstraint(EEnumLiteral),
XSDPackage.getXSDAttributeUse_Constraint()
getValueConstraint
public int getValueConstraint()
- Description copied from interface:
XSDAttributeUse
- Returns the primitive value of the '
Constraint' attribute.
- Specified by:
getValueConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the primitive value of the 'Constraint' attribute.
- See Also:
XSDAttributeUse.getLiteralConstraint(),
XSDAttributeUse.getValueConstraint(),
XSDAttributeUse.getStringConstraint(),
XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.setConstraint(int)
getStringConstraint
public java.lang.String getStringConstraint()
-
- Specified by:
getStringConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the String value of the 'Constraint' attribute.
- See Also:
XSDAttributeUse.getLiteralConstraint(),
XSDAttributeUse.getConstraint(),
XSDAttributeUse.getValueConstraint(),
XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.setConstraint(String)
getConstraint
public java.lang.Integer getConstraint()
-
- Specified by:
getConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the Integer value of the 'Constraint' attribute.
- See Also:
XSDAttributeUse.getLiteralConstraint(),
XSDAttributeUse.getValueConstraint(),
XSDAttributeUse.getStringConstraint(),
XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.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 XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the new value of the 'Constraint' attribute.- See Also:
XSDAttributeUse.setConstraint(int),
XSDAttributeUse.setConstraint(Integer),
XSDAttributeUse.setConstraint(String),
XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.getLiteralConstraint()
setConstraint
public void setConstraint(int value)
throws com.ibm.etools.emf.ref.EnumerationException
-
- Specified by:
setConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the int value of the new enumeration literal value of the 'Constraint' attribute.- See Also:
XSDAttributeUse.setConstraint(EEnumLiteral),
XSDAttributeUse.setConstraint(Integer),
XSDAttributeUse.setConstraint(String),
XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.getValueConstraint()
setConstraint
public void setConstraint(java.lang.String value)
throws com.ibm.etools.emf.ref.EnumerationException
-
- Specified by:
setConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the String value of the new enumeration literal value of the 'Constraint' attribute.- See Also:
XSDAttributeUse.setConstraint(EEnumLiteral),
XSDAttributeUse.setConstraint(int),
XSDAttributeUse.setConstraint(Integer),
XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.getStringConstraint()
setConstraint
public void setConstraint(java.lang.Integer value)
throws com.ibm.etools.emf.ref.EnumerationException
-
- Specified by:
setConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the Integer value of the new enumeration literal value of the 'Constraint' attribute.- See Also:
XSDAttributeUse.setConstraint(EEnumLiteral),
XSDAttributeUse.setConstraint(int),
XSDAttributeUse.setConstraint(String),
XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.getValueConstraint()
unsetConstraint
public void unsetConstraint()
-
- Specified by:
unsetConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- See Also:
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.getLiteralConstraint(),
XSDAttributeUse.setConstraint(EEnumLiteral)
isSetConstraint
public boolean isSetConstraint()
-
- Specified by:
isSetConstraint in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- whether the value of the 'Constraint' attribute is set.
- See Also:
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.getLiteralConstraint(),
XSDAttributeUse.setConstraint(EEnumLiteral)
getLiteralUse
public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralUse()
-
- Specified by:
getLiteralUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the value of the 'Use' attribute.
- See Also:
XSDAttributeUse.getValueUse(),
XSDAttributeUse.getUse(),
XSDAttributeUse.getStringUse(),
XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.setUse(EEnumLiteral),
XSDPackage.getXSDAttributeUse_Use()
getValueUse
public int getValueUse()
- Description copied from interface:
XSDAttributeUse
- Returns the primitive value of the '
Use' attribute.
- Specified by:
getValueUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the primitive value of the 'Use' attribute.
- See Also:
XSDAttributeUse.getLiteralUse(),
XSDAttributeUse.getValueUse(),
XSDAttributeUse.getStringUse(),
XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.setUse(int)
getStringUse
public java.lang.String getStringUse()
-
- Specified by:
getStringUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the String value of the 'Use' attribute.
- See Also:
XSDAttributeUse.getLiteralUse(),
XSDAttributeUse.getUse(),
XSDAttributeUse.getValueUse(),
XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.setUse(String)
getUse
public java.lang.Integer getUse()
-
- Specified by:
getUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the Integer value of the 'Use' attribute.
- See Also:
XSDAttributeUse.getLiteralUse(),
XSDAttributeUse.getValueUse(),
XSDAttributeUse.getStringUse(),
XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.setUse(Integer)
setUse
public void setUse(com.ibm.etools.emf.ecore.EEnumLiteral value)
throws com.ibm.etools.emf.ref.EnumerationException
-
- Specified by:
setUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the new value of the 'Use' attribute.- See Also:
XSDAttributeUse.setUse(int),
XSDAttributeUse.setUse(Integer),
XSDAttributeUse.setUse(String),
XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.getLiteralUse()
setUse
public void setUse(int value)
throws com.ibm.etools.emf.ref.EnumerationException
-
- Specified by:
setUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the int value of the new enumeration literal value of the 'Use' attribute.- See Also:
XSDAttributeUse.setUse(EEnumLiteral),
XSDAttributeUse.setUse(Integer),
XSDAttributeUse.setUse(String),
XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.getValueUse()
setUse
public void setUse(java.lang.String value)
throws com.ibm.etools.emf.ref.EnumerationException
-
- Specified by:
setUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the String value of the new enumeration literal value of the 'Use' attribute.- See Also:
XSDAttributeUse.setUse(EEnumLiteral),
XSDAttributeUse.setUse(int),
XSDAttributeUse.setUse(Integer),
XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.getStringUse()
setUse
public void setUse(java.lang.Integer value)
throws com.ibm.etools.emf.ref.EnumerationException
-
- Specified by:
setUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the Integer value of the new enumeration literal value of the 'Use' attribute.- See Also:
XSDAttributeUse.setUse(EEnumLiteral),
XSDAttributeUse.setUse(int),
XSDAttributeUse.setUse(String),
XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.getValueUse()
unsetUse
public void unsetUse()
-
- Specified by:
unsetUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- See Also:
XSDAttributeUse.isSetUse(),
XSDAttributeUse.getLiteralUse(),
XSDAttributeUse.setUse(EEnumLiteral)
isSetUse
public boolean isSetUse()
-
- Specified by:
isSetUse in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- whether the value of the 'Use' attribute is set.
- See Also:
XSDAttributeUse.unsetUse(),
XSDAttributeUse.getLiteralUse(),
XSDAttributeUse.setUse(EEnumLiteral)
getLexicalValue
public java.lang.String getLexicalValue()
-
- Specified by:
getLexicalValue in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the value of the 'Lexical Value' attribute.
- See Also:
XSDAttributeUse.isSetLexicalValue(),
XSDAttributeUse.unsetLexicalValue(),
XSDAttributeUse.setLexicalValue(String),
XSDPackage.getXSDAttributeUse_LexicalValue()
setLexicalValue
public void setLexicalValue(java.lang.String value)
-
- Specified by:
setLexicalValue in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the new value of the 'Lexical Value' attribute.- See Also:
XSDAttributeUse.isSetLexicalValue(),
XSDAttributeUse.unsetLexicalValue(),
XSDAttributeUse.getLexicalValue()
unsetLexicalValue
public void unsetLexicalValue()
-
- Specified by:
unsetLexicalValue in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- See Also:
XSDAttributeUse.isSetLexicalValue(),
XSDAttributeUse.getLexicalValue(),
XSDAttributeUse.setLexicalValue(String)
isSetLexicalValue
public boolean isSetLexicalValue()
-
- Specified by:
isSetLexicalValue in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- whether the value of the 'Lexical Value' attribute is set.
- See Also:
XSDAttributeUse.unsetLexicalValue(),
XSDAttributeUse.getLexicalValue(),
XSDAttributeUse.setLexicalValue(String)
getAttributeDeclaration
public XSDAttributeDeclaration getAttributeDeclaration()
-
- Specified by:
getAttributeDeclaration in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the value of the 'Attribute Declaration' reference.
- See Also:
XSDAttributeUse.isSetAttributeDeclaration(),
XSDAttributeUse.unsetAttributeDeclaration(),
XSDAttributeUse.setAttributeDeclaration(XSDAttributeDeclaration),
XSDPackage.getXSDAttributeUse_AttributeDeclaration()
setAttributeDeclaration
public void setAttributeDeclaration(XSDAttributeDeclaration value)
-
- Specified by:
setAttributeDeclaration in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the new value of the 'Attribute Declaration' reference.- See Also:
XSDAttributeUse.isSetAttributeDeclaration(),
XSDAttributeUse.unsetAttributeDeclaration(),
XSDAttributeUse.getAttributeDeclaration()
unsetAttributeDeclaration
public void unsetAttributeDeclaration()
-
- Specified by:
unsetAttributeDeclaration in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- See Also:
XSDAttributeUse.isSetAttributeDeclaration(),
XSDAttributeUse.getAttributeDeclaration(),
XSDAttributeUse.setAttributeDeclaration(XSDAttributeDeclaration)
isSetAttributeDeclaration
public boolean isSetAttributeDeclaration()
-
- Specified by:
isSetAttributeDeclaration in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- whether the value of the 'Attribute Declaration' reference is set.
- See Also:
XSDAttributeUse.unsetAttributeDeclaration(),
XSDAttributeUse.getAttributeDeclaration(),
XSDAttributeUse.setAttributeDeclaration(XSDAttributeDeclaration)
getContent
public XSDAttributeDeclaration getContent()
-
- Specified by:
getContent in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- the value of the 'Content' reference.
- See Also:
XSDAttributeUse.isSetContent(),
XSDAttributeUse.unsetContent(),
XSDAttributeUse.setContent(XSDAttributeDeclaration),
XSDPackage.getXSDAttributeUse_Content()
setContent
public void setContent(XSDAttributeDeclaration value)
-
- Specified by:
setContent in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Parameters:
value - the new value of the 'Content' reference.- See Also:
XSDAttributeUse.isSetContent(),
XSDAttributeUse.unsetContent(),
XSDAttributeUse.getContent()
unsetContent
public void unsetContent()
-
- Specified by:
unsetContent in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- See Also:
XSDAttributeUse.isSetContent(),
XSDAttributeUse.getContent(),
XSDAttributeUse.setContent(XSDAttributeDeclaration)
isSetContent
public boolean isSetContent()
-
- Specified by:
isSetContent in interface XSDAttributeUse
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeUse
- Returns:
- whether the value of the 'Content' reference is set.
- See Also:
XSDAttributeUse.unsetContent(),
XSDAttributeUse.getContent(),
XSDAttributeUse.setContent(XSDAttributeDeclaration)
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 XSDComponentImpl
refBasicValue
public java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
-
- Overrides:
refBasicValue in class XSDComponentImpl
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 XSDComponentImpl
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 XSDComponentImpl
refBasicSetValue
public com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
java.lang.Object newValue)
-
- Overrides:
refBasicSetValue in class XSDComponentImpl
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 XSDComponentImpl
refBasicUnsetValue
public com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
-
- Overrides:
refBasicUnsetValue in class XSDComponentImpl
toString
public java.lang.String toString()
-
- Overrides:
toString in class XSDComponentImpl
getXSDAttributeGroupContentDelegate
protected XSDAttributeGroupContentImpl getXSDAttributeGroupContentDelegate()
-
eClassXSDAttributeGroupContent
public com.ibm.etools.emf.ecore.EClass eClassXSDAttributeGroupContent()
-
- Specified by:
eClassXSDAttributeGroupContent in interface XSDAttributeGroupContent
- Following copied from interface:
com.ibm.etools.xsd.XSDAttributeGroupContent
- Returns:
- the meta class.
- See Also:
XSDPackage.getXSDAttributeGroupContent(),
XSDConcreteComponent.ePackageXSD()
createElement
public Element createElement()
- Overrides:
createElement in class XSDConcreteComponentImpl
patch
protected void patch()
- Overrides:
patch in class XSDConcreteComponentImpl
patchHelper
protected void patchHelper()
analyze
protected boolean analyze()
- Overrides:
analyze in class XSDConcreteComponentImpl
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
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.