Interface Resource
- All Known Subinterfaces:
ActiveResource
,ContentionResource
,DelayResource
,PassiveResource
,ProcessingResource
- All Known Implementing Classes:
ActiveResourceImpl
,ContentionResourceImpl
,DelayResourceImpl
,PassiveResourceImpl
,ProcessingResourceImpl
,ResourceImpl
A representation of the model object 'Resource'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the value of the 'Name' attribute.int
Returns the value of the 'Number Of Servers' attribute.void
Sets the value of the 'Name
' attribute.void
setNumberOfServers
(int value) Sets the value of the 'Number Of Servers
' attribute.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 Details
-
getName
String getName()Returns the value of the 'Name' attribute. The default value is""
.If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Name' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="" required="true"
-
setName
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
- Generated class or method.
-
getNumberOfServers
int getNumberOfServers()Returns the value of the 'Number Of Servers' attribute.If the meaning of the 'Number Of Servers' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Number Of Servers' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setNumberOfServers
void setNumberOfServers(int value) Sets the value of the 'Number Of Servers
' attribute.- Parameters:
value
- the new value of the 'Number Of Servers' attribute.- See Also:
- Generated class or method.
-