com.mizar.addressing
Class StreetName

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.addressing.StreetName
All Implemented Interfaces:
JPAInterface, java.io.Serializable, java.lang.Comparable

@Entity
public class StreetName
extends GenericBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
StreetName()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.Long getNameType()
           
 java.lang.String getPrefixDir()
           
 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)
 java.lang.Long getRouteNum()
           
 java.lang.Long getRouteSubnum()
           
 java.lang.Long getStreetNameId()
           
 java.lang.String getSuffixDir()
           
 java.lang.String getSuffixType()
           
 java.lang.String getUnparsed()
           
 java.lang.String getUnparsedMC()
           
 void setName(java.lang.String name)
           
 void setNameType(java.lang.Long nameType)
           
 void setPrefixDir(java.lang.String prefixDir)
           
 void setRouteNum(java.lang.Long routeNum)
           
 void setRouteSubnum(java.lang.Long routeSubnum)
           
 void setStreetNameId(java.lang.Long streetNameId)
           
 void setSuffixDir(java.lang.String suffixDir)
           
 void setSuffixType(java.lang.String suffixType)
           
 void setUnparsed(java.lang.String unparsed)
           
 
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

StreetName

public StreetName()
Method Detail

getStreetNameId

public java.lang.Long getStreetNameId()

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()

setStreetNameId

public void setStreetNameId(java.lang.Long streetNameId)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getNameType

public java.lang.Long getNameType()

setNameType

public void setNameType(java.lang.Long nameType)

getPrefixDir

public java.lang.String getPrefixDir()

setPrefixDir

public void setPrefixDir(java.lang.String prefixDir)

getRouteNum

public java.lang.Long getRouteNum()

setRouteNum

public void setRouteNum(java.lang.Long routeNum)

getRouteSubnum

public java.lang.Long getRouteSubnum()

setRouteSubnum

public void setRouteSubnum(java.lang.Long routeSubnum)

getSuffixDir

public java.lang.String getSuffixDir()

setSuffixDir

public void setSuffixDir(java.lang.String suffixDir)

getSuffixType

public java.lang.String getSuffixType()

setSuffixType

public void setSuffixType(java.lang.String suffixType)

getUnparsed

public java.lang.String getUnparsed()

getUnparsedMC

public java.lang.String getUnparsedMC()

setUnparsed

public void setUnparsed(java.lang.String unparsed)