wt.part
Class LineNumber

java.lang.Object
  extended by wt.part.LineNumber
All Implemented Interfaces:
Externalizable, Serializable, NetFactor, ObjectMappable

public final class LineNumber
extends Object
implements ObjectMappable, Externalizable

Represent line number value.

Use the newLineNumber static factory method(s), not the LineNumber constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static String VALUE
          Label for the attribute.
 
Method Summary
 long getValue()
          Gets the value of the attribute: VALUE.
static LineNumber newLineNumber(long number)
          Constructs an instance of a LineNumber given a line number value.
 void setValue(long a_Value)
          Sets the value of the attribute: VALUE.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

VALUE

public static final String VALUE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getValue

public long getValue()
Gets the value of the attribute: VALUE.

Supported API: true

Returns:
long

setValue

public void setValue(long a_Value)
              throws WTPropertyVetoException
Sets the value of the attribute: VALUE.

Supported API: true

Parameters:
a_Value -
Throws:
WTPropertyVetoException

newLineNumber

public static LineNumber newLineNumber(long number)
                                throws WTException
Constructs an instance of a LineNumber given a line number value.

Supported API: true

Parameters:
number -
Returns:
LineNumber
Throws:
WTException