com.ibm.etools.xsd
Interface XSDCardinalityFacet

All Superinterfaces:
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, XSDFacet, XSDFundamentalFacet
All Known Implementing Classes:
XSDCardinalityFacetImpl

public interface XSDCardinalityFacet
extends XSDFundamentalFacet

A representation of the model object 'Cardinality Facet'.

The following features are supported:

See Also:
XSDPackage.getXSDCardinalityFacet()

Field Summary
static java.lang.String copyright
           
 
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
 
Method Summary
 com.ibm.etools.emf.ecore.EClass eClassXSDCardinalityFacet()
          Returns the meta class of XSDCardinalityFacet.
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralValue()
          Returns the value of the 'Value' attribute.
 java.lang.String getStringValue()
          Returns the String value of the 'Value' attribute.
 java.lang.Integer getValue()
          Returns the Integer value of the 'Value' attribute.
 int getValueValue()
          Returns the primitive value of the 'Value' attribute.
 boolean isSetValue()
          Returns whether the value of the 'Value' attribute is set.
 void setValue(com.ibm.etools.emf.ecore.EEnumLiteral value)
          Sets the value of the 'Value' attribute.
 void setValue(int value)
          Sets the value of the 'Value' attribute.
 void setValue(java.lang.Integer value)
          Sets the value of the 'Value' attribute.
 void setValue(java.lang.String value)
          Sets the value of the 'Value' attribute.
 void unsetValue()
          Unsets the value of the 'Value' attribute.
 
Methods inherited from interface com.ibm.etools.xsd.XSDFundamentalFacet
eClassXSDFundamentalFacet
 
Methods inherited from interface com.ibm.etools.xsd.XSDFacet
eClassXSDFacet, getAnnotation, getEffectiveValue, getFacetName, getLexicalValue, getSimpleTypeDefinition, isSetAnnotation, isSetLexicalValue, setAnnotation, setLexicalValue, unsetAnnotation, unsetLexicalValue
 
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, ePackageXSD, 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
initInstance, refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refIsSet, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner, refSetValue, refUnsetValue, refValue
 
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
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

eClassXSDCardinalityFacet

public com.ibm.etools.emf.ecore.EClass eClassXSDCardinalityFacet()
Returns the meta class of XSDCardinalityFacet.
Returns:
the meta class.
See Also:
XSDPackage.getXSDCardinalityFacet(), XSDConcreteComponent.ePackageXSD()

getLiteralValue

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralValue()
Returns the value of the 'Value' attribute. The literals are from the enumeration XSDCardinality.

This represents the value infoset property. It is computed and should typically not be set directly.

Returns:
the value of the 'Value' attribute.
See Also:
getValueValue(), getValue(), getStringValue(), XSDCardinality, isSetValue(), unsetValue(), setValue(EEnumLiteral), XSDPackage.getXSDCardinalityFacet_Value()

getValueValue

public int getValueValue()
Returns the primitive value of the 'Value' attribute.
Returns:
the primitive value of the 'Value' attribute.
See Also:
getLiteralValue(), getValueValue(), getStringValue(), XSDCardinality, isSetValue(), unsetValue(), setValue(int)

getStringValue

public java.lang.String getStringValue()
Returns the String value of the 'Value' attribute.
Returns:
the String value of the 'Value' attribute.
See Also:
getLiteralValue(), getValue(), getValueValue(), XSDCardinality, isSetValue(), unsetValue(), setValue(String)

getValue

public java.lang.Integer getValue()
Returns the Integer value of the 'Value' attribute.
Returns:
the Integer value of the 'Value' attribute.
See Also:
getLiteralValue(), getValueValue(), getStringValue(), XSDCardinality, isSetValue(), unsetValue(), setValue(Integer)

setValue

public void setValue(com.ibm.etools.emf.ecore.EEnumLiteral value)
              throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Value' attribute.
Parameters:
value - the new value of the 'Value' attribute.
See Also:
setValue(int), setValue(Integer), setValue(String), XSDCardinality, isSetValue(), unsetValue(), getLiteralValue()

setValue

public void setValue(int value)
              throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Value' attribute.
Parameters:
value - the int value of the new enumeration literal value of the 'Value' attribute.
See Also:
setValue(EEnumLiteral), setValue(Integer), setValue(String), XSDCardinality, isSetValue(), unsetValue(), getValueValue()

setValue

public void setValue(java.lang.String value)
              throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Value' attribute.
Parameters:
value - the String value of the new enumeration literal value of the 'Value' attribute.
See Also:
setValue(EEnumLiteral), setValue(int), setValue(Integer), XSDCardinality, isSetValue(), unsetValue(), getStringValue()

setValue

public void setValue(java.lang.Integer value)
              throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Value' attribute.
Parameters:
value - the Integer value of the new enumeration literal value of the 'Value' attribute.
See Also:
setValue(EEnumLiteral), setValue(int), setValue(String), XSDCardinality, isSetValue(), unsetValue(), getValueValue()

unsetValue

public void unsetValue()
Unsets the value of the 'Value' attribute.
See Also:
isSetValue(), getLiteralValue(), setValue(EEnumLiteral)

isSetValue

public boolean isSetValue()
Returns whether the value of the 'Value' attribute is set.
Returns:
whether the value of the 'Value' attribute is set.
See Also:
unsetValue(), getLiteralValue(), setValue(EEnumLiteral)