Interface Resource
-
- All Known Subinterfaces:
ActiveResource
,ContentionResource
,DelayResource
,PassiveResource
,ProcessingResource
- All Known Implementing Classes:
ActiveResourceImpl
,ContentionResourceImpl
,DelayResourceImpl
,PassiveResourceImpl
,ProcessingResourceImpl
,ResourceImpl
public interface Resource extends EObject
A representation of the model object 'Resource'.The following features are supported:
- See Also:
ResourceModelPackage.getResource()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the value of the 'Name' attribute.int
getNumberOfServers()
Returns the value of the 'Number Of Servers' attribute.void
setName(String value)
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 Detail
-
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:
setName(String)
,ResourceModelPackage.getResource_Name()
- Generated class or method.
- EMF model class or method.
- default="" required="true"
-
setName
void setName(String value)
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
getName()
- 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:
setNumberOfServers(int)
,ResourceModelPackage.getResource_NumberOfServers()
- 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:
getNumberOfServers()
- Generated class or method.
-
-