|
|||||||||
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.Duration
public class Duration
A class
that represents a duration datatype.
Field Summary |
---|
Fields inherited from class net.sf.xtvdclient.xtvd.datatypes.AbstractDataType |
---|
END_OF_LINE |
Constructor Summary | |
---|---|
Duration(java.lang.String duration)
Construct a new instance of the class with the specified duration value. |
Method Summary | |
---|---|
java.lang.String |
getHours()
Returns hours . |
java.lang.String |
getMinutes()
Returns minutes . |
int |
hashCode()
Returns a hash code value for this class. |
void |
setHours(java.lang.String hours)
Set hours . |
void |
setMinutes(java.lang.String minutes)
Set minutes . |
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, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Duration(java.lang.String duration)
duration
- The duration datatype representation.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hours
and minutes
fields.
hashCode
in class java.lang.Object
public final java.lang.String getHours()
hours
.
public final void setHours(java.lang.String hours)
hours
.
hours
- The value to set.public final java.lang.String getMinutes()
minutes
.
public final void setMinutes(java.lang.String minutes)
minutes
.
minutes
- The value to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |