*
*/
public class Uml2SDTestTimestamp extends TmfTimestamp {
+
// ------------------------------------------------------------------------
// Attributes
// ------------------------------------------------------------------------
+ private final long fValue;
+ private final int fScale;
+
// ------------------------------------------------------------------------
// Constructors
// ------------------------------------------------------------------------
* @param value time as long value (nanoseconds)
*/
public Uml2SDTestTimestamp(long value) {
- super(value, IUml2SDTestConstants.TIME_SCALE);
+ fValue = value;
+ fScale = IUml2SDTestConstants.TIME_SCALE;
}
// ------------------------------------------------------------------------
// Operations
// ------------------------------------------------------------------------
+ @Override
+ public long getValue() {
+ return fValue;
+ }
+
+ @Override
+ public int getScale() {
+ return fScale;
+ }
+
}