forked from Coded/SIPRP
				
			no message
	
		
	
				
					
				
			git-svn-id: https://svn.coded.pt/svn/SIPRP@363 bb69d46d-e84e-40c8-a05a-06db0d6337410'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
							parent
							
								
									84263f4598
								
							
						
					
					
						commit
						25cce0976d
					
				| @ -1,118 +0,0 @@ | |||||||
| /* |  | ||||||
| * MarcacoesProcesso.java |  | ||||||
| * |  | ||||||
| * Generated by com.evutils.codegen.JDOObjectGenerator on Mar 20, 2007 |  | ||||||
| * |  | ||||||
| * Use but DON'T TOUCH |  | ||||||
| */ |  | ||||||
| package siprp.medicina.processo.data; |  | ||||||
| 
 |  | ||||||
| import java.util.Date; |  | ||||||
| import com.evolute.utils.jdo.*; |  | ||||||
| 
 |  | ||||||
| public final class MarcacoesProcesso implements JDOInnerObject |  | ||||||
| { |  | ||||||
| 	private Integer id; |  | ||||||
| 	private Integer trabalhador_id; |  | ||||||
| 	private String estado; |  | ||||||
| 	private Date data_inicio; |  | ||||||
| 	private Date data_fim; |  | ||||||
| 
 |  | ||||||
| 	public MarcacoesProcesso() |  | ||||||
| 	{ |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	public Object getField( String fieldName ) |  | ||||||
| 	{ |  | ||||||
| 		if( fieldName == MarcacoesProcessoData.ID ) |  | ||||||
| 		{ |  | ||||||
| 			return id; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName == MarcacoesProcessoData.TRABALHADOR_ID ) |  | ||||||
| 		{ |  | ||||||
| 			return trabalhador_id; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName == MarcacoesProcessoData.ESTADO ) |  | ||||||
| 		{ |  | ||||||
| 			return estado; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName == MarcacoesProcessoData.DATA_INICIO ) |  | ||||||
| 		{ |  | ||||||
| 			return data_inicio; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName == MarcacoesProcessoData.DATA_FIM ) |  | ||||||
| 		{ |  | ||||||
| 			return data_fim; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.ID ) ) |  | ||||||
| 		{ |  | ||||||
| 			return id; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.TRABALHADOR_ID ) ) |  | ||||||
| 		{ |  | ||||||
| 			return trabalhador_id; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.ESTADO ) ) |  | ||||||
| 		{ |  | ||||||
| 			return estado; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.DATA_INICIO ) ) |  | ||||||
| 		{ |  | ||||||
| 			return data_inicio; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.DATA_FIM ) ) |  | ||||||
| 		{ |  | ||||||
| 			return data_fim; |  | ||||||
| 		} |  | ||||||
| 		return null; |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	public void setField( String fieldName, Object value ) |  | ||||||
| 	{ |  | ||||||
| 		if( fieldName == MarcacoesProcessoData.ID ) |  | ||||||
| 		{ |  | ||||||
| 			id = ( Integer ) value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName == MarcacoesProcessoData.TRABALHADOR_ID ) |  | ||||||
| 		{ |  | ||||||
| 			trabalhador_id = ( Integer ) value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName == MarcacoesProcessoData.ESTADO ) |  | ||||||
| 		{ |  | ||||||
| 			estado = ( String ) value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName == MarcacoesProcessoData.DATA_INICIO ) |  | ||||||
| 		{ |  | ||||||
| 			data_inicio = ( Date ) value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName == MarcacoesProcessoData.DATA_FIM ) |  | ||||||
| 		{ |  | ||||||
| 			data_fim = ( Date ) value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.ID ) ) |  | ||||||
| 		{ |  | ||||||
| 			id = ( Integer )  value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.TRABALHADOR_ID ) ) |  | ||||||
| 		{ |  | ||||||
| 			trabalhador_id = ( Integer )  value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.ESTADO ) ) |  | ||||||
| 		{ |  | ||||||
| 			estado = ( String )  value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.DATA_INICIO ) ) |  | ||||||
| 		{ |  | ||||||
| 			data_inicio = ( Date )  value; |  | ||||||
| 		} |  | ||||||
| 		else if( fieldName.equals( MarcacoesProcessoData.DATA_FIM ) ) |  | ||||||
| 		{ |  | ||||||
| 			data_fim = ( Date )  value; |  | ||||||
| 		} |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	public Class getOuterClass() |  | ||||||
| 	{ |  | ||||||
| 		return MarcacoesProcessoData.class; |  | ||||||
| 	} |  | ||||||
| } |  | ||||||
| @ -0,0 +1,118 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultas.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.Date; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultas implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Integer trabalhador_id; | ||||||
|  | 	private Date data; | ||||||
|  | 	private Integer estado; | ||||||
|  | 	private Integer prestador_id; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultas() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresConsultasData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasData.TRABALHADOR_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhador_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasData.PRESTADOR_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return prestador_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.TRABALHADOR_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhador_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.PRESTADOR_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return prestador_id; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresConsultasData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasData.TRABALHADOR_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhador_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasData.PRESTADOR_ID ) | ||||||
|  | 		{ | ||||||
|  | 			prestador_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.TRABALHADOR_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhador_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasData.PRESTADOR_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			prestador_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresConsultasData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,61 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String TRABALHADOR_ID = "trabalhador_id"; | ||||||
|  | 	public static final String DATA = "data"; | ||||||
|  | 	public static final String ESTADO = "estado"; | ||||||
|  | 	public static final String PRESTADOR_ID = "prestador_id"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		TRABALHADOR_ID, DATA, ESTADO, PRESTADOR_ID, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, TRABALHADOR_ID, DATA, ESTADO, PRESTADOR_ID, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresConsultas.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,101 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatas.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.Date; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatas implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Date data; | ||||||
|  | 	private Integer trabalhadores_consultas_id; | ||||||
|  | 	private Integer estado; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatas() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresConsultasDatasData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasData.TRABALHADORES_CONSULTAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_consultas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasData.TRABALHADORES_CONSULTAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_consultas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresConsultasDatasData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasData.TRABALHADORES_CONSULTAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_consultas_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasData.TRABALHADORES_CONSULTAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_consultas_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresConsultasDatasData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,60 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatasData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatasData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String DATA = "data"; | ||||||
|  | 	public static final String TRABALHADORES_CONSULTAS_ID = "trabalhadores_consultas_id"; | ||||||
|  | 	public static final String ESTADO = "estado"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		DATA, TRABALHADORES_CONSULTAS_ID, ESTADO, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, DATA, TRABALHADORES_CONSULTAS_ID, ESTADO, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatasData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresConsultasDatas.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,135 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatasEmails.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.Date; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatasEmails implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Integer trabalhadores_consultas_datas_id; | ||||||
|  | 	private String destination; | ||||||
|  | 	private Date data; | ||||||
|  | 	private String subject; | ||||||
|  | 	private String body; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatasEmails() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresConsultasDatasEmailsData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.TRABALHADORES_CONSULTAS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_consultas_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.DESTINATION ) | ||||||
|  | 		{ | ||||||
|  | 			return destination; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.SUBJECT ) | ||||||
|  | 		{ | ||||||
|  | 			return subject; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.BODY ) | ||||||
|  | 		{ | ||||||
|  | 			return body; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.TRABALHADORES_CONSULTAS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_consultas_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.DESTINATION ) ) | ||||||
|  | 		{ | ||||||
|  | 			return destination; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.SUBJECT ) ) | ||||||
|  | 		{ | ||||||
|  | 			return subject; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.BODY ) ) | ||||||
|  | 		{ | ||||||
|  | 			return body; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresConsultasDatasEmailsData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.TRABALHADORES_CONSULTAS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_consultas_datas_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.DESTINATION ) | ||||||
|  | 		{ | ||||||
|  | 			destination = ( String ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.SUBJECT ) | ||||||
|  | 		{ | ||||||
|  | 			subject = ( String ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasEmailsData.BODY ) | ||||||
|  | 		{ | ||||||
|  | 			body = ( String ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.TRABALHADORES_CONSULTAS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_consultas_datas_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.DESTINATION ) ) | ||||||
|  | 		{ | ||||||
|  | 			destination = ( String )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.SUBJECT ) ) | ||||||
|  | 		{ | ||||||
|  | 			subject = ( String )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasEmailsData.BODY ) ) | ||||||
|  | 		{ | ||||||
|  | 			body = ( String )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresConsultasDatasEmailsData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,62 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatasEmailsData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatasEmailsData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String TRABALHADORES_CONSULTAS_DATAS_ID = "trabalhadores_consultas_datas_id"; | ||||||
|  | 	public static final String DESTINATION = "destination"; | ||||||
|  | 	public static final String DATA = "data"; | ||||||
|  | 	public static final String SUBJECT = "subject"; | ||||||
|  | 	public static final String BODY = "body"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		TRABALHADORES_CONSULTAS_DATAS_ID, DESTINATION, DATA, SUBJECT, BODY, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, TRABALHADORES_CONSULTAS_DATAS_ID, DESTINATION, DATA, SUBJECT, BODY, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatasEmailsData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresConsultasDatasEmails.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatasEmailsID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatasEmailsID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresConsultasDatasEmailsID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatasEmailsID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatasID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatasID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresConsultasDatasID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatasID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,83 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatasObservacoes.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatasObservacoes implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Integer trabalhadores_consultas_datas_id; | ||||||
|  | 	private String observacao; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatasObservacoes() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresConsultasDatasObservacoesData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasObservacoesData.TRABALHADORES_CONSULTAS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_consultas_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasObservacoesData.OBSERVACAO ) | ||||||
|  | 		{ | ||||||
|  | 			return observacao; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasObservacoesData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasObservacoesData.TRABALHADORES_CONSULTAS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_consultas_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasObservacoesData.OBSERVACAO ) ) | ||||||
|  | 		{ | ||||||
|  | 			return observacao; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresConsultasDatasObservacoesData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasObservacoesData.TRABALHADORES_CONSULTAS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_consultas_datas_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresConsultasDatasObservacoesData.OBSERVACAO ) | ||||||
|  | 		{ | ||||||
|  | 			observacao = ( String ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasObservacoesData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasObservacoesData.TRABALHADORES_CONSULTAS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_consultas_datas_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresConsultasDatasObservacoesData.OBSERVACAO ) ) | ||||||
|  | 		{ | ||||||
|  | 			observacao = ( String )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresConsultasDatasObservacoesData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,59 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatasObservacoesData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatasObservacoesData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String TRABALHADORES_CONSULTAS_DATAS_ID = "trabalhadores_consultas_datas_id"; | ||||||
|  | 	public static final String OBSERVACAO = "observacao"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		TRABALHADORES_CONSULTAS_DATAS_ID, OBSERVACAO, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, TRABALHADORES_CONSULTAS_DATAS_ID, OBSERVACAO, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatasObservacoesData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresConsultasDatasObservacoes.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasDatasObservacoesID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasDatasObservacoesID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresConsultasDatasObservacoesID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasDatasObservacoesID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresConsultasID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresConsultasID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresConsultasID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresConsultasID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,151 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcd.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcd implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Integer ecd_id; | ||||||
|  | 	private Integer ecd_oficial_id; | ||||||
|  | 	private Integer prestador_id; | ||||||
|  | 	private Integer estado; | ||||||
|  | 	private Integer trabalhadores_ecds_id; | ||||||
|  | 	private Integer trabalhadores_ecds_datas_id; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcd() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.ECD_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return ecd_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.ECD_OFICIAL_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return ecd_oficial_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.PRESTADOR_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return prestador_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.TRABALHADORES_ECDS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.TRABALHADORES_ECDS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.ECD_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return ecd_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.ECD_OFICIAL_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return ecd_oficial_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.PRESTADOR_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return prestador_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.TRABALHADORES_ECDS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.TRABALHADORES_ECDS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_datas_id; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.ECD_ID ) | ||||||
|  | 		{ | ||||||
|  | 			ecd_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.ECD_OFICIAL_ID ) | ||||||
|  | 		{ | ||||||
|  | 			ecd_oficial_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.PRESTADOR_ID ) | ||||||
|  | 		{ | ||||||
|  | 			prestador_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.TRABALHADORES_ECDS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdData.TRABALHADORES_ECDS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_datas_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.ECD_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			ecd_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.ECD_OFICIAL_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			ecd_oficial_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.PRESTADOR_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			prestador_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.TRABALHADORES_ECDS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdData.TRABALHADORES_ECDS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_datas_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcdData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,65 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String ECD_ID = "ecd_id"; | ||||||
|  | 	public static final String ECD_OFICIAL_ID = "ecd_oficial_id"; | ||||||
|  | 	public static final String PRESTADOR_ID = "prestador_id"; | ||||||
|  | 	public static final String ESTADO = "estado"; | ||||||
|  | 	public static final String TRABALHADORES_ECDS_ID = "trabalhadores_ecds_id"; | ||||||
|  | 	public static final String TRABALHADORES_ECDS_DATAS_ID = "trabalhadores_ecds_datas_id"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ECD_ID, ECD_OFICIAL_ID, PRESTADOR_ID, ESTADO, TRABALHADORES_ECDS_ID,  | ||||||
|  | 		TRABALHADORES_ECDS_DATAS_ID, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, ECD_ID, ECD_OFICIAL_ID, PRESTADOR_ID, ESTADO, TRABALHADORES_ECDS_ID,  | ||||||
|  | 		TRABALHADORES_ECDS_DATAS_ID, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcd.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,101 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcds.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.Date; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcds implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Integer trabalhador_id; | ||||||
|  | 	private Integer estado; | ||||||
|  | 	private Date data; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcds() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdsData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsData.TRABALHADOR_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhador_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsData.TRABALHADOR_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhador_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdsData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsData.TRABALHADOR_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhador_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsData.TRABALHADOR_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhador_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcdsData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,60 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String TRABALHADOR_ID = "trabalhador_id"; | ||||||
|  | 	public static final String ESTADO = "estado"; | ||||||
|  | 	public static final String DATA = "data"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		TRABALHADOR_ID, ESTADO, DATA, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, TRABALHADOR_ID, ESTADO, DATA, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcds.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,101 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatas.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.Date; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatas implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Integer trabalhadores_ecds_id; | ||||||
|  | 	private Date data; | ||||||
|  | 	private Integer estado; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatas() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdsDatasData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasData.TRABALHADORES_ECDS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasData.TRABALHADORES_ECDS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			return estado; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdsDatasData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasData.TRABALHADORES_ECDS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasData.ESTADO ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasData.TRABALHADORES_ECDS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasData.ESTADO ) ) | ||||||
|  | 		{ | ||||||
|  | 			estado = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcdsDatasData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,60 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatasData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatasData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String TRABALHADORES_ECDS_ID = "trabalhadores_ecds_id"; | ||||||
|  | 	public static final String DATA = "data"; | ||||||
|  | 	public static final String ESTADO = "estado"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		TRABALHADORES_ECDS_ID, DATA, ESTADO, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, TRABALHADORES_ECDS_ID, DATA, ESTADO, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatasData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcdsDatas.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,135 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatasEmails.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.Date; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatasEmails implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Integer trabalhadores_ecds_datas_id; | ||||||
|  | 	private String destination; | ||||||
|  | 	private Date data; | ||||||
|  | 	private String subject; | ||||||
|  | 	private String body; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatasEmails() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdsDatasEmailsData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.TRABALHADORES_ECDS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.DESTINATION ) | ||||||
|  | 		{ | ||||||
|  | 			return destination; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.SUBJECT ) | ||||||
|  | 		{ | ||||||
|  | 			return subject; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.BODY ) | ||||||
|  | 		{ | ||||||
|  | 			return body; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.TRABALHADORES_ECDS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.DESTINATION ) ) | ||||||
|  | 		{ | ||||||
|  | 			return destination; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			return data; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.SUBJECT ) ) | ||||||
|  | 		{ | ||||||
|  | 			return subject; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.BODY ) ) | ||||||
|  | 		{ | ||||||
|  | 			return body; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdsDatasEmailsData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.TRABALHADORES_ECDS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_datas_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.DESTINATION ) | ||||||
|  | 		{ | ||||||
|  | 			destination = ( String ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.DATA ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.SUBJECT ) | ||||||
|  | 		{ | ||||||
|  | 			subject = ( String ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasEmailsData.BODY ) | ||||||
|  | 		{ | ||||||
|  | 			body = ( String ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.TRABALHADORES_ECDS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_datas_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.DESTINATION ) ) | ||||||
|  | 		{ | ||||||
|  | 			destination = ( String )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.DATA ) ) | ||||||
|  | 		{ | ||||||
|  | 			data = ( Date )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.SUBJECT ) ) | ||||||
|  | 		{ | ||||||
|  | 			subject = ( String )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasEmailsData.BODY ) ) | ||||||
|  | 		{ | ||||||
|  | 			body = ( String )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcdsDatasEmailsData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,62 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatasEmailsData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatasEmailsData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String TRABALHADORES_ECDS_DATAS_ID = "trabalhadores_ecds_datas_id"; | ||||||
|  | 	public static final String DESTINATION = "destination"; | ||||||
|  | 	public static final String DATA = "data"; | ||||||
|  | 	public static final String SUBJECT = "subject"; | ||||||
|  | 	public static final String BODY = "body"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		TRABALHADORES_ECDS_DATAS_ID, DESTINATION, DATA, SUBJECT, BODY, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, TRABALHADORES_ECDS_DATAS_ID, DESTINATION, DATA, SUBJECT, BODY, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatasEmailsData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcdsDatasEmails.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatasEmailsID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatasEmailsID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresEcdsDatasEmailsID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatasEmailsID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatasID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatasID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresEcdsDatasID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatasID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,83 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatasObservacoes.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatasObservacoes implements JDOInnerObject | ||||||
|  | { | ||||||
|  | 	private Integer id; | ||||||
|  | 	private Integer trabalhadores_ecds_datas_id; | ||||||
|  | 	private String observacao; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatasObservacoes() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Object getField( String fieldName ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdsDatasObservacoesData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasObservacoesData.TRABALHADORES_ECDS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasObservacoesData.OBSERVACAO ) | ||||||
|  | 		{ | ||||||
|  | 			return observacao; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasObservacoesData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasObservacoesData.TRABALHADORES_ECDS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			return trabalhadores_ecds_datas_id; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasObservacoesData.OBSERVACAO ) ) | ||||||
|  | 		{ | ||||||
|  | 			return observacao; | ||||||
|  | 		} | ||||||
|  | 		return null; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public void setField( String fieldName, Object value ) | ||||||
|  | 	{ | ||||||
|  | 		if( fieldName == TrabalhadoresEcdsDatasObservacoesData.ID ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasObservacoesData.TRABALHADORES_ECDS_DATAS_ID ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_datas_id = ( Integer ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName == TrabalhadoresEcdsDatasObservacoesData.OBSERVACAO ) | ||||||
|  | 		{ | ||||||
|  | 			observacao = ( String ) value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasObservacoesData.ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasObservacoesData.TRABALHADORES_ECDS_DATAS_ID ) ) | ||||||
|  | 		{ | ||||||
|  | 			trabalhadores_ecds_datas_id = ( Integer )  value; | ||||||
|  | 		} | ||||||
|  | 		else if( fieldName.equals( TrabalhadoresEcdsDatasObservacoesData.OBSERVACAO ) ) | ||||||
|  | 		{ | ||||||
|  | 			observacao = ( String )  value; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcdsDatasObservacoesData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,59 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatasObservacoesData.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.util.HashMap; | ||||||
|  | import com.evolute.utils.jdo.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatasObservacoesData extends JDOObject | ||||||
|  | { | ||||||
|  | 	public static final String ID = "id"; | ||||||
|  | 	public static final String TRABALHADORES_ECDS_DATAS_ID = "trabalhadores_ecds_datas_id"; | ||||||
|  | 	public static final String OBSERVACAO = "observacao"; | ||||||
|  | 
 | ||||||
|  | 	public static final String FIELD_NAMES[] = new String[]{ | ||||||
|  | 		TRABALHADORES_ECDS_DATAS_ID, OBSERVACAO, }; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	protected static final String ALL_FIELD_NAMES[] = new String[]{ | ||||||
|  | 		ID, TRABALHADORES_ECDS_DATAS_ID, OBSERVACAO, }; | ||||||
|  | 
 | ||||||
|  | 	private HashMap dataHash; | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatasObservacoesData() | ||||||
|  | 	{ | ||||||
|  | 		dataHash = new HashMap(); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected Object innerGet( String fieldName ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		return dataHash.get( fieldName ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected void innerSet( String fieldName, Object value ) | ||||||
|  | 		throws Exception | ||||||
|  | 	{ | ||||||
|  | 		dataHash.put( fieldName, value ); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public String []getFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	protected String []getAllFieldNames() | ||||||
|  | 	{ | ||||||
|  | 		return ALL_FIELD_NAMES; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getInnerClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresEcdsDatasObservacoes.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsDatasObservacoesID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsDatasObservacoesID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresEcdsDatasObservacoesID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsDatasObservacoesID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresEcdsID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresEcdsID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresEcdsID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresEcdsID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,135 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresProcesso.java | ||||||
|  | * | ||||||
|  | * Generated by com.evutils.codegen.JDOObjectGenerator on 13/Mai/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; | ||||||
|  | 
 | ||||||
|  | 	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.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; | ||||||
|  | 		} | ||||||
|  | 		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.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; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public Class getOuterClass() | ||||||
|  | 	{ | ||||||
|  | 		return TrabalhadoresProcessoData.class; | ||||||
|  | 	} | ||||||
|  | } | ||||||
| @ -0,0 +1,25 @@ | |||||||
|  | /* | ||||||
|  | * TrabalhadoresProcessoID.java | ||||||
|  | * | ||||||
|  | * Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on 13/Mai/2007 | ||||||
|  | * | ||||||
|  | * Use but DON'T TOUCH | ||||||
|  | */ | ||||||
|  | package siprp.medicina.processo.data; | ||||||
|  | 
 | ||||||
|  | import java.io.*; | ||||||
|  | 
 | ||||||
|  | import com.evolute.utils.jdo.jpox.*; | ||||||
|  | 
 | ||||||
|  | public final class TrabalhadoresProcessoID extends IntegerID | ||||||
|  | 	implements Serializable | ||||||
|  | { | ||||||
|  | 	public TrabalhadoresProcessoID() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public TrabalhadoresProcessoID( String str ) | ||||||
|  | 	{ | ||||||
|  | 		super( str ); | ||||||
|  | 	} | ||||||
|  | } | ||||||
					Loading…
					
					
				
		Reference in new issue