From 29a6eaecfaea1e71400a6a742c920c06e68c64d8 Mon Sep 17 00:00:00 2001 From: Frederico Palma Date: Fri, 2 Feb 2007 12:18:55 +0000 Subject: [PATCH] no message git-svn-id: https://svn.coded.pt/svn/SIPRP@284 bb69d46d-e84e-40c8-a05a-06db0d633741 --- trunk/alter_20070124.sql | 22 ++ trunk/siprp/SIPRPTracker.java | 10 + .../prestadores/PrestadoresDataProvider.java | 107 +++++++ .../prestadores/PrestadoresWindow.java | 185 ++++++++++++ .../prestadores/data/Prestadores.java | 271 ++++++++++++++++++ .../prestadores/data/PrestadoresData.java | 72 +++++ .../prestadores/data/PrestadoresID.java | 25 ++ .../medicina/prestadores/data/package.jdo | 78 +++++ 8 files changed, 770 insertions(+) create mode 100644 trunk/siprp/medicina/prestadores/PrestadoresDataProvider.java create mode 100644 trunk/siprp/medicina/prestadores/PrestadoresWindow.java create mode 100644 trunk/siprp/medicina/prestadores/data/Prestadores.java create mode 100644 trunk/siprp/medicina/prestadores/data/PrestadoresData.java create mode 100644 trunk/siprp/medicina/prestadores/data/PrestadoresID.java create mode 100644 trunk/siprp/medicina/prestadores/data/package.jdo diff --git a/trunk/alter_20070124.sql b/trunk/alter_20070124.sql index c8390328..3c5708d3 100644 --- a/trunk/alter_20070124.sql +++ b/trunk/alter_20070124.sql @@ -44,6 +44,28 @@ WITHOUT OIDS; ALTER TABLE prestadores OWNER TO postgres; +-- Table: prestadores_grupos_protocolo + +-- DROP TABLE prestadores_grupos_protocolo; + +CREATE TABLE prestadores_grupos_protocolo +( + id serial NOT NULL, + prestador_id int4 NOT NULL, + grupo_protocolo_id int4 NOT NULL, + CONSTRAINT prestadores_grupos_protocolo_pkey PRIMARY KEY (id), + CONSTRAINT prestadores_grupos_protocolo_grupo_protocolo_id_fkey FOREIGN KEY (grupo_protocolo_id) + REFERENCES prt_grupos_protocolo (id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT prestadores_grupos_protocolo_prestador_id_fkey FOREIGN KEY (prestador_id) + REFERENCES prestadores (id) MATCH SIMPLE + ON UPDATE NO ACTION ON DELETE NO ACTION +) +WITHOUT OIDS; +ALTER TABLE prestadores_grupos_protocolo OWNER TO postgres; + + + -- Table: marcacoes_trabalhador_estados -- DROP TABLE marcacoes_trabalhador_estados; diff --git a/trunk/siprp/SIPRPTracker.java b/trunk/siprp/SIPRPTracker.java index 121336d8..2c286e0d 100644 --- a/trunk/siprp/SIPRPTracker.java +++ b/trunk/siprp/SIPRPTracker.java @@ -19,6 +19,7 @@ import siprp.higiene.marcacoes.*; import siprp.impressaofichas.*; import siprp.medicina.*; import siprp.medicina.presencas.RegistarPresencasWindow; +import siprp.medicina.prestadores.PrestadoresWindow; import siprp.pesquisas.*; /** * @@ -146,6 +147,15 @@ public class SIPRPTracker extends WindowTracker } } ); + medicinaNode.add( new DefaultMutableTreeNode( PrestadoresWindow.TITLE ) ); + creators.put( PrestadoresWindow.TITLE, new WindowCreator() { + public TrackableWindow create() + throws Exception + { + return new PrestadoresWindow(); + } + } ); + rootNode.add( medicinaNode ); DefaultMutableTreeNode higieneNode = new DefaultMutableTreeNode( HIGIENE_SEGURANCA ); diff --git a/trunk/siprp/medicina/prestadores/PrestadoresDataProvider.java b/trunk/siprp/medicina/prestadores/PrestadoresDataProvider.java new file mode 100644 index 00000000..7c74e755 --- /dev/null +++ b/trunk/siprp/medicina/prestadores/PrestadoresDataProvider.java @@ -0,0 +1,107 @@ +/* + * PrestadoresDataProvider.java + * + * Created on February 2, 2007, 9:53 AM + * + * To change this template, choose Tools | Template Manager + * and open the template in the editor. + */ + +package siprp.medicina.prestadores; + +import com.evolute.utils.Singleton; +import com.evolute.utils.arrays.Object2DArray; +import com.evolute.utils.arrays.Virtual2DArray; +import com.evolute.utils.db.DBManager; +import com.evolute.utils.db.Executer; +import com.evolute.utils.sql.Field; +import com.evolute.utils.sql.Select; +import com.evolute.utils.ui.search.SearchDialog; +import com.evolute.utils.ui.search.SearchExecuter; + +/** + * + * @author fpalma + */ +public class PrestadoresDataProvider + implements SearchExecuter +{ + private static final Object LOCK = new Object(); + private static PrestadoresDataProvider instance = null; + + private static final String SEARCH_TITLE = "Procurar prestadores"; + private static final String SEARCH_COLUMNS[] = + new String[]{ "Designa\u00e7\u00e3o", "Servi\u00e7os" }; + + private Executer EXECUTER; + + /** Creates a new instance of PrestadoresDataProvider */ + public PrestadoresDataProvider() + throws Exception + { + DBManager dbm = ( DBManager ) Singleton.getInstance( Singleton.DEFAULT_DBMANAGER ); + EXECUTER = dbm.getSharedExecuter( this ); + } + + public static PrestadoresDataProvider getProvider() + throws Exception + { + synchronized( LOCK ) + { + if( instance == null ) + { + instance = new PrestadoresDataProvider(); + } + } + return instance; + } + + public boolean hasDetails() + { + return false; + } + + public String getSearchTitle() + { + return SEARCH_TITLE; + } + + public String[] getColumnNames() + { + return SEARCH_COLUMNS; + } + + public void showDetails(SearchDialog dialog, Object o) throws Exception + { + } + + public Virtual2DArray search(String pattern) throws Exception + { + pattern = pattern.trim().toLowerCase(); + pattern = pattern.replace( ' ', '%' ); + Select select = + new Select( new String[]{ "prestadores" }, + new String[]{ "id", "nome", "faz_consultas", "faz_ecds", "nome_plain" }, + new Field( "nome_plain" ).isLike( "%" + pattern + "%" ), + new String[]{ "nome_plain" }, + null ); + Virtual2DArray array = EXECUTER.executeQuery( select ); + Object data[][] = new Object[ array.columnLength() ][ 3 ]; + for( int n = 0; n < data.length; n++ ) + { + data[ n ][ 0 ] = array.get( n, 0 ); + data[ n ][ 1 ] = array.get( n, 1 ); + String str = ""; + if( "y".equals( array.get( n, 2 ) ) ) + { + str += "consultas"; + } + if( "y".equals( array.get( n, 3 ) ) ) + { + str += ( str.length() > 0 ? ", " : "" ) + "ecds"; + } + data[ n ][ 2 ] = str; + } + return new Object2DArray( data ); + } +} diff --git a/trunk/siprp/medicina/prestadores/PrestadoresWindow.java b/trunk/siprp/medicina/prestadores/PrestadoresWindow.java new file mode 100644 index 00000000..b3523567 --- /dev/null +++ b/trunk/siprp/medicina/prestadores/PrestadoresWindow.java @@ -0,0 +1,185 @@ +/* + * PrestadoresWindow.java + * + * Created on February 2, 2007, 9:44 AM + * + * To change this template, choose Tools | Template Manager + * and open the template in the editor. + */ + +package siprp.medicina.prestadores; + +import com.evolute.utils.data.IDObject; +import com.evolute.utils.ui.DialogException; +import com.evolute.utils.ui.panel.CheckBoxPanel; +import com.evolute.utils.ui.search.SearchDialog; +import com.evolute.utils.ui.window.EditorWindow; +import info.clearthought.layout.TableLayout; +import info.clearthought.layout.TableLayoutConstraints; +import java.awt.Dimension; +import java.util.Arrays; +import java.util.List; +import java.util.Vector; +import javax.swing.BorderFactory; +import javax.swing.JCheckBox; +import javax.swing.JLabel; +import javax.swing.JScrollPane; +import javax.swing.JTextArea; +import javax.swing.JTextField; +import siprp.clientes.ClientesDataProvider; +import siprp.clientes.ContactoPanel; + +/** + * + * @author fpalma + */ +public class PrestadoresWindow extends EditorWindow +{ + public static final String TITLE = "Prestadores"; + + protected JTextField nomeText; + protected JCheckBox activoCheck; + protected JCheckBox consultasCheck; + protected JCheckBox ecdsCheck; + protected CheckBoxPanel ecdsPanel; + protected JTextArea moradaText; + protected JTextField codigoPostalText; + protected JTextField localidadeCodigoPostalText; + protected JTextField localidadeText; + protected ContactoPanel contactoPanel; + + protected PrestadoresDataProvider provider; + protected ClientesDataProvider clientesProvider; + + /** Creates a new instance of PrestadoresWindow */ + public PrestadoresWindow() + throws Exception + { + super( new int[][]{{ NEW_INDEX, EDIT_INDEX, CANCEL_INDEX, SAVE_INDEX, DELETE_INDEX, + SELECT_BYNAME_INDEX }} ); + provider = PrestadoresDataProvider.getProvider(); + clientesProvider = ( ClientesDataProvider ) ClientesDataProvider.getProvider(); + setupComponents(); + } + + private void setupComponents() + throws Exception + { + setTitle( TITLE ); + JLabel nomeLabel = new JLabel( "Designa\u00e7\u00e3o" ); + nomeText = new JTextField(); + nomeText.setPreferredSize( new Dimension( 500, 20 ) ); + activoCheck = new JCheckBox( "Activo (actualmente fornece servi\u00e7os \u00e0 SIPRP)" ); + consultasCheck = new JCheckBox( "Faz consultas" ); + ecdsCheck = new JCheckBox( "Faz ecds" ); + List gruposProtocolo = new Vector(); + IDObject gruposProtocoloReais[] = clientesProvider.getAllGruposProtocoloReais(); + if( gruposProtocoloReais != null && gruposProtocoloReais.length > 0 ) + { + gruposProtocolo.addAll( Arrays.asList( gruposProtocoloReais ) ); + } + IDObject gruposProtocoloFalsos[] = clientesProvider.getAllGruposProtocoloFalsos(); + if( gruposProtocoloFalsos != null && gruposProtocoloFalsos.length > 0 ) + { + gruposProtocolo.addAll( Arrays.asList( gruposProtocoloFalsos ) ); + } + ecdsPanel = new CheckBoxPanel( gruposProtocolo.toArray( new IDObject[ gruposProtocolo.size() ] ) ); + JLabel contactoLabel = new JLabel( "Contacto" ); + contactoPanel = new ContactoPanel(); + contactoPanel.setPreferredSize( new Dimension( 350, 120 ) ); + contactoPanel.setBorder( BorderFactory.createEtchedBorder() ); + JLabel moradaLabel = new JLabel( "Morada" ); + moradaText = new JTextArea(); + moradaText.setLineWrap( true ); + moradaText.setWrapStyleWord( true ); + JScrollPane moradaScroll = new JScrollPane( moradaText, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, + JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ); + moradaScroll.setPreferredSize( new Dimension( 500, 50 ) ); + JLabel codigoPostalLabel = new JLabel( "C\u00f3digo Postal" ); + codigoPostalText = new JTextField(); + codigoPostalText.setPreferredSize( new Dimension( 100, 50 ) ); + localidadeCodigoPostalText = new JTextField(); + localidadeCodigoPostalText.setPreferredSize( new Dimension( 150, 50 ) ); + JLabel localidadeLabel = new JLabel( "Localidade" ); + localidadeText = new JTextField(); + + double cols[] = + new double[]{ TableLayout.MINIMUM, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.FILL }; + double rows[] = + new double[]{ TableLayout.MINIMUM, TableLayout.MINIMUM, TableLayout.MINIMUM, + TableLayout.FILL, TableLayout.PREFERRED, TableLayout.PREFERRED, + TableLayout.MINIMUM, TableLayout.MINIMUM }; + TableLayout tableLayout = new TableLayout( cols,rows ); + getContentPane().setLayout( tableLayout ); + + getContentPane().add( nomeLabel, new TableLayoutConstraints( 0, 0 ) ); + getContentPane().add( nomeText, new TableLayoutConstraints( 1, 0, 3, 0 ) ); + getContentPane().add( activoCheck, new TableLayoutConstraints( 0, 1, 2, 1 ) ); + getContentPane().add( consultasCheck, new TableLayoutConstraints( 0, 2 ) ); + getContentPane().add( ecdsCheck, new TableLayoutConstraints( 0, 3 ) ); + getContentPane().add( ecdsPanel, new TableLayoutConstraints( 1, 3, 2, 3 ) ); + getContentPane().add( contactoLabel, new TableLayoutConstraints( 0, 4 ) ); + getContentPane().add( contactoPanel, new TableLayoutConstraints( 1, 4, 2, 4 ) ); + getContentPane().add( moradaLabel, new TableLayoutConstraints( 0, 5 ) ); + getContentPane().add( moradaScroll, new TableLayoutConstraints( 1, 5, 3, 5 ) ); + getContentPane().add( codigoPostalLabel, new TableLayoutConstraints( 0, 6 ) ); + getContentPane().add( codigoPostalText, new TableLayoutConstraints( 1, 6 ) ); + getContentPane().add( localidadeCodigoPostalText, new TableLayoutConstraints( 2, 6, 3, 6 ) ); + getContentPane().add( localidadeLabel, new TableLayoutConstraints( 0, 7 ) ); + getContentPane().add( localidadeText, new TableLayoutConstraints( 1, 7, 3, 7 ) ); + + pack(); + } + + public boolean searchByName() + { + SearchDialog search = new SearchDialog( provider ); + Integer id = ( Integer )search.getSelected(); + if( id == null ) + { + return false; + } + clear( 0 ); + try + { + } + catch( Exception ex ) + { + DialogException.showExceptionMessage( ex, "Ocorreu um erro a carregar o prestador.", true ); + return false; + } + + return true; + } + + public void enableComponents( int index, boolean enable ) + { + } + + public void reload( int index ) + { + clear( 0 ); + try + { + } + catch( Exception ex ) + { + DialogException.showExceptionMessage( ex, "Erro a carregar dados", true ); + + } + } + + public void clear( int index ) + { + } + + public boolean newItem( int index ) + { + return true; + } + + public boolean save( int index ) + { + return true; + } +} diff --git a/trunk/siprp/medicina/prestadores/data/Prestadores.java b/trunk/siprp/medicina/prestadores/data/Prestadores.java new file mode 100644 index 00000000..9bc699d5 --- /dev/null +++ b/trunk/siprp/medicina/prestadores/data/Prestadores.java @@ -0,0 +1,271 @@ +/* +* Prestadores.java +* +* Generated by com.evutils.codegen.JDOObjectGenerator on Feb 2, 2007 +* +* Use but DON'T TOUCH +*/ +package siprp.medicina.prestadores.data; + +import java.util.Date; +import com.evolute.utils.jdo.*; + +public final class Prestadores implements JDOInnerObject +{ + private Integer id; + private String nome; + private String nome_plain; + private String morada; + private String codigo_postal; + private String localidade; + private String localidade_cp; + private Integer contacto_id; + private Date inicio; + private Date fim; + private Integer ordem; + private String activo; + private String faz_consultas; + private String faz_ecds; + + public Prestadores() + { + } + + public Object getField( String fieldName ) + { + if( fieldName == PrestadoresData.ID ) + { + return id; + } + else if( fieldName == PrestadoresData.NOME ) + { + return nome; + } + else if( fieldName == PrestadoresData.NOME_PLAIN ) + { + return nome_plain; + } + else if( fieldName == PrestadoresData.MORADA ) + { + return morada; + } + else if( fieldName == PrestadoresData.CODIGO_POSTAL ) + { + return codigo_postal; + } + else if( fieldName == PrestadoresData.LOCALIDADE ) + { + return localidade; + } + else if( fieldName == PrestadoresData.LOCALIDADE_CP ) + { + return localidade_cp; + } + else if( fieldName == PrestadoresData.CONTACTO_ID ) + { + return contacto_id; + } + else if( fieldName == PrestadoresData.INICIO ) + { + return inicio; + } + else if( fieldName == PrestadoresData.FIM ) + { + return fim; + } + else if( fieldName == PrestadoresData.ORDEM ) + { + return ordem; + } + else if( fieldName == PrestadoresData.ACTIVO ) + { + return activo; + } + else if( fieldName == PrestadoresData.FAZ_CONSULTAS ) + { + return faz_consultas; + } + else if( fieldName == PrestadoresData.FAZ_ECDS ) + { + return faz_ecds; + } + else if( fieldName.equals( PrestadoresData.ID ) ) + { + return id; + } + else if( fieldName.equals( PrestadoresData.NOME ) ) + { + return nome; + } + else if( fieldName.equals( PrestadoresData.NOME_PLAIN ) ) + { + return nome_plain; + } + else if( fieldName.equals( PrestadoresData.MORADA ) ) + { + return morada; + } + else if( fieldName.equals( PrestadoresData.CODIGO_POSTAL ) ) + { + return codigo_postal; + } + else if( fieldName.equals( PrestadoresData.LOCALIDADE ) ) + { + return localidade; + } + else if( fieldName.equals( PrestadoresData.LOCALIDADE_CP ) ) + { + return localidade_cp; + } + else if( fieldName.equals( PrestadoresData.CONTACTO_ID ) ) + { + return contacto_id; + } + else if( fieldName.equals( PrestadoresData.INICIO ) ) + { + return inicio; + } + else if( fieldName.equals( PrestadoresData.FIM ) ) + { + return fim; + } + else if( fieldName.equals( PrestadoresData.ORDEM ) ) + { + return ordem; + } + else if( fieldName.equals( PrestadoresData.ACTIVO ) ) + { + return activo; + } + else if( fieldName.equals( PrestadoresData.FAZ_CONSULTAS ) ) + { + return faz_consultas; + } + else if( fieldName.equals( PrestadoresData.FAZ_ECDS ) ) + { + return faz_ecds; + } + return null; + } + + public void setField( String fieldName, Object value ) + { + if( fieldName == PrestadoresData.ID ) + { + id = ( Integer ) value; + } + else if( fieldName == PrestadoresData.NOME ) + { + nome = ( String ) value; + } + else if( fieldName == PrestadoresData.NOME_PLAIN ) + { + nome_plain = ( String ) value; + } + else if( fieldName == PrestadoresData.MORADA ) + { + morada = ( String ) value; + } + else if( fieldName == PrestadoresData.CODIGO_POSTAL ) + { + codigo_postal = ( String ) value; + } + else if( fieldName == PrestadoresData.LOCALIDADE ) + { + localidade = ( String ) value; + } + else if( fieldName == PrestadoresData.LOCALIDADE_CP ) + { + localidade_cp = ( String ) value; + } + else if( fieldName == PrestadoresData.CONTACTO_ID ) + { + contacto_id = ( Integer ) value; + } + else if( fieldName == PrestadoresData.INICIO ) + { + inicio = ( Date ) value; + } + else if( fieldName == PrestadoresData.FIM ) + { + fim = ( Date ) value; + } + else if( fieldName == PrestadoresData.ORDEM ) + { + ordem = ( Integer ) value; + } + else if( fieldName == PrestadoresData.ACTIVO ) + { + activo = ( String ) value; + } + else if( fieldName == PrestadoresData.FAZ_CONSULTAS ) + { + faz_consultas = ( String ) value; + } + else if( fieldName == PrestadoresData.FAZ_ECDS ) + { + faz_ecds = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.ID ) ) + { + id = ( Integer ) value; + } + else if( fieldName.equals( PrestadoresData.NOME ) ) + { + nome = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.NOME_PLAIN ) ) + { + nome_plain = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.MORADA ) ) + { + morada = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.CODIGO_POSTAL ) ) + { + codigo_postal = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.LOCALIDADE ) ) + { + localidade = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.LOCALIDADE_CP ) ) + { + localidade_cp = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.CONTACTO_ID ) ) + { + contacto_id = ( Integer ) value; + } + else if( fieldName.equals( PrestadoresData.INICIO ) ) + { + inicio = ( Date ) value; + } + else if( fieldName.equals( PrestadoresData.FIM ) ) + { + fim = ( Date ) value; + } + else if( fieldName.equals( PrestadoresData.ORDEM ) ) + { + ordem = ( Integer ) value; + } + else if( fieldName.equals( PrestadoresData.ACTIVO ) ) + { + activo = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.FAZ_CONSULTAS ) ) + { + faz_consultas = ( String ) value; + } + else if( fieldName.equals( PrestadoresData.FAZ_ECDS ) ) + { + faz_ecds = ( String ) value; + } + } + + public Class getOuterClass() + { + return PrestadoresData.class; + } +} diff --git a/trunk/siprp/medicina/prestadores/data/PrestadoresData.java b/trunk/siprp/medicina/prestadores/data/PrestadoresData.java new file mode 100644 index 00000000..973c155a --- /dev/null +++ b/trunk/siprp/medicina/prestadores/data/PrestadoresData.java @@ -0,0 +1,72 @@ +/* +* PrestadoresData.java +* +* Generated by com.evutils.codegen.JDOObjectGenerator on Feb 2, 2007 +* +* Use but DON'T TOUCH +*/ +package siprp.medicina.prestadores.data; + +import java.util.HashMap; +import com.evolute.utils.jdo.*; + +public final class PrestadoresData extends JDOObject +{ + public static final String ID = "id"; + public static final String NOME = "nome"; + public static final String NOME_PLAIN = "nome_plain"; + public static final String MORADA = "morada"; + public static final String CODIGO_POSTAL = "codigo_postal"; + public static final String LOCALIDADE = "localidade"; + public static final String LOCALIDADE_CP = "localidade_cp"; + public static final String CONTACTO_ID = "contacto_id"; + public static final String INICIO = "inicio"; + public static final String FIM = "fim"; + public static final String ORDEM = "ordem"; + public static final String ACTIVO = "activo"; + public static final String FAZ_CONSULTAS = "faz_consultas"; + public static final String FAZ_ECDS = "faz_ecds"; + + public static final String FIELD_NAMES[] = new String[]{ + NOME, NOME_PLAIN, MORADA, CODIGO_POSTAL, LOCALIDADE, LOCALIDADE_CP, CONTACTO_ID, + INICIO, FIM, ORDEM, ACTIVO, FAZ_CONSULTAS, FAZ_ECDS, }; + + + protected static final String ALL_FIELD_NAMES[] = new String[]{ + ID, NOME, NOME_PLAIN, MORADA, CODIGO_POSTAL, LOCALIDADE, LOCALIDADE_CP, CONTACTO_ID, + INICIO, FIM, ORDEM, ACTIVO, FAZ_CONSULTAS, FAZ_ECDS, }; + + private HashMap dataHash; + + public PrestadoresData() + { + 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 Prestadores.class; + } +} diff --git a/trunk/siprp/medicina/prestadores/data/PrestadoresID.java b/trunk/siprp/medicina/prestadores/data/PrestadoresID.java new file mode 100644 index 00000000..4241cb3f --- /dev/null +++ b/trunk/siprp/medicina/prestadores/data/PrestadoresID.java @@ -0,0 +1,25 @@ +/* +* PrestadoresID.java +* +* Generated by com.evolute.codegen.jdo.idclassgenerators.JPOXIDClassGenerator on Feb 2, 2007 +* +* Use but DON'T TOUCH +*/ +package siprp.medicina.prestadores.data; + +import java.io.*; + +import com.evolute.utils.jdo.jpox.*; + +public final class PrestadoresID extends IntegerID + implements Serializable +{ + public PrestadoresID() + { + } + + public PrestadoresID( String str ) + { + super( str ); + } +} diff --git a/trunk/siprp/medicina/prestadores/data/package.jdo b/trunk/siprp/medicina/prestadores/data/package.jdo new file mode 100644 index 00000000..4baa9034 --- /dev/null +++ b/trunk/siprp/medicina/prestadores/data/package.jdo @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +