Package org.somox.util
Class DefaultResourceEnvironment
java.lang.Object
org.somox.util.DefaultResourceEnvironment
Utility method for creating an empty resource environment where the
reconstructed components can be put. Only static access via
getDefaultResourceEnvironment()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment
Creates and returns a new instance ofResourceEnvironment
with initial values.static org.palladiosimulator.pcm.resourcetype.ProcessingResourceType
static org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment
Retrieves a cached instance ofResourceEnvironment
as created bycreateDefaultResourceEnvironment()
.static org.palladiosimulator.pcm.resourcetype.ProcessingResourceType
static org.palladiosimulator.pcm.repository.PrimitiveDataType
static org.palladiosimulator.pcm.repository.PrimitiveDataType
static org.palladiosimulator.pcm.repository.PrimitiveDataType
static org.palladiosimulator.pcm.repository.PrimitiveDataType
static org.palladiosimulator.pcm.repository.PrimitiveDataType
static org.palladiosimulator.pcm.repository.PrimitiveDataType
protected static org.palladiosimulator.pcm.repository.Repository
static org.palladiosimulator.pcm.resourcetype.SchedulingPolicy
static org.palladiosimulator.pcm.resourcetype.ResourceRepository
-
Field Details
-
RESOURCETYPE_URI
- See Also:
-
PRIMITIVETYPES_URI
- See Also:
-
-
Method Details
-
getDefaultResourceEnvironment
public static org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment getDefaultResourceEnvironment()Retrieves a cached instance ofResourceEnvironment
as created bycreateDefaultResourceEnvironment()
.- Returns:
- A cached instance of resource environment with default values. .
-
getPrimitiveDataTypeInteger
public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeInteger() -
getPrimitiveDataTypeDouble
public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeDouble() -
getPrimitiveDataTypeBool
public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeBool() -
getPrimitiveDataTypeChar
public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeChar() -
getPrimitiveDataTypeByte
public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeByte() -
getPrimitiveDataTypeString
public static org.palladiosimulator.pcm.repository.PrimitiveDataType getPrimitiveDataTypeString() -
createDefaultResourceEnvironment
public static org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment createDefaultResourceEnvironment()Creates and returns a new instance ofResourceEnvironment
with initial values.- Returns:
- A new instance of resource environment with default values.
-
getProcessorSharingSchedulingPolicy
public static org.palladiosimulator.pcm.resourcetype.SchedulingPolicy getProcessorSharingSchedulingPolicy() -
getCPUProcessingResourceType
public static org.palladiosimulator.pcm.resourcetype.ProcessingResourceType getCPUProcessingResourceType() -
getDelayProcessingResourceType
public static org.palladiosimulator.pcm.resourcetype.ProcessingResourceType getDelayProcessingResourceType() -
getPrimitiveTypesRepository
protected static org.palladiosimulator.pcm.repository.Repository getPrimitiveTypesRepository() -
getResourceRepository
public static org.palladiosimulator.pcm.resourcetype.ResourceRepository getResourceRepository()
-