code
stringlengths
3
1.18M
language
stringclasses
1 value
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoSustancia { POLICONSUMO, TABACO, ALCOHOL, TRANQUILIZANTE, ESTIMULANTE, SOLVENTES_E_INHALANTES, MARIHUANA, COCAINA, PASTA_BASE, HEROINA, EXTASIS, OTRAS; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoCompleto { COMPLETO, INCOMPLETO; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoPersona { ADULTO, NINIO, INSTITUCION; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; impor...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoZona { NO, NE, SO, SE; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.text.SimpleDateFormat; import javax.persistence.Entity; /** * * @author NiCo */ @Entity public class IntervencionAdiccion extends Intervencion implements Serializ...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoSexo { MASCULINO, FEMENINO; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.OneToMany; import org.hibernate.annotations.LazyCollection; import org.hibernate.annotations.Lazy...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoEstadoCivil { SOLTERO, CASADO, SEPARADO, DIVORCIADO, VIUDO, CONCUBINATO; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoDemanda { INTERVENCION, ASESORAMIENTO; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.OneToMany; /** * * @author NiCo */ @Entity public class A...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoComposicionFamiliar { SEPARADO, CASADO_CONCUBINATO, FAMILIA_DE_ORIGEN, HIJOS, ENSAMBLADO, SUSTITUTO, NUCLEAR, PADRE_UNICO; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoOrientacion { ASESORADO_EN_LLAMADO, EQUIPO_102, DERIVADO; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoAsesoria { ESCUELA, CENTRO_DE_SALUD, HOSPITAL; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.OneToMany...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoSituacionLaboral { DESOCUPADO, TRABAJO_PRECARIO, BENEFICIARIO, OCUPADO; }
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Inheritan...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; import javax.persistence.OneToOne; /** * * @aut...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * * @author NiCo */ @Entit...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; /** * * @author NiCo */ public enum TipoMotivo { AYUDA_DIRECTA, LEGAL, PSICOLOGICA, VIOLENCIA, MALTRATO, ABANDONO, ABUSO_SEXUAL, TESTIGO_VIOLENCIA, CONDUCTAS_ADICTIVAS, PROBLEMAS_CONDUCTA, DESERCION_...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package io; import java.io.Serializable; import java.text.SimpleDateFormat; import javax.persistence.Entity; import javax.persistence.ManyToOne; import javax.persistence.OneToOne; /** * * @author NiCo */ @Entity pub...
Java
package utilidades; import java.awt.Image; import javax.swing.JFrame; public class JFrameConFondo extends JFrame { private final JPanelConFondo contenedor = new JPanelConFondo(); public JFrameConFondo() { setContentPane(contenedor); setUndecorated(true); JMoverFrame mueve1 = new JMov...
Java
package utilidades; import java.awt.Container; import java.awt.Point; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import javax.swing.JComponent; import javax.swing.JFrame; public class JMoverFrame implements MouseMotionListener, MouseListener{ JCo...
Java
package utilidades; import java.awt.Graphics; import java.awt.Image; import javax.swing.ImageIcon; import javax.swing.JPanel; public class JPanelConFondo extends JPanel { private Image imagen; public JPanelConFondo() { } public JPanelConFondo(String nombreImagen) { if (nombreImagen != null)...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package utilidades; import com.nilo.plaf.nimrod.NimRODLookAndFeel; import com.sun.awt.AWTUtilities; import gui.Login; import java.awt.FlowLayout; import java.awt.Image; import java.awt.Shape; import java.awt.geom.RoundR...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package utilidades; import io.Operador; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; /** * * @author NiCo */ public class DatosDePrueba...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Llamado; import java.awt.Image; import ja...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * MensajesInfo.java * * Created on 11-ene-2013, 1:22:11 */ package gui; import controladores.ControladorPrincipal; import javax.swing.ImageIcon; import utilidades.JFrameConFondo; /** * * @author NiCo */ publ...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevaIntervencion.java * * Created on 22-ene-2013, 11:16:57 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Adulto; import io.Asesoria; import io.Calle; im...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevaActualizacion.java * * Created on 11-ene-2013, 20:02:22 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Actualizacion; import io.Caso; import io.Infor...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevaIntervencion.java * * Created on 22-ene-2013, 11:16:57 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Adulto; import io.Asesoria; import io.Calle; im...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * AcercaDe.java * * Created on 30-dic-2012, 5:53:58 */ package gui; import javax.swing.ImageIcon; import utilidades.JFrameConFondo; /** * * @author NiCo */ public class AcercaDe extends JFrameConFondo { ...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoLlamado.java * * Created on 19-ene-2013, 12:58:01 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Actualizacion; import io.Caso; import io.Llamado; im...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoLlamado.java * * Created on 19-ene-2013, 12:58:01 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Llamado; import io.Operador; import java.awt.Image; ...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ListaActualizaciones.java * * Created on 17-ene-2013, 17:55:58 */ package gui; import com.sun.awt.AWTUtilities; import io.Actualizacion; import io.Caso; import io.Seguimiento; import java.awt.Image; import jav...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * MensajesInfo.java * * Created on 11-ene-2013, 1:22:11 */ package gui; import controladores.ControladorPrincipal; import javax.swing.ImageIcon; import utilidades.JFrameConFondo; /** * * @author NiCo */ publ...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoCaso.java * * Created on 09-ene-2013, 16:12:32 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Calle; import io.Caso; import io.Direccion; import io.I...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoSeguimiento.java * * Created on 21-ene-2013, 15:36:28 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Caso; import io.Seguimiento; import java.awt.Fon...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ListaActualizaciones.java * * Created on 17-ene-2013, 17:55:58 */ package gui; import com.sun.awt.AWTUtilities; import io.Caso; import io.Intervencion; import io.IntervencionAdiccion; import io.IntervencionCom...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevaActualizacion.java * * Created on 11-ene-2013, 20:02:22 */ package gui; import controladores.ControladorPrincipal; import io.Actualizacion; import io.Caso; import io.Informante; import io.TipoMotivo; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Llamado; import java.awt.Image; import ja...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * BuscarCaso.java * * Created on 09-ene-2013, 16:12:43 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Calle; import io.Caso; import io.Operador; import io.T...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * BuscarInformante.java * * Created on 13-ene-2013, 16:11:54 */ package gui; import controladores.ControladorPrincipal; import io.Informante; import io.Nino_Adolescente; import java.util.Iterator; import javax.s...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoLlamado.java * * Created on 19-ene-2013, 12:58:01 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Llamado; import java.awt.Image; import java.awt.Shap...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoSeguimiento.java * * Created on 21-ene-2013, 15:36:28 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Caso; import io.Seguimiento; import java.awt.Fon...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import java.awt.Image; import java.awt.Shape; impor...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Llamado; import java.awt.Image; import ja...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui.reportes; import controladores.ControladorPrincipal; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui.reportes; import controladores.ControladorPrincipal; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui.reportes; import controladores.ControladorPrincipal; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui.reportes; import controladores.ControladorPrincipal; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui.reportes; import controladores.ControladorPrincipal; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui.reportes; import controladores.ControladorPrincipal; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui.reportes; import controladores.ControladorPrincipal; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoCaso.java * * Created on 09-ene-2013, 16:12:32 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Calle; import io.Caso; import io.Direccion; import io.I...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Llamado; import java.awt.Image; import ja...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Principal.java * * Created on 28-dic-2012, 20:38:35 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import java.awt.Desktop; import java.awt.Image; import java.awt.S...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import java.awt.Image; import java.awt.Shape; impor...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Login.java * * Created on 08-ene-2013, 23:52:32 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Usuario; import java.awt.Image; import java.awt.Shape; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * BuscarInformante.java * * Created on 13-ene-2013, 16:11:54 */ package gui; import controladores.ControladorPrincipal; import io.Informante; import java.util.Iterator; import java.util.List; import javax.swing....
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoSeguimiento.java * * Created on 21-ene-2013, 15:36:28 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Caso; import io.Seguimiento; import java.awt.Fon...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ChequearDatos.java * * Created on 10-ene-2013, 18:51:41 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import java.awt.Image; import java.awt.Shape; import java.awt...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Llamado; import io.Nino_Adolescente; impo...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevaIntervencion.java * * Created on 22-ene-2013, 11:16:57 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Adulto; import io.Hijo; import io.Intervencion;...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ModificarDatosPersonales.java * * Created on 18-ene-2013, 0:58:16 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Calle; import io.Direccion; import io.Inf...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoSeguimiento.java * * Created on 21-ene-2013, 15:36:28 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Caso; import io.Seguimiento; import java.awt.Fon...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevaIntervencion.java * * Created on 22-ene-2013, 11:16:57 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Adulto; import io.Hijo; import io.Intervencion;...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevaActualizacion.java * * Created on 11-ene-2013, 20:02:22 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Actualizacion; import io.Caso; import io.Infor...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NuevoCaso.java * * Created on 09-ene-2013, 16:12:32 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Actualizacion; import io.Caso; import io.Informante; im...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ImprimirPlanillaLlamado.java * * Created on 21-ene-2013, 15:08:52 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Llamado; import java.awt.Image; import ja...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ListaActualizaciones.java * * Created on 17-ene-2013, 17:55:58 */ package gui; import com.sun.awt.AWTUtilities; import io.Actualizacion; import io.Caso; import java.awt.Image; import java.awt.Shape; import jav...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * VerificarMasDeUnNinio.java * * Created on 14-ene-2013, 17:04:19 */ package gui; import com.sun.awt.AWTUtilities; import controladores.ControladorPrincipal; import io.Nino_Adolescente; import java.awt.Image; im...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controladores; import io.Adulto; import io.Calle; import io.Direccion; import io.Informante; import io.Nino_Adolescente; import io.Operador; import java.util.List; /** * * @author NiCo */ public class Contro...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controladores; import io.Caso; import io.Intervencion; import io.IntervencionAdiccion; import io.IntervencionComun; import io.TipoLlamado; import io.TipoMotivo; import java.util.ArrayList; import java.util.Date;...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controladores; import io.Actualizacion; import io.Asesoria; import io.Calle; import io.Caso; import io.Comisaria; import io.Copnaf; import io.Direccion; import io.InformacionAsesoria; import io.InformacionCopnaf...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controladores; import io.Usuario; import java.util.List; /** * * @author NiCo */ public class ControladorUsuarios { public boolean login(String nombre, String contrasenia) { Usuario usu = null; ...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controladores; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persist...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare; import com.joelapenna.foursquare.error.FoursquareCredentialsException; import com.joelapenna.foursquare.error.FoursquareError; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.error.FoursquareParseExce...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.http; import com.joelapenna.foursquare.error.FoursquareCredentialsException; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.error.FoursquareParseException; import com.joelapenna.foursquare.parsers.jso...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.http; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.error.FoursquareCredentialsException; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.error.FoursquareParseException;...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.http; import com.joelapenna.foursquare.error.FoursquareCredentialsException; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.error.FoursquareParseException; import com.joelapenna.foursquare.parsers.jso...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.http; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.error.FoursquareCredentialsException; import com.joelapenna.foursquare.error.FoursquareError; import com.joelapenna.foursquare.error.FoursquareException; import c...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.error; /** * @author Joe LaPenna (joe@joelapenna.com) */ public class FoursquareError extends FoursquareException { private static final long serialVersionUID = 1L; public FoursquareError(String message) { super(message); }...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.error; /** * @author Joe LaPenna (joe@joelapenna.com) */ public class FoursquareParseException extends FoursquareException { private static final long serialVersionUID = 1L; public FoursquareParseException(String message) { sup...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.error; /** * @author Joe LaPenna (joe@joelapenna.com) */ public class FoursquareException extends Exception { private static final long serialVersionUID = 1L; private String mExtra; public FoursquareException(String message) {...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.error; /** * @author Joe LaPenna (joe@joelapenna.com) */ public class FoursquareCredentialsException extends FoursquareException { private static final long serialVersionUID = 1L; public FoursquareCredentialsException(String message) {...
Java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare; import com.joelapenna.foursquare.error.FoursquareCredentialsException; import com.joelapenna.foursquare.error.FoursquareError; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.error.FoursquareParseExce...
Java
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquare.parsers.json; import com.joelapenna.foursquare.types.Emails; import com.joelapenna.foursquare.types.FriendInvitesResult; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; /** * @date July 13, 2010 * @...
Java
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquare.parsers.json; import com.joelapenna.foursquare.types.Tags; import com.joelapenna.foursquare.types.Venue; import org.json.JSONException; import org.json.JSONObject; /** * @date July 13, 2010 * @author Mark Wyszomierski (markww@gmail.com)...
Java