|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Slot
A representation of the model object 'Slot'. A slot specifies that an entity modeled by an instance specification has a value or values for a specific structural feature.
The following features are supported:
UMLPackage.getSlot()
Method Summary | |
---|---|
ValueSpecification |
createValue(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new ValueSpecification , with the specified 'Name', and 'Type', and appends it to the 'Value' containment reference list |
StructuralFeature |
getDefiningFeature()
Returns the value of the 'Defining Feature' reference |
InstanceSpecification |
getOwningInstance()
Returns the value of the 'Owning Instance' container reference. |
ValueSpecification |
getValue(java.lang.String name,
Type type)
Retrieves the first ValueSpecification with the specified 'Name', and 'Type' from the 'Value' containment reference list |
ValueSpecification |
getValue(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first ValueSpecification with the specified 'Name', and 'Type' from the 'Value' containment reference list |
org.eclipse.emf.common.util.EList<ValueSpecification> |
getValues()
Returns the value of the 'Value' containment reference list. |
void |
setDefiningFeature(StructuralFeature value)
Sets the value of the ' Defining Feature ' reference |
void |
setOwningInstance(InstanceSpecification value)
Sets the value of the ' Owning Instance ' container reference |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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 |
---|
InstanceSpecification getOwningInstance()
Slot
'.
This feature subsets the following features:
Owner
'
setOwningInstance(InstanceSpecification)
,
UMLPackage.getSlot_OwningInstance()
,
InstanceSpecification.getSlots()
void setOwningInstance(InstanceSpecification value)
Owning Instance
' container reference.
value
- the new value of the 'Owning Instance' container reference.getOwningInstance()
StructuralFeature getDefiningFeature()
setDefiningFeature(StructuralFeature)
,
UMLPackage.getSlot_DefiningFeature()
void setDefiningFeature(StructuralFeature value)
Defining Feature
' reference.
value
- the new value of the 'Defining Feature' reference.getDefiningFeature()
org.eclipse.emf.common.util.EList<ValueSpecification> getValues()
ValueSpecification
.
This feature subsets the following features:
The value or values corresponding to the defining feature for the owning instance specification.
UMLPackage.getSlot_Value()
ValueSpecification createValue(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type', and appends it to the 'Value' containment reference list.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.
ValueSpecification
.getValues()
ValueSpecification getValue(java.lang.String name, Type type)
ValueSpecification
with the specified 'Name', and 'Type' from the 'Value' containment reference list.
name
- The 'Name' of the ValueSpecification
to retrieve, or null
.type
- The 'Type' of the ValueSpecification
to retrieve, or null
.
ValueSpecification
with the specified 'Name', and 'Type', or null
.getValues()
ValueSpecification getValue(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
ValueSpecification
with the specified 'Name', and 'Type' from the 'Value' containment reference list.
name
- The 'Name' of the ValueSpecification
to retrieve, or null
.type
- The 'Type' of the ValueSpecification
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ValueSpecification
to retrieve, or null
.createOnDemand
- Whether to create a ValueSpecification
on demand if not found.
ValueSpecification
with the specified 'Name', and 'Type', or null
.getValues()
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |