br.gov.mj.frameworkprocessos.pojo.base
Class BaseGenero

java.lang.Object
  extended by br.gov.mj.frameworkprocessos.pojo.base.BaseGenero
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Genero

public abstract class BaseGenero
extends java.lang.Object
implements java.io.Serializable

This class has been automatically generated by Hibernate Synchronizer. For more information or documentation, visit The Hibernate Synchronizer page at http://www.binamics.com/hibernatesync or contact Joe Hudson at joe@binamics.com. This is an object that contains data related to the Genero table. Do not modify this class because it will be overwritten if the configuration file related to this class is modified.

See Also:
Serialized Form

Field Summary
static java.lang.String PROP_CODIGO_GENERO
           
static java.lang.String PROP_DESCRICAO
           
static java.lang.String PROP_INDICA_ATIVO
           
 
Constructor Summary
BaseGenero()
           
BaseGenero(java.lang.Integer _codigoGenero)
          Constructor for primary key
BaseGenero(java.lang.Integer _codigoGenero, java.lang.Boolean _indicaAtivo, java.lang.String _descricao)
          Constructor for required fields
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Integer getCodigoGenero()
          Return the unique identifier of this class
 java.lang.String getDescricao()
          Return the value associated with the column: Descricao
 int hashCode()
           
 java.lang.Boolean isIndicaAtivo()
          Return the value associated with the column: IndicaAtivo
 void setCodigoGenero(java.lang.Integer _codigoGenero)
          Set the unique identifier of this class
 void setDescricao(java.lang.String _descricao)
          Set the value related to the column: Descricao
 void setIndicaAtivo(java.lang.Boolean _indicaAtivo)
          Set the value related to the column: IndicaAtivo
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROP_CODIGO_GENERO

public static java.lang.String PROP_CODIGO_GENERO

PROP_INDICA_ATIVO

public static java.lang.String PROP_INDICA_ATIVO

PROP_DESCRICAO

public static java.lang.String PROP_DESCRICAO
Constructor Detail

BaseGenero

public BaseGenero()

BaseGenero

public BaseGenero(java.lang.Integer _codigoGenero)
Constructor for primary key


BaseGenero

public BaseGenero(java.lang.Integer _codigoGenero,
                  java.lang.Boolean _indicaAtivo,
                  java.lang.String _descricao)
Constructor for required fields

Method Detail

getCodigoGenero

public java.lang.Integer getCodigoGenero()
Return the unique identifier of this class


setCodigoGenero

public void setCodigoGenero(java.lang.Integer _codigoGenero)
Set the unique identifier of this class

Parameters:
_codigoGenero - the new ID

isIndicaAtivo

public java.lang.Boolean isIndicaAtivo()
Return the value associated with the column: IndicaAtivo


setIndicaAtivo

public void setIndicaAtivo(java.lang.Boolean _indicaAtivo)
Set the value related to the column: IndicaAtivo

Parameters:
_indicaAtivo - the IndicaAtivo value

getDescricao

public java.lang.String getDescricao()
Return the value associated with the column: Descricao


setDescricao

public void setDescricao(java.lang.String _descricao)
Set the value related to the column: Descricao

Parameters:
_descricao - the Descricao value

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object