org.eclipse.emf.ecore.xcore
Interface XTypedElement

All Superinterfaces:
EObject, Notifier, XModelElement, XNamedElement
All Known Subinterfaces:
XAttribute, XMember, XOperation, XParameter, XReference, XStructuralFeature
All Known Implementing Classes:
XAttributeImpl, XMemberImpl, XOperationImpl, XParameterImpl, XReferenceImpl, XStructuralFeatureImpl, XTypedElementImpl

public interface XTypedElement
extends XNamedElement

A representation of the model object 'XTyped Element'.

The following features are supported:

See Also:
XcorePackage.getXTypedElement()

Method Summary
 int[] getMultiplicity()
          Returns the value of the 'Multiplicity' attribute
 XGenericType getType()
          Returns the value of the 'Type' containment reference
 boolean isUnique()
          Returns the value of the 'Unique' attribute
 boolean isUnordered()
          Returns the value of the 'Unordered' attribute
 void setMultiplicity(int[] value)
          Sets the value of the 'Multiplicity' attribute
 void setType(XGenericType value)
          Sets the value of the 'Type' containment reference
 void setUnique(boolean value)
          Sets the value of the 'Unique' attribute
 void setUnordered(boolean value)
          Sets the value of the 'Unordered' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XNamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XModelElement
getAnnotation, getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isUnordered

boolean isUnordered()
Returns the value of the 'Unordered' attribute.

If the meaning of the 'Unordered' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Unordered' attribute.
See Also:
setUnordered(boolean), XcorePackage.getXTypedElement_Unordered()

setUnordered

void setUnordered(boolean value)
Sets the value of the 'Unordered' attribute.

Parameters:
value - the new value of the 'Unordered' attribute.
See Also:
isUnordered()

isUnique

boolean isUnique()
Returns the value of the 'Unique' attribute.

If the meaning of the 'Unique' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Unique' attribute.
See Also:
setUnique(boolean), XcorePackage.getXTypedElement_Unique()

setUnique

void setUnique(boolean value)
Sets the value of the 'Unique' attribute.

Parameters:
value - the new value of the 'Unique' attribute.
See Also:
isUnique()

getType

XGenericType getType()
Returns the value of the 'Type' containment reference.

If the meaning of the 'Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' containment reference.
See Also:
setType(XGenericType), XcorePackage.getXTypedElement_Type()

setType

void setType(XGenericType value)
Sets the value of the 'Type' containment reference.

Parameters:
value - the new value of the 'Type' containment reference.
See Also:
getType()

getMultiplicity

int[] getMultiplicity()
Returns the value of the 'Multiplicity' attribute.

If the meaning of the 'Multiplicity' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Multiplicity' attribute.
See Also:
setMultiplicity(int[]), XcorePackage.getXTypedElement_Multiplicity()

setMultiplicity

void setMultiplicity(int[] value)
Sets the value of the 'Multiplicity' attribute.

Parameters:
value - the new value of the 'Multiplicity' attribute.
See Also:
getMultiplicity()

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.