com.ibm.etools.xsd
Interface XSDFacet

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
All Known Subinterfaces:
XSDBoundedFacet, XSDCardinalityFacet, XSDConstrainingFacet, XSDEnumerationFacet, XSDFixedFacet, XSDFractionDigitsFacet, XSDFundamentalFacet, XSDLengthFacet, XSDMaxExclusiveFacet, XSDMaxFacet, XSDMaxInclusiveFacet, XSDMaxLengthFacet, XSDMinExclusiveFacet, XSDMinFacet, XSDMinInclusiveFacet, XSDMinLengthFacet, XSDNumericFacet, XSDOrderedFacet, XSDPatternFacet, XSDRepeatableFacet, XSDTotalDigitsFacet, XSDWhiteSpaceFacet
All Known Implementing Classes:
XSDFacetImpl, XSDConstrainingFacetImpl, XSDFundamentalFacetImpl

public interface XSDFacet
extends XSDComponent

A representation of the model object 'Facet'.

The following features are supported:

See Also:
XSDPackage.getXSDFacet()

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 eClassXSDFacet()
          Returns the meta class of XSDFacet.
 XSDAnnotation getAnnotation()
          Returns the value of the 'Annotation' reference.
 java.lang.Object getEffectiveValue()
          Returns the value of the 'Effective Value' attribute.
 java.lang.String getFacetName()
          Returns the value of the 'Facet Name' attribute.
 java.lang.String getLexicalValue()
          Returns the value of the 'Lexical Value' attribute.
 XSDSimpleTypeDefinition getSimpleTypeDefinition()
          Returns the value of the 'Simple Type Definition' reference.
 boolean isSetAnnotation()
          Returns whether the value of the 'Annotation' reference is set.
 boolean isSetLexicalValue()
          Returns whether the value of the 'Lexical Value' attribute is set.
 void setAnnotation(XSDAnnotation value)
          Sets the value of the 'Annotation' reference.
 void setLexicalValue(java.lang.String value)
          Sets the value of the 'Lexical Value' attribute.
 void unsetAnnotation()
          Unsets the value of the 'Annotation' reference.
 void unsetLexicalValue()
          Unsets the value of the 'Lexical Value' attribute.
 
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

eClassXSDFacet

public com.ibm.etools.emf.ecore.EClass eClassXSDFacet()
Returns the meta class of XSDFacet.
Returns:
the meta class.
See Also:
XSDPackage.getXSDFacet(), XSDConcreteComponent.ePackageXSD()

getLexicalValue

public java.lang.String getLexicalValue()
Returns the value of the 'Lexical Value' attribute.

This concrete attribute represents the value of the value attribute of the facet element.

Returns:
the value of the 'Lexical Value' attribute.
See Also:
isSetLexicalValue(), unsetLexicalValue(), setLexicalValue(String), XSDPackage.getXSDFacet_LexicalValue()

setLexicalValue

public void setLexicalValue(java.lang.String value)
Sets the value of the 'Lexical Value' attribute.
Parameters:
value - the new value of the 'Lexical Value' attribute.
See Also:
isSetLexicalValue(), unsetLexicalValue(), getLexicalValue()

unsetLexicalValue

public void unsetLexicalValue()
Unsets the value of the 'Lexical Value' attribute.
See Also:
isSetLexicalValue(), getLexicalValue(), setLexicalValue(String)

isSetLexicalValue

public boolean isSetLexicalValue()
Returns whether the value of the 'Lexical Value' attribute is set.
Returns:
whether the value of the 'Lexical Value' attribute is set.
See Also:
unsetLexicalValue(), getLexicalValue(), setLexicalValue(String)

getFacetName

public java.lang.String getFacetName()
Returns the value of the 'Facet Name' attribute.

This concrete attribute represents the name of this type of facet.

Returns:
the value of the 'Facet Name' attribute.
See Also:
XSDPackage.getXSDFacet_FacetName()

getEffectiveValue

public java.lang.Object getEffectiveValue()
Returns the value of the 'Effective Value' attribute.

This represents a generic version of the value infoset property of this facet.

Returns:
the value of the 'Effective Value' attribute.
See Also:
XSDPackage.getXSDFacet_EffectiveValue()

getAnnotation

public XSDAnnotation getAnnotation()
Returns the value of the 'Annotation' reference.

This represents the annotation infoset property; each type of facet has an annotation.

Returns:
the value of the 'Annotation' reference.
See Also:
isSetAnnotation(), unsetAnnotation(), setAnnotation(XSDAnnotation), XSDPackage.getXSDFacet_Annotation()

setAnnotation

public void setAnnotation(XSDAnnotation value)
Sets the value of the 'Annotation' reference.
Parameters:
value - the new value of the 'Annotation' reference.
See Also:
isSetAnnotation(), unsetAnnotation(), getAnnotation()

unsetAnnotation

public void unsetAnnotation()
Unsets the value of the 'Annotation' reference.
See Also:
isSetAnnotation(), getAnnotation(), setAnnotation(XSDAnnotation)

isSetAnnotation

public boolean isSetAnnotation()
Returns whether the value of the 'Annotation' reference is set.
Returns:
whether the value of the 'Annotation' reference is set.
See Also:
unsetAnnotation(), getAnnotation(), setAnnotation(XSDAnnotation)

getSimpleTypeDefinition

public XSDSimpleTypeDefinition getSimpleTypeDefinition()
Returns the value of the 'Simple Type Definition' reference.

This represents the owning simple type definition of the facet.

Returns:
the value of the 'Simple Type Definition' reference.
See Also:
XSDPackage.getXSDFacet_SimpleTypeDefinition()