com.mizar.trinidad.components.tiger
Class VtdRow

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.persistence.jpa.beans.GeometryBean
          extended by com.mizar.uscensus.maftiger.VtdMSc
              extended by com.mizar.uscensus.maftiger.Vtd00Bean
                  extended by com.mizar.trinidad.components.tiger.VtdRow
All Implemented Interfaces:
RowGeometryInterface, RowInterface, RowMutable, JPAGeometryInterface, JPAInterface, Vtd, java.io.Serializable, java.lang.Comparable

public class VtdRow
extends Vtd00Bean
implements RowGeometryInterface, RowMutable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GeometryBean
searchTolerance, sridPrecision, wktLocation, wktMBR, wktShape
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
VtdRow()
           
 
Method Summary
 void deleteRow(javax.faces.event.ActionEvent ae)
           
 long getActiveVoters()
          This method overrides the Vtd.setTabblocks method and checks that each Tabblock does not already have a Vtd.
 long getCensusVoterPop()
           
 long getTotalVoters()
           
 boolean isUserReadOnly()
           
 void setCensusVoterPop(long votingPopulation)
           
 void updateRow(javax.faces.event.ActionEvent ae)
           
 
Methods inherited from class com.mizar.uscensus.maftiger.Vtd00Bean
getCounty, getFaces, getState, setCounty, setFaces, setState
 
Methods inherited from class com.mizar.uscensus.maftiger.VtdMSc
getAland, getAwater, getFuncstat, getGeom, getIntptlat, getIntptlon, getLsad, getMtfcc, getName, getNamelsad, getPrimaryKeyValue, getVtdi, getVtdidfp, getVtdst, setAland, setAwater, setFuncstat, setGeom, setIntptlat, setIntptlon, setLsad, setMtfcc, setName, setNamelsad, setVtdi, setVtdidfp, setVtdst
 
Methods inherited from class com.mizar.persistence.jpa.beans.GeometryBean
getArea, getBasicGeometryType, getGeomDimensions, getGeomNumPoints, getGeomType, getGType, getHeight, getLength, getRange, getSearchTolerance, getSrid, getSridPrecision, getWidth, getWktLocation, getWktMBR, getWktShape, isGeometryExtant, setArea, setSearchTolerance, setSridPrecision, setWktLocation, setWktShape
 
Methods inherited from class com.mizar.persistence.jpa.beans.GenericBean
compareTo, equals, getDELETE, getEDIT, getEntityState, getEntityStateLabel, getLogger, getNEW, getREAD, hashCode, isEditable, isNew, setEditable, setEntityState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mizar.faces.javax.components.RowGeometryInterface
getGeom, getHeight, getRange, getSrid, getWidth, getWktLocation, getWktShape, isGeometryExtant, setGeom
 
Methods inherited from interface com.mizar.faces.javax.components.RowMutable
isEditable, setEntityState
 
Methods inherited from interface com.mizar.faces.javax.components.RowInterface
getEntityState, getEntityStateLabel, getPrimaryKeyValue
 
Methods inherited from interface com.mizar.uscensus.maftiger.Vtd
getAland, getAwater, getFuncstat, getGeom, getIntptlat, getIntptlon, getLsad, getMtfcc, getName, getNamelsad, getPrimaryKeyValue, getVtdi, getVtdidfp, getVtdst, setAland, setAwater, setFuncstat, setGeom, setIntptlat, setIntptlon, setLsad, setMtfcc, setName, setNamelsad, setVtdi, setVtdidfp, setVtdst
 

Constructor Detail

VtdRow

public VtdRow()
Method Detail

getActiveVoters

public long getActiveVoters()
This method overrides the Vtd.setTabblocks method and checks that each Tabblock does not already have a Vtd. If so then this method omits it from the list and throws up an InfoMessage popup.

Parameters:
tabblocks -
See Also:
FacesUtils.addInfoMessage(java.lang.String)

getTotalVoters

public long getTotalVoters()

setCensusVoterPop

public void setCensusVoterPop(long votingPopulation)

getCensusVoterPop

public long getCensusVoterPop()

updateRow

public void updateRow(javax.faces.event.ActionEvent ae)
Specified by:
updateRow in interface RowMutable

deleteRow

public void deleteRow(javax.faces.event.ActionEvent ae)
Specified by:
deleteRow in interface RowMutable

isUserReadOnly

public boolean isUserReadOnly()
Specified by:
isUserReadOnly in interface RowMutable