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.
		
		
		
		
		
			
		
			
				
					
					
						
							153 lines
						
					
					
						
							3.4 KiB
						
					
					
				
			
		
		
	
	
							153 lines
						
					
					
						
							3.4 KiB
						
					
					
				| /*
 | |
| * TrabalhadoresProcesso.java
 | |
| *
 | |
| * Generated by com.evutils.codegen.JDOObjectGenerator on May 14, 2007
 | |
| *
 | |
| * Use but DON'T TOUCH
 | |
| */
 | |
| package siprp.medicina.processo.data;
 | |
| 
 | |
| import java.util.Date;
 | |
| import com.evolute.utils.jdo.*;
 | |
| 
 | |
| public final class TrabalhadoresProcesso implements JDOInnerObject
 | |
| {
 | |
| 	private Integer id;
 | |
| 	private Integer trabalhador_id;
 | |
| 	private String estado;
 | |
| 	private Date data_inicio;
 | |
| 	private Date data_fim;
 | |
| 	private Integer motivo;
 | |
| 	private Integer sub_motivo;
 | |
| 
 | |
| 	public TrabalhadoresProcesso()
 | |
| 	{
 | |
| 	}
 | |
| 
 | |
| 	public Object getField( String fieldName )
 | |
| 	{
 | |
| 		if( fieldName == TrabalhadoresProcessoData.ID )
 | |
| 		{
 | |
| 			return id;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.TRABALHADOR_ID )
 | |
| 		{
 | |
| 			return trabalhador_id;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.ESTADO )
 | |
| 		{
 | |
| 			return estado;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.DATA_INICIO )
 | |
| 		{
 | |
| 			return data_inicio;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.DATA_FIM )
 | |
| 		{
 | |
| 			return data_fim;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.MOTIVO )
 | |
| 		{
 | |
| 			return motivo;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.SUB_MOTIVO )
 | |
| 		{
 | |
| 			return sub_motivo;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.ID ) )
 | |
| 		{
 | |
| 			return id;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.TRABALHADOR_ID ) )
 | |
| 		{
 | |
| 			return trabalhador_id;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.ESTADO ) )
 | |
| 		{
 | |
| 			return estado;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.DATA_INICIO ) )
 | |
| 		{
 | |
| 			return data_inicio;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.DATA_FIM ) )
 | |
| 		{
 | |
| 			return data_fim;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.MOTIVO ) )
 | |
| 		{
 | |
| 			return motivo;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.SUB_MOTIVO ) )
 | |
| 		{
 | |
| 			return sub_motivo;
 | |
| 		}
 | |
| 		return null;
 | |
| 	}
 | |
| 
 | |
| 	public void setField( String fieldName, Object value )
 | |
| 	{
 | |
| 		if( fieldName == TrabalhadoresProcessoData.ID )
 | |
| 		{
 | |
| 			id = ( Integer ) value;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.TRABALHADOR_ID )
 | |
| 		{
 | |
| 			trabalhador_id = ( Integer ) value;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.ESTADO )
 | |
| 		{
 | |
| 			estado = ( String ) value;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.DATA_INICIO )
 | |
| 		{
 | |
| 			data_inicio = ( Date ) value;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.DATA_FIM )
 | |
| 		{
 | |
| 			data_fim = ( Date ) value;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.MOTIVO )
 | |
| 		{
 | |
| 			motivo = ( Integer ) value;
 | |
| 		}
 | |
| 		else if( fieldName == TrabalhadoresProcessoData.SUB_MOTIVO )
 | |
| 		{
 | |
| 			sub_motivo = ( Integer ) value;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.ID ) )
 | |
| 		{
 | |
| 			id = ( Integer )  value;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.TRABALHADOR_ID ) )
 | |
| 		{
 | |
| 			trabalhador_id = ( Integer )  value;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.ESTADO ) )
 | |
| 		{
 | |
| 			estado = ( String )  value;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.DATA_INICIO ) )
 | |
| 		{
 | |
| 			data_inicio = ( Date )  value;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.DATA_FIM ) )
 | |
| 		{
 | |
| 			data_fim = ( Date )  value;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.MOTIVO ) )
 | |
| 		{
 | |
| 			motivo = ( Integer )  value;
 | |
| 		}
 | |
| 		else if( fieldName.equals( TrabalhadoresProcessoData.SUB_MOTIVO ) )
 | |
| 		{
 | |
| 			sub_motivo = ( Integer )  value;
 | |
| 		}
 | |
| 	}
 | |
| 
 | |
| 	public Class getOuterClass()
 | |
| 	{
 | |
| 		return TrabalhadoresProcessoData.class;
 | |
| 	}
 | |
| }
 |