|
|||||||||
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.Lineup
public class Lineup
A bean
that represents a lineup record.
Field Summary |
---|
Fields inherited from class net.sf.xtvdclient.xtvd.datatypes.AbstractDataType |
---|
END_OF_LINE |
Constructor Summary | |
---|---|
Lineup()
Default constructor. |
|
Lineup(java.lang.String id,
java.lang.String name,
java.lang.String location,
LineupTypes type)
Create a new instance of the class with the specified values of name and type . |
|
Lineup(java.lang.String id,
java.lang.String name,
java.lang.String location,
LineupTypes type,
java.lang.String device,
java.lang.String postalCode)
Create a new instance of the class, and initiliase the instance variables with the specified values. |
|
Lineup(java.lang.String id,
java.lang.String name,
java.lang.String location,
LineupTypes type,
java.lang.String device,
java.lang.String postalCode,
java.util.Collection<Map> map)
Create a new instance of the class, and initiliase the instance variables with the specified values. |
Method Summary | |
---|---|
void |
addMap(Map map)
Add the specified instance of Map to the maps
collection. |
java.lang.String |
getDevice()
Returns device . |
java.lang.String |
getId()
Returns id . |
java.lang.String |
getLocation()
Returns location . |
java.util.Collection<Map> |
getMaps()
Returns maps . |
java.lang.String |
getName()
Returns name . |
java.lang.String |
getPostalCode()
Returns postalCode . |
LineupTypes |
getType()
Returns type . |
void |
reset()
Reset all the instance variables to empty values. |
void |
setDevice(java.lang.String device)
Set device . |
void |
setId(java.lang.String id)
Set id . |
void |
setLocation(java.lang.String location)
Set location . |
void |
setMaps(java.util.Collection<Map> maps)
Set maps . |
void |
setName(java.lang.String name)
Set name . |
void |
setPostalCode(java.lang.String postalCode)
Set postalCode . |
void |
setType(LineupTypes type)
Set type . |
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 Lineup()
public Lineup(java.lang.String id, java.lang.String name, java.lang.String location, LineupTypes type)
name
and type
.
id
- The id
value to set.name
- The name
value to set.location
- The location
value to set.type
- The type
value to set.public Lineup(java.lang.String id, java.lang.String name, java.lang.String location, LineupTypes type, java.lang.String device, java.lang.String postalCode)
id
- The id
value to set.name
- The name
value to set.location
- The location
value to set.type
- The type
value to set.device
- The device
value to set.postalCode
- The postalCode
value to set.public Lineup(java.lang.String id, java.lang.String name, java.lang.String location, LineupTypes type, java.lang.String device, java.lang.String postalCode, java.util.Collection<Map> map)
id
- The id
value to set.name
- The name
value to set.location
- The location
value to set.type
- The type
value to set.device
- The device
value to set.postalCode
- The postalCode
value to set.map
- The maps
reference 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.Object
public final java.lang.String getId()
id
.
public final void setId(java.lang.String id)
id
.
id
- 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 java.lang.String getLocation()
location
.
public final void setLocation(java.lang.String location)
location
.
location
- The value to set.public final LineupTypes getType()
type
.
public final void setType(LineupTypes type)
type
.
type
- The value to set.public final java.lang.String getDevice()
device
.
public final void setDevice(java.lang.String device)
device
.
device
- The value to set.public final java.lang.String getPostalCode()
postalCode
.
public final void setPostalCode(java.lang.String postalCode)
postalCode
.
postalCode
- The value to set.public final java.util.Collection<Map> getMaps()
maps
.
public final void setMaps(java.util.Collection<Map> maps)
maps
.
maps
- The value to set.public final void addMap(Map map)
Map
to the maps
collection.
map
- The map that is to be added to the collection.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |