uk.me.parabola.imgfmt.mps
Class MapBlock
java.lang.Object
uk.me.parabola.imgfmt.mps.Block
uk.me.parabola.imgfmt.mps.MapBlock
public class MapBlock
- extends Block
A block describing an individual map.
The family id, product id, series name, area name and map description can
be set per map.
- Author:
- Steve Ratcliffe
Methods inherited from class uk.me.parabola.imgfmt.mps.Block |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapBlock
public MapBlock()
writeBody
protected void writeBody(StructuredOutputStream out)
throws java.io.IOException
- Description copied from class:
Block
- Writes the body to the output stream given.
- Specified by:
writeBody
in class Block
- Parameters:
out
- The stream to write to.
- Throws:
java.io.IOException
setIds
public void setIds(int familyId,
int productId)
setSeriesName
public void setSeriesName(java.lang.String seriesName)
setMapNumber
public void setMapNumber(int mapNumber)
setMapDescription
public void setMapDescription(java.lang.String mapDescription)
setAreaName
public void setAreaName(java.lang.String areaName)
getFamilyId
public int getFamilyId()
getProductId
public int getProductId()
getMapNumber
public int getMapNumber()
getSeriesName
public java.lang.String getSeriesName()
getMapDescription
public java.lang.String getMapDescription()
getAreaName
public java.lang.String getAreaName()