2090 /**
2091 * Get the value of this object as a Number.
2092 *
2093 * @return value of the object -- can be <code>null</code> if this object does not
2094 * have a value
2095 */
2096 public Number getCurrentAccessibleValue() {
2097 return Integer.valueOf(getLayer());
2098 }
2099
2100 /**
2101 * Set the value of this object as a Number.
2102 *
2103 * @return <code>true</code> if the value was set
2104 */
2105 public boolean setCurrentAccessibleValue(Number n) {
2106 // TIGER - 4422535
2107 if (n == null) {
2108 return false;
2109 }
2110 setLayer(new Integer(n.intValue()));
2111 return true;
2112 }
2113
2114 /**
2115 * Get the minimum value of this object as a Number.
2116 *
2117 * @return Minimum value of the object; <code>null</code> if this object does not
2118 * have a minimum value
2119 */
2120 public Number getMinimumAccessibleValue() {
2121 return Integer.MIN_VALUE;
2122 }
2123
2124 /**
2125 * Get the maximum value of this object as a Number.
2126 *
2127 * @return Maximum value of the object; <code>null</code> if this object does not
2128 * have a maximum value
2129 */
2130 public Number getMaximumAccessibleValue() {
|
2090 /**
2091 * Get the value of this object as a Number.
2092 *
2093 * @return value of the object -- can be <code>null</code> if this object does not
2094 * have a value
2095 */
2096 public Number getCurrentAccessibleValue() {
2097 return Integer.valueOf(getLayer());
2098 }
2099
2100 /**
2101 * Set the value of this object as a Number.
2102 *
2103 * @return <code>true</code> if the value was set
2104 */
2105 public boolean setCurrentAccessibleValue(Number n) {
2106 // TIGER - 4422535
2107 if (n == null) {
2108 return false;
2109 }
2110 setLayer(Integer.valueOf(n.intValue()));
2111 return true;
2112 }
2113
2114 /**
2115 * Get the minimum value of this object as a Number.
2116 *
2117 * @return Minimum value of the object; <code>null</code> if this object does not
2118 * have a minimum value
2119 */
2120 public Number getMinimumAccessibleValue() {
2121 return Integer.MIN_VALUE;
2122 }
2123
2124 /**
2125 * Get the maximum value of this object as a Number.
2126 *
2127 * @return Maximum value of the object; <code>null</code> if this object does not
2128 * have a maximum value
2129 */
2130 public Number getMaximumAccessibleValue() {
|