|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NumericAttribute
Attribute bound to a Numeric class.
This class indicates getValue() returns a Numeric using Java 5 type narrowing, for for those working against java 1.4 interfaces the additional methods getNumber() and setNumber have been introduced.
Method Summary | |
---|---|
Number |
getNumber()
Java 1.4 type safe access to getValue |
Number |
getValue()
Access to the content of this Attribute. |
void |
setNumber(Number newValue)
Java 1.4 type safe access to setValue |
void |
setValue(Number newValue)
|
Methods inherited from interface Attribute |
---|
getDescriptor, getID, getType, nillable, operation, setValue |
Methods inherited from interface Property |
---|
descriptor, name |
Method Detail |
---|
void setValue(Number newValue)
Number getValue()
Attribute
A subclass may define a more specific method to access this value, in order to improve readability or make allowances for Java 1.4 use.
getValue
in interface Attribute
Number getNumber()
void setNumber(Number newValue)
newValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |