|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.ecb.value.BasicIntegerValue
Provides access to values of the Integer attribute. It is used for attributes whose values are signed integers. Attributes using this syntax can set size limits.
| Constructor Summary | |
BasicIntegerValue(java.lang.String name,
int value)
Constructs a BasicIntegerValue object based on the specified parameters. |
|
| Method Summary | |
byte |
byteValue()
Returns the value of this object as a byte. |
int |
compareTo(java.lang.Object object)
Compares this Value with the parameter anObject. |
double |
doubleValue()
Returns the value of this object as a double. |
boolean |
equals(java.lang.Object object)
Compares two objects for equality. |
float |
floatValue()
Returns the value of this object as a float. |
java.lang.String |
getName()
Return the name of the value. |
java.lang.Object |
getObjectInstance()
Returns the provider specific object for this value. |
java.lang.String |
getSyntaxName()
Returns the provider specific syntax for this value. |
int |
intValue()
Returns the value of this object as an int. |
long |
longValue()
Returns the value of this object as a long. |
short |
shortValue()
Returns the value of this object as a short. |
java.lang.String |
toString()
Returns a String that represents the value of this object. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BasicIntegerValue(java.lang.String name,
int value)
name - The name of the signed integer to be stored.value - The value of the signed integer to be stored.| Method Detail |
public int compareTo(java.lang.Object object)
compareTo in interface Valueobject - The Value to be compared.
public java.lang.String getName()
getName in interface ValueString The name of this value.public java.lang.String getSyntaxName()
getSyntaxName in interface Valuepublic java.lang.Object getObjectInstance()
getObjectInstance in interface Valuepublic int intValue()
intValue in interface NumberValuepublic long longValue()
longValue in interface NumberValuepublic float floatValue()
floatValue in interface NumberValuepublic double doubleValue()
doubleValue in interface NumberValuepublic byte byteValue()
byteValue in interface NumberValuepublic short shortValue()
shortValue in interface NumberValuepublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - The Object to compare with.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||