|
||||||||||
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 designates that an entity modeled by an InstanceSpecification has a value or values for a specific StructuralFeature.
From package UML::Classification.
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
'From package UML::Classification.
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()
From package UML::Classification.
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 held by the Slot.From package UML::Classification.
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, 2014 IBM Corporation, CEA, and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |