com.mizar.addressing.tiger.state
Class Vtd

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.persistence.jpa.beans.GeometryBean
          extended by com.mizar.addressing.tiger.state.Vtd
All Implemented Interfaces:
JPAGeometryInterface, JPAInterface, java.io.Serializable, java.lang.Comparable

@Entity
public class Vtd
extends GeometryBean

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
Vtd()
           
 
Method Summary
 Tabblock addTabblock(Tabblock tabblock)
           
 VtdActual getActual()
           
 java.lang.String getCountyfp()
           
 java.lang.String getFuncstat()
           
 oracle.spatial.geometry.JGeometry getGeom()
          Entity classes implementing GeometryBean should have at least one SDO_GEOMETRY column in their associated table.
 java.lang.String getLsad()
           
 Mtfcc getMtfcc()
           
 java.lang.String getName()
           
 java.lang.String getPrimaryKeyValue()
          NOTE: If an implementing bean expects to be extended by a RowInterface in a often-used Table, you should override this method in order to avoid the overheads associated with the reflective code in JPAUtils.getPrimaryKeyValue(this)
 State getState()
           
 java.util.List<Tabblock> getTabblocks()
           
 java.lang.String getVtdi()
           
 java.lang.String getVtdidfp()
           
 java.lang.String getVtdst()
           
 boolean isActual()
           
 boolean isPseudo()
           
 Tabblock removeTabblock(Tabblock tabblock)
           
 void setActual(boolean state)
           
 void setActual(VtdActual actual)
           
 void setCountyfp(java.lang.String countyfp)
           
 void setFuncstat(java.lang.String funcstat)
           
 void setGeom(oracle.spatial.geometry.JGeometry geom)
           
 void setLsad(java.lang.String lsad)
           
 void setMtfcc(Mtfcc mtfcc)
           
 void setName(java.lang.String name)
           
 void setPseudo(boolean state)
           
 void setState(State state)
           
 void setTabblocks(java.util.List<Tabblock> tabblocks)
          Sets the vtd's tabblocks.
 void setVtdi(java.lang.String vtdi)
           
 void setVtdidfp(java.lang.String vtdidfp)
           
 void setVtdst(java.lang.String vtdst)
           
 
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
 

Constructor Detail

Vtd

public Vtd()
Method Detail

getPrimaryKeyValue

public java.lang.String getPrimaryKeyValue()
Description copied from class: GenericBean

NOTE: If an implementing bean expects to be extended by a RowInterface in a often-used Table, you should override this method in order to avoid the overheads associated with the reflective code in JPAUtils.getPrimaryKeyValue(this)

 public Object getPrimaryKeyValue(){
   return getProperty();
 }
 

In the absence of an overriding method, this method provides a generic method to get the value of the primary key. This is especially useful for calls to em.find(object) from within abstract classes

Overrides:
getPrimaryKeyValue in class GenericBean
Returns:
JPAUtils#getPrimaryKeyValue(this)
See Also:
RowInterface.getPrimaryKeyValue()

getCountyfp

public java.lang.String getCountyfp()

setCountyfp

public void setCountyfp(java.lang.String countyfp)

getFuncstat

public java.lang.String getFuncstat()

setFuncstat

public void setFuncstat(java.lang.String funcstat)

getLsad

public java.lang.String getLsad()

setLsad

public void setLsad(java.lang.String lsad)

getMtfcc

public Mtfcc getMtfcc()

setMtfcc

public void setMtfcc(Mtfcc mtfcc)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getVtdidfp

public java.lang.String getVtdidfp()

setVtdidfp

public void setVtdidfp(java.lang.String vtdidfp)

getVtdst

public java.lang.String getVtdst()

setVtdst

public void setVtdst(java.lang.String vtdst)

setTabblocks

public void setTabblocks(java.util.List<Tabblock> tabblocks)
Sets the vtd's tabblocks. If vtd's tabblocks already exist, it will be set to the one given in parameter.

Parameters:
tabblocks -

getTabblocks

public java.util.List<Tabblock> getTabblocks()

addTabblock

public Tabblock addTabblock(Tabblock tabblock)

removeTabblock

public Tabblock removeTabblock(Tabblock tabblock)

setGeom

public void setGeom(oracle.spatial.geometry.JGeometry geom)
Specified by:
setGeom in class GeometryBean

getGeom

public oracle.spatial.geometry.JGeometry getGeom()
Description copied from class: GeometryBean
Entity classes implementing GeometryBean should have at least one SDO_GEOMETRY column in their associated table. It is entirely possible for an Entity to support more than one SDO_GEOMETRY column but one must be designated and the default or nominal object and a getter method called getGeom() must be mapped to it.

Specified by:
getGeom in class GeometryBean
Returns:
the principal SDO_GEOMETRY column

setActual

public void setActual(VtdActual actual)

getActual

public VtdActual getActual()

setVtdi

public void setVtdi(java.lang.String vtdi)

getVtdi

public java.lang.String getVtdi()

isActual

public boolean isActual()

isPseudo

public boolean isPseudo()

setActual

public void setActual(boolean state)

setPseudo

public void setPseudo(boolean state)

setState

public void setState(State state)

getState

public State getState()