|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.xtvdclient.xtvd.datatypes.AbstractDataType
net.sf.xtvdclient.xtvd.datatypes.Part
public class Part
A bean
that represents a part record. The part record
is a child element of schedules/schedule
.
Field Summary |
---|
Fields inherited from class net.sf.xtvdclient.xtvd.datatypes.AbstractDataType |
---|
END_OF_LINE |
Constructor Summary | |
---|---|
Part()
Default constructor. |
|
Part(int number,
int total)
Create a new instance of the class and initialise the required instance variables with the specified values. |
Method Summary | |
---|---|
int |
getNumber()
Returns number . |
int |
getTotal()
Returns total . |
void |
setNumber(int number)
Set number . |
void |
setTotal(int total)
Set total . |
java.lang.String |
toString()
Over-ridden implementation. |
Methods inherited from class net.sf.xtvdclient.xtvd.datatypes.AbstractDataType |
---|
compareTo, equals, replaceSpecialCharacters, replaceSpecialCharacters |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Part()
public Part(int number, int total)
number
- The number
value to set.total
- The total
value to set.Method Detail |
---|
public java.lang.String toString()
XML representation
of the class fields in the same format as in the original
XTVD document
.
toString
in class java.lang.Object
public final int getNumber()
number
.
public final void setNumber(int number)
number
.
number
- The value to set.public final int getTotal()
total
.
public final void setTotal(int total)
total
.
total
- The value to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |