AR System Java API

com.bmc.arsys.api
Class OutputInteger

java.lang.Object
  extended by java.lang.Number
      extended by com.bmc.arsys.api.OutputInteger
All Implemented Interfaces:
Serializable, Comparable<OutputInteger>

public final class OutputInteger
extends Number
implements Comparable<OutputInteger>

This OutputInteger class provides a class to represent an Integer object whose value can be changed by the callee. This class is useful in passing arguments to some api calls (see ARServerUser.getListEntry).

See Also:
Serialized Form

Constructor Summary
OutputInteger()
           
OutputInteger(int val)
          Creates a new object with value val.
OutputInteger(long val)
           
 
Method Summary
 int compareTo(OutputInteger anotherInteger)
           
 double doubleValue()
           
 boolean equals(Object obj)
           
 float floatValue()
           
 Value getValue()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 void setValue(int val)
          Sets the value of this object to val.
 void setValue(long val)
           
 void setValue(Value value)
           
 String toString()
          Returns in a String object all of the status messages.
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutputInteger

public OutputInteger()

OutputInteger

public OutputInteger(int val)
Creates a new object with value val.

Parameters:
val -

OutputInteger

public OutputInteger(long val)
Method Detail

setValue

public void setValue(long val)

setValue

public void setValue(int val)
Sets the value of this object to val.

Parameters:
val -

compareTo

public int compareTo(OutputInteger anotherInteger)
Specified by:
compareTo in interface Comparable<OutputInteger>

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

floatValue

public float floatValue()
Specified by:
floatValue in class Number

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

toString

public String toString()
Returns in a String object all of the status messages.

Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

setValue

public void setValue(Value value)

getValue

public Value getValue()

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.