forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
2.2 KiB
103 lines
2.2 KiB
/*
|
|
* HistoricoEstabelecimento.java
|
|
*
|
|
* Generated by com.evutils.codegen.JDOObjectGenerator on 7/Dez/2004
|
|
*
|
|
* Use but DON'T TOUCH
|
|
*/
|
|
package siprp.data;
|
|
|
|
import java.util.Date;
|
|
|
|
import com.evolute.utils.jdo.JDOInnerObject;
|
|
|
|
public final class HistoricoEstabelecimento implements JDOInnerObject
|
|
{
|
|
private Integer id;
|
|
private Date data;
|
|
private String texto;
|
|
private Estabelecimento estabelecimento;
|
|
|
|
public HistoricoEstabelecimento()
|
|
{
|
|
}
|
|
|
|
public Object getField( String fieldName )
|
|
{
|
|
if( fieldName == HistoricoEstabelecimentoData.ID )
|
|
{
|
|
return id;
|
|
}
|
|
else if( fieldName == HistoricoEstabelecimentoData.DATA )
|
|
{
|
|
return data;
|
|
}
|
|
else if( fieldName == HistoricoEstabelecimentoData.TEXTO )
|
|
{
|
|
return texto;
|
|
}
|
|
else if( fieldName == HistoricoEstabelecimentoData.ESTABELECIMENTO )
|
|
{
|
|
return estabelecimento;
|
|
}
|
|
else if( fieldName.equals( HistoricoEstabelecimentoData.ID ) )
|
|
{
|
|
return id;
|
|
}
|
|
else if( fieldName.equals( HistoricoEstabelecimentoData.DATA ) )
|
|
{
|
|
return data;
|
|
}
|
|
else if( fieldName.equals( HistoricoEstabelecimentoData.TEXTO ) )
|
|
{
|
|
return texto;
|
|
}
|
|
else if( fieldName.equals( HistoricoEstabelecimentoData.ESTABELECIMENTO ) )
|
|
{
|
|
return estabelecimento;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public void setField( String fieldName, Object value )
|
|
{
|
|
if( fieldName == HistoricoEstabelecimentoData.ID )
|
|
{
|
|
id = ( Integer ) value;
|
|
}
|
|
else if( fieldName == HistoricoEstabelecimentoData.DATA )
|
|
{
|
|
data = ( Date ) value;
|
|
}
|
|
else if( fieldName == HistoricoEstabelecimentoData.TEXTO )
|
|
{
|
|
texto = ( String ) value;
|
|
}
|
|
else if( fieldName == HistoricoEstabelecimentoData.ESTABELECIMENTO )
|
|
{
|
|
estabelecimento = ( Estabelecimento ) value;
|
|
}
|
|
else if( fieldName.equals( HistoricoEstabelecimentoData.ID ) )
|
|
{
|
|
id = ( Integer ) value;
|
|
}
|
|
else if( fieldName.equals( HistoricoEstabelecimentoData.DATA ) )
|
|
{
|
|
data = ( Date ) value;
|
|
}
|
|
else if( fieldName.equals( HistoricoEstabelecimentoData.TEXTO ) )
|
|
{
|
|
texto = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( HistoricoEstabelecimentoData.ESTABELECIMENTO ) )
|
|
{
|
|
estabelecimento = ( Estabelecimento ) value;
|
|
}
|
|
}
|
|
|
|
public Class getOuterClass()
|
|
{
|
|
return HistoricoEstabelecimentoData.class;
|
|
}
|
|
}
|