org.eclipse.test.internal.performance.data
Class Dim
java.lang.Object
org.eclipse.test.internal.performance.data.Dim
- All Implemented Interfaces:
- Dimension
public class Dim
- extends java.lang.Object
- implements Dimension
- Since:
- 3.1
Constructor Summary |
Dim(int id)
|
Dim(int id,
Unit unit)
|
Dim(int id,
Unit unit,
int multiplier)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Dim
public Dim(int id)
Dim
public Dim(int id,
Unit unit)
Dim
public Dim(int id,
Unit unit,
int multiplier)
getDimension
public static Dim getDimension(int id)
getId
public int getId()
getUnit
public Unit getUnit()
getMultiplier
public int getMultiplier()
getName
public java.lang.String getName()
getShortName
public java.lang.String getShortName()
- Returns the short name for the current dimension.
This short name is done keeping only uppercase characters from the name.
It's typically used for anchor references based on dimension.
- Returns:
- The short name of the dimension
getDescription
public java.lang.String getDescription()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDisplayValue
public java.lang.String getDisplayValue(Scalar scalar)
getDisplayValue
public java.lang.String getDisplayValue(double scalar)