diff --git a/components/ome-xml/src/ome/units/quantity/Angle.java b/components/ome-xml/src/ome/units/quantity/Angle.java index 9dfbde1d461..eeec520fddb 100644 --- a/components/ome-xml/src/ome/units/quantity/Angle.java +++ b/components/ome-xml/src/ome/units/quantity/Angle.java @@ -66,6 +66,7 @@ public Angle(Number inValue, hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode(); } + @Override public Number value() { return value; @@ -84,6 +85,7 @@ public Number value(Unit inUnit) return null; } + @Override public boolean equals(Object other) { if (other == null) @@ -138,6 +140,7 @@ public String toString() return result.toString(); } + @Override public Unit unit() { return unit; diff --git a/components/ome-xml/src/ome/units/quantity/ElectricPotential.java b/components/ome-xml/src/ome/units/quantity/ElectricPotential.java index 319c14b7d53..3d91970a2eb 100644 --- a/components/ome-xml/src/ome/units/quantity/ElectricPotential.java +++ b/components/ome-xml/src/ome/units/quantity/ElectricPotential.java @@ -66,6 +66,7 @@ public ElectricPotential(Number inValue, hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode(); } + @Override public Number value() { return value; @@ -84,6 +85,7 @@ public Number value(Unit inUnit) return null; } + @Override public boolean equals(Object other) { if (other == null) @@ -138,6 +140,7 @@ public String toString() return result.toString(); } + @Override public Unit unit() { return unit; diff --git a/components/ome-xml/src/ome/units/quantity/Frequency.java b/components/ome-xml/src/ome/units/quantity/Frequency.java index 7fdbb7c67c9..7f74d21a91f 100644 --- a/components/ome-xml/src/ome/units/quantity/Frequency.java +++ b/components/ome-xml/src/ome/units/quantity/Frequency.java @@ -66,6 +66,7 @@ public Frequency(Number inValue, hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode(); } + @Override public Number value() { return value; @@ -84,6 +85,7 @@ public Number value(Unit inUnit) return null; } + @Override public boolean equals(Object other) { if (other == null) @@ -138,6 +140,7 @@ public String toString() return result.toString(); } + @Override public Unit unit() { return unit; diff --git a/components/ome-xml/src/ome/units/quantity/Length.java b/components/ome-xml/src/ome/units/quantity/Length.java index 13499b8c68f..fd449a99222 100644 --- a/components/ome-xml/src/ome/units/quantity/Length.java +++ b/components/ome-xml/src/ome/units/quantity/Length.java @@ -66,6 +66,7 @@ public Length(Number inValue, hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode(); } + @Override public Number value() { return value; @@ -84,6 +85,7 @@ public Number value(Unit inUnit) return null; } + @Override public boolean equals(Object other) { if (other == null) @@ -138,6 +140,7 @@ public String toString() return result.toString(); } + @Override public Unit unit() { return unit; diff --git a/components/ome-xml/src/ome/units/quantity/Power.java b/components/ome-xml/src/ome/units/quantity/Power.java index 354de5ed683..c36dc4f18e1 100644 --- a/components/ome-xml/src/ome/units/quantity/Power.java +++ b/components/ome-xml/src/ome/units/quantity/Power.java @@ -66,6 +66,7 @@ public Power(Number inValue, hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode(); } + @Override public Number value() { return value; @@ -84,6 +85,7 @@ public Number value(Unit inUnit) return null; } + @Override public boolean equals(Object other) { if (other == null) @@ -138,6 +140,7 @@ public String toString() return result.toString(); } + @Override public Unit unit() { return unit; diff --git a/components/ome-xml/src/ome/units/quantity/Pressure.java b/components/ome-xml/src/ome/units/quantity/Pressure.java index 9a768d64817..a8bf32b20fd 100644 --- a/components/ome-xml/src/ome/units/quantity/Pressure.java +++ b/components/ome-xml/src/ome/units/quantity/Pressure.java @@ -66,6 +66,7 @@ public Pressure(Number inValue, hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode(); } + @Override public Number value() { return value; @@ -84,6 +85,7 @@ public Number value(Unit inUnit) return null; } + @Override public boolean equals(Object other) { if (other == null) @@ -138,6 +140,7 @@ public String toString() return result.toString(); } + @Override public Unit unit() { return unit; diff --git a/components/ome-xml/src/ome/units/quantity/Temperature.java b/components/ome-xml/src/ome/units/quantity/Temperature.java index 5c01bf3a16e..6e50484b81a 100644 --- a/components/ome-xml/src/ome/units/quantity/Temperature.java +++ b/components/ome-xml/src/ome/units/quantity/Temperature.java @@ -66,6 +66,7 @@ public Temperature(Number inValue, hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode(); } + @Override public Number value() { return value; @@ -84,6 +85,7 @@ public Number value(Unit inUnit) return null; } + @Override public boolean equals(Object other) { if (other == null) @@ -138,6 +140,7 @@ public String toString() return result.toString(); } + @Override public Unit unit() { return unit; diff --git a/components/ome-xml/src/ome/units/quantity/Time.java b/components/ome-xml/src/ome/units/quantity/Time.java index 5f5fc1b3a91..7c13e8fef08 100644 --- a/components/ome-xml/src/ome/units/quantity/Time.java +++ b/components/ome-xml/src/ome/units/quantity/Time.java @@ -66,6 +66,7 @@ public Time(Number inValue, hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode(); } + @Override public Number value() { return value; @@ -84,6 +85,7 @@ public Number value(Unit inUnit) return null; } + @Override public boolean equals(Object other) { if (other == null) @@ -138,6 +140,7 @@ public String toString() return result.toString(); } + @Override public Unit unit() { return unit;