Class Utilization
java.lang.Object
de.uka.ipd.sdq.codegen.simudatavisualisation.datatypes.Utilization
Deprecated.
Superseded by EDP2.
This class stores the information necessary to display a Utilization. The Utilization can be
visualized using the information about the bucket width and the Utilization for the buckets.
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<UtilizationBucketInformation>
Deprecated.List of the entities, that describe the Utilization for each of the bucketsprotected double
Deprecated.Contains the width of each bucket of the Utilization.static final double
Deprecated.The default width for Utilization classesstatic final double
Deprecated.The default width for Utilization classesstatic final double
Deprecated.The maximum number of buckets to show when initialising the diagram. -
Constructor Summary
ConstructorDescriptionUtilization
(String title) Deprecated.Creates a new Utilization without buckets and default bucket width.Utilization
(String title, double bucketWidth) Deprecated.Creates a new Utilization without buckets. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Adds a new bucket to the Utilization.Deprecated.Returns the list of the buckets and their respective Utilization.double
Deprecated.Receives the bucket width of the Utilization.getTitle()
Deprecated.Receives the title or name of the Utilization.void
Deprecated.Removes a bucket from the Utilization.void
setBucketWidth
(double bucketWidth) Deprecated.Sets the bucket width of the Utilization.void
Deprecated.Sets the title or name of the Utilization.
-
Field Details
-
DEFAULT_BUCKET_WIDTH
public static final double DEFAULT_BUCKET_WIDTHDeprecated.The default width for Utilization classes- See Also:
-
DEFAULT_NUMBER_BUCKETS
public static final double DEFAULT_NUMBER_BUCKETSDeprecated.The default width for Utilization classes- See Also:
-
MAXIMUM_NUMBER_OF_BUCKETS
public static final double MAXIMUM_NUMBER_OF_BUCKETSDeprecated.The maximum number of buckets to show when initialising the diagram. The user can decide to show more.- See Also:
-
bucketInformation
Deprecated.List of the entities, that describe the Utilization for each of the buckets- See Also:
-
bucketWidth
protected double bucketWidthDeprecated.Contains the width of each bucket of the Utilization.
-
-
Constructor Details
-
Utilization
Deprecated.Creates a new Utilization without buckets and default bucket width.- Parameters:
title
- Title od name of the Utilization.
-
Utilization
Deprecated.Creates a new Utilization without buckets.- Parameters:
title
- Title or name of the Utilization.bucketWidth
- Width of a bucket of the Utilization.
-
-
Method Details
-
addEntity
Deprecated.Adds a new bucket to the Utilization.- Parameters:
entity
- information about the bucket.
-
removeEntity
Deprecated.Removes a bucket from the Utilization.- Parameters:
entity
- bucket to remove.
-
getBucketInformation
Deprecated.Returns the list of the buckets and their respective Utilization.- Returns:
- the list of the entities.
-
getTitle
Deprecated.Receives the title or name of the Utilization.- Returns:
- Title or name of the Utilization.
-
setTitle
Deprecated.Sets the title or name of the Utilization.- Parameters:
title
- The new title.
-
getBucketWidth
public double getBucketWidth()Deprecated.Receives the bucket width of the Utilization.- Returns:
- the bucket width.
-
setBucketWidth
public void setBucketWidth(double bucketWidth) Deprecated.Sets the bucket width of the Utilization.- Parameters:
bucketWidth
- the new bucket width.
-