|
|||||||||
| 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.Map
public class Map
A bean that represents a map record. A map element
is a child of the lineups/lineup element.
| Field Summary |
|---|
| Fields inherited from class net.sf.xtvdclient.xtvd.datatypes.AbstractDataType |
|---|
END_OF_LINE |
| Constructor Summary | |
|---|---|
Map()
Default constructor. |
|
Map(int station,
java.lang.String channel)
Create a new instance of the class with the specified values for station and channel. |
|
Map(int station,
java.lang.String channel,
int channelMinor)
Create a new instance of the class with the specified values for station, channel and channelMinor. |
|
Map(int station,
java.lang.String channel,
int channelMinor,
XtvdDate from,
XtvdDate to)
Create a new instace of the class and initialise the instance variables with the specified values. |
|
| Method Summary | |
|---|---|
java.lang.String |
getChannel()
Returns channel. |
int |
getChannelMinor()
Returns channelMinor. |
XtvdDate |
getFrom()
Returns from. |
int |
getStation()
Returns station. |
XtvdDate |
getTo()
Returns to. |
void |
setChannel(java.lang.String channel)
Set channel. |
void |
setChannelMinor(int channelMinor)
Set channelMinor. |
void |
setFrom(XtvdDate from)
Set from. |
void |
setStation(int station)
Set station. |
void |
setTo(XtvdDate to)
Set to. |
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 Map()
public Map(int station,
java.lang.String channel)
station and channel.
int - station - The station value to set.String - channel - The channel value to set.
public Map(int station,
java.lang.String channel,
int channelMinor)
station, channel and channelMinor.
int - station - The station value to set.String - channel - The channel value to set.int - channelMinor - The channelMinor value to set.
public Map(int station,
java.lang.String channel,
int channelMinor,
XtvdDate from,
XtvdDate to)
int - station - The station value to set.String - channel - The channel value to set.int - channelMinor - The channelMinor value to set.Date - from - The from value to set.Date - to - The to 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.Objectpublic final int getStation()
station.
public final void setStation(int station)
station.
int - station - The value to set.public final java.lang.String getChannel()
channel.
public final void setChannel(java.lang.String channel)
channel.
String - channel - The value to set.public final int getChannelMinor()
channelMinor.
public final void setChannelMinor(int channelMinor)
channelMinor.
int - channelMinor - The value to set.public final XtvdDate getFrom()
from.
public final void setFrom(XtvdDate from)
from.
Date - from - The value to set.public final XtvdDate getTo()
to.
public final void setTo(XtvdDate to)
to.
Date - to - The value to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||