|
|||||||||
| 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.Station
public class Station
A bean that represents a station record.
| Field Summary |
|---|
| Fields inherited from class net.sf.xtvdclient.xtvd.datatypes.AbstractDataType |
|---|
END_OF_LINE |
| Constructor Summary | |
|---|---|
Station()
Default constructor. |
|
Station(int id,
java.lang.String callSign)
Create a new instance of the class with the specified values for id and callSign. |
|
Station(int id,
java.lang.String callSign,
java.lang.String name)
Create a new instance of the class with the specified values for id, callSign and name. |
|
Station(int id,
java.lang.String callSign,
java.lang.String name,
int fccChannelNumber,
java.lang.String affiliate)
Create a new instance of the class with the specified values for id, callSign, name,
fccChannelNumber and affiliate. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAffiliate()
Returns affiliate. |
java.lang.String |
getCallSign()
Returns callSign. |
int |
getFccChannelNumber()
Returns fccChannelNumber. |
int |
getId()
Returns id. |
java.lang.String |
getName()
Returns name. |
void |
reset()
Reset all the instance variables to empty values. |
void |
setAffiliate(java.lang.String affiliate)
Set affiliate. |
void |
setCallSign(java.lang.String callSign)
Set callSign. |
void |
setFccChannelNumber(int fccChannelNumber)
Set fccChannelNumber. |
void |
setId(int id)
Set id. |
void |
setName(java.lang.String name)
Set name. |
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 Station()
public Station(int id,
java.lang.String callSign)
id and callSign.
id - The id value to set.callSign - The callSign value to set.
public Station(int id,
java.lang.String callSign,
java.lang.String name)
id, callSign and name.
id - The id value to set.callSign - The callSign value to set.name - The name value to set.
public Station(int id,
java.lang.String callSign,
java.lang.String name,
int fccChannelNumber,
java.lang.String affiliate)
id, callSign, name,
fccChannelNumber and affiliate.
id - The id value to set.callSign - The callSign value to set.name - The name value to set.fccChannelNumber - The fccChannelNumber value to set.affiliate - The affiliate value to set.| Method Detail |
|---|
public void reset()
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 getId()
id.
public final void setId(int id)
id.
id - The value to set.public final java.lang.String getCallSign()
callSign.
public final void setCallSign(java.lang.String callSign)
callSign.
callSign - The value to set.public final java.lang.String getName()
name.
public final void setName(java.lang.String name)
name.
name - The value to set.public final int getFccChannelNumber()
fccChannelNumber.
public final void setFccChannelNumber(int fccChannelNumber)
fccChannelNumber.
fccChannelNumber - - The value to set.public final java.lang.String getAffiliate()
affiliate.
public final void setAffiliate(java.lang.String affiliate)
affiliate.
affiliate - The value to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||