code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Java |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
* A Counter class that allows you to display a numerical value on screen.
*
* The Counter is an actor, so you will need to create it, and then add it to
* the world in Greenfoot. If you keep a reference to ... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Tablet here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Tablet extends Bonus
{
public Tablet()
{
}
public void act()
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Enemie here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Enemy extends Actor
{
/**
* Act - do whatever the Enemie wants to do. This method is... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Plattaform2 here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Plattaform3 extends Actor
{
/**
* Act - do whatever the Plattaform2 wants to do... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Letrero here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Advice extends Actor
{
private String unMensaje;//variable en donde se guardara un mensaj... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class HelpButton here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class HelpButton extends Button
{
/**
* Act - do whatever the HelpButton wants to do. ... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
import java.util.List;
/**
* An actor class that can display a scoreboard, using Greenfoot's
* UserInfo class.
*
* You typically use this by including some code into the world for when your game ends:
*
* <... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Ipod here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Ipod extends Bonus
{
public Ipod()
{
}
public void act()
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Cat here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Predator extends Enemy
{
/**
* Act - do whatever the Cat wants to do. This method is ca... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class CreditsButton here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class CreditsButton extends Button
{
/**
* Act - do whatever the CreditsButton want... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Plattaform3 here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Plattaform7 extends Actor
{
/**
* Act - do whatever the Plattaform3 wants to do... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Crea un objeto snowball y actua segun la direccion;
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class SnowBall extends Actor
{
private String shootDirection;
/**
* C... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class ScoreButton here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class ScoreButton extends Button
{
/**
* Act - do whatever the ScoreButton wants to d... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Button here.
*
* @author (your name)
* @version (a version number or a date)
*/
public abstract class Button extends Actor
{
/**
* Act - do whatever the Button wants to do. This... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Este bloque se utiliza para construir plataformas,y ser un borde de una de ellas,para evitar el paso del jugador;
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class BlockLeft extends Actor
... | Java |
import greenfoot.*;
/**
* Write a description of class RecordUser here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Record
{
private Advice nombre;
private Advice puntos;
public Record(String name, int score)
{
nombre=new Advice(name);
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class PlayButton here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class PlayButton extends Button
{
/**
* Act - do whatever the PlayButton wants to do. ... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Bonus here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Bonus extends Actor
{
public Bonus()
{
}
public void act()
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Alien here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-14
*/
public class Finn extends Enemy
{
/**
* Act - do whatever the Alien wants to do. This method is call... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Plattaform3 here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Plattaform1 extends Actor
{
/**
* Act - do whatever the Plattaform3 wants to do... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class BlockBottom here.
*
* @author Diego Alfonso Ambriz Martinez
* @version (a version number or a date)
*/
public class BlockRight extends Actor
{
/**
* Act - do whatever the BlockB... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Plattaform3 here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Plattaform6 extends Actor
{
/**
* Act - do whatever the Plattaform3 wants to do... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Plattaform5 here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Plattaform5 extends Actor
{
/**
* Act - do whatever the Plattaform5 wants to do... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Usb here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Usb extends Bonus
{
public Usb()
{
}
public void act()
{
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Player here.
* Esta es la clase principal,el jugador puede moverse a la izquierda o a la derecha o saltar segun la tecla oprimida
* Eljugador tiene 3 vidas en el juego,si es tocado por un objeto d... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Este objeto solo se agrega al mundo como una imagen para el contador de vidas del jugador.
*
* @author Diego Alfonso Ambriz Martinez
* @version 27-11-2014
*/
public class CounterLifes extends Actor
{
/**
... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class BlockTop here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class BlockTop extends Actor
{
/**
* Act - do whatever the BlockTop wants to do. This me... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.List;
/**
* @author Diego Alfonso Ambriz Martinez
* @version 27-11-2014
*/
/**
* Clase del escenario
*/
public class SnowCompsWorld extends World
{
/**
* Declaracion de variables de instancia... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Plattaform1 here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Plattaform4 extends Actor
{
/**
* Act - do whatever the Plattaform1 wants... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Block here.
*
* @author Diego Alfonso Ambriz Martinez
* @version (a version number or a date)
*/
public class Block extends Actor
{
/**
* Act - do whatever the Block wants to do... | Java |
/**
* A simple timer class that allows you to keep track of how much time
* has passed between events.
*
* You use this class by creating a timer as a member field in your actor (or whatever):
* <pre>
*
* private SimpleTimer timer = new SimpleTimer();
* </pre>
*
* Then when you want to start the timer (for... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class BlockBottom here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class BlockBottom extends Actor
{
/**
* Act - do whatever the BlockBottom wants to do... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class GoBackButton here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class GoBackButton extends Button
{
/**
* Act - do whatever the GoBackButton wants t... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Ghost here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Ghost extends Enemy
{
/**
* Act - do whatever the Ghost wants to do. This method is c... | Java |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Plattaform1 here.
*
* @author Diego Alfonso Ambriz Martinez
* @version 20-11-2014
*/
public class Plattaform2 extends Actor
{
/**
* Act - do whatever the Plattaform1 wants to do... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frmretest.java
*
* Created on 19/02/2011, 12:33:02 AM
*/
package interfaz1;
import java.awt.Frame;
import java.awt.Menu;
import javax.swing.JOptionPane;
/**
*
* @author CLIENTE
*/
public class Frmretest ex... | Java |
package interfaz1;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Validar {
public static String dato()
{
String sdato="";
try
{
InputStreamReader isr = new InputStreamReader (System.in);
BufferedReader flujo =new BufferedReader (isr);
sdato=flujo... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FrmOperacionesseccion.java
*
* Created on 18/02/2011, 10:28:57 PM
*/
package interfaz1;
import java.awt.Frame;
import javax.swing.JOptionPane;
/**
*
* @author CLIENTE
*/
public class FrmOperacionesseccion ... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frmnotaf.java
*
* Created on 19/02/2011, 01:30:52 AM
*/
package interfaz1;
import java.util.Collections;
import java.util.LinkedList;
import java.util.ListIterator;
/**
*
* @author CLIENTE
*/
public class ... | Java |
package interfaz1;
import java.util.Comparator;
import java.lang.Float;
public class ComparadorNotaF implements Comparator<Estudiante>
{
public int compare(Estudiante a, Estudiante b)
{
if(a.getNotaf() < b.getNotaf())
return -1;
else if (a.getNotaf()> b.getNotaf())
return 1;
else
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FrmAprob.java
*
* Created on 19/02/2011, 01:39:46 AM
*/
package interfaz1;
import java.util.ConcurrentModificationException;
import java.util.ListIterator;
/**
*
* @author CLIENTE
*/
public class FrmAprob ... | Java |
package interfaz1;
import java.util.Comparator;
//public String Seccion;
public class ComparadorCedula implements Comparator<Estudiante>
{
public int compare(Estudiante a, Estudiante b)
{
return a.getCedula().compareTo(b.getCedula());
}
}
| Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package interfaz1;
//import Validar;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frmconsprof.java
*
* Created on 18/02/2011, 11:37:33 PM
*/
package interfaz1;
import java.awt.Frame;
import javax.swing.JOptionPane;
/**
*
* @author CLIENTE
*/
public class Frmconsprof extends javax.swing.... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frmconsest.java
*
* Created on 19/02/2011, 12:26:13 AM
*/
package interfaz1;
import java.awt.Frame;
import javax.swing.JOptionPane;
/**
*
* @author CLIENTE
*/
public class Frmconsest extends javax.swing.JF... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FrmPromSec.java
*
* Created on 19/02/2011, 01:08:41 AM
*/
package interfaz1;
/**
*
* @author CLIENTE
*/
public class FrmPromSec extends javax.swing.JFrame {
/** Creates new form FrmPromSec */
publ... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FrmOrdCI.java
*
* Created on 19/02/2011, 01:16:03 AM
*/
package interfaz1;
import java.util.Collections;
import java.util.LinkedList;
import java.util.ListIterator;
/**
*
* @author CLIENTE
*/
public class ... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frmseccion.java
*
* Created on 18/02/2011, 10:14:53 PM
*/
package interfaz1;
/**
*
* @author CLIENTE
*/
public class Frmseccion extends javax.swing.JFrame {
/** Creates new form Frmseccion */
publ... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FrmPrincipal.java
*
* Created on 18/02/2011, 07:59:07 PM
*/
package interfaz1;
/**
*
* @author CLIENTE
*/
public class FrmPrincipal extends javax.swing.JFrame {
/** Creates new form FrmPrincipal... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frmelimprof.java
*
* Created on 18/02/2011, 11:49:59 PM
*/
package interfaz1;
import java.awt.Frame;
import javax.swing.JOptionPane;
/**
*
* @author CLIENTE
*/
public class Frmelimprof extends javax.swing.... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FrmAplicarEval.java
*
* Created on 19/02/2011, 12:41:51 AM
*/
package interfaz1;
import java.awt.Frame;
import javax.swing.JOptionPane;
/**
*
* @author CLIENTE
*/
public class FrmAplicarEval extends javax.... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frminscest.java
*
* Created on 19/02/2011, 12:18:41 AM
*/
package interfaz1;
import java.awt.Frame;
import javax.swing.JOptionPane;
/**
*
* @author CLIENTE
*/
public class Frminscest extends javax.swing.JF... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FrmAplaz.java
*
* Created on 19/02/2011, 01:44:54 AM
*/
package interfaz1;
import java.util.ConcurrentModificationException;
import java.util.ListIterator;
/**
*
* @author CLIENTE
*/
public class FrmAplaz ... | Java |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Frmasigprofesor.java
*
* Created on 18/02/2011, 10:45:24 PM
*/
package interfaz1;
import java.awt.Frame;
import javax.swing.JOptionPane;
/**
*
* @author CLIENTE
*/
public class Frmasigprofesor extends jav... | Java |
package interfaz1;
import java.io.*;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.util.*;
public class Seccion<lis_est> {
// Atributos
private int n_seccion;
private Estudiante estud_ins;
private Profesor prof_asig;
private boolean presentad... | Java |
package constraint;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.Payload;
@Constraint(validatedBy = EmailConstraintValidator.class)
@Target({... | Java |
package constraint;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
/**
* Quick simple check to validate the email address, just for the demo.
* Not very correct.
*
* @author mark
*
*/
public class EmailConstraintValidator implements ConstraintValidator<Email, S... | Java |
package ejb;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import entities.User;
@Stateless
public class UserDAO {
@PersistenceContext(unitName = "first_test")
private EntityManager entityManager;
public void save(User u... | Java |
package backing;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import ejb.UserDAO;
import entities.User;
@RequestScoped
@ManagedBean
public class Index {
private List<User> users;
@EJB
private Us... | Java |
package backing;
import static util.Messages.addFlashMessage;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import ejb.UserDAO;
import entities.User;
@ViewScoped
@ManagedBean
public class UserEdit {
private User user;
@EJB
private UserDAO userDAO;
public vo... | Java |
package backing;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import ejb.UserDAO;
import entities.User;
@ViewScoped
@ManagedBean
public class UserDelete {
private User user;
@EJB
private UserDAO userDAO;
public String delete() {
userDAO.delete(user);
re... | Java |
package entities;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.Size;
import constraint.Email;
@Entity
public class User {
private Integer id;
@Size(min = 2... | Java |
package entities;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import ejb.UserDAO;
@ManagedBean
public class UserConvertor implements Converter {
@EJB
private UserDAO users;
@O... | Java |
package util;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.context.Flash;
public class Messages {
public static void addFlashMessage(String message) {
Flash flash = FacesContext.getCurrentInstance().getExternalContext().getFlash();
flash.setKeepMessage... | Java |
package com.j1630eshop.core.db.entity;
import javax.persistence.*;
import java.util.Set;
/**
* Created by IntelliJ IDEA.
* User: Lij
* Date: 10-12-24
* Time: 下午1:57
* To change this template use File | Settings | File Templates.
*/
@Entity
public class Resource extends BaseEntity {
public stati... | Java |
package com.j1630eshop.core.db.entity;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import javax.persistence.*;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Set;
/**
* Created b... | Java |
package com.j1630eshop.core.db.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToMany;
import java.util.Set;
/**
* Created by IntelliJ IDEA.
* User: Lij
* Date: 10-12-24
* Time: 下午1:57
* To change this templat... | Java |
package com.j1630eshop.core.db.entity;
import org.compass.annotations.SearchableId;
import org.compass.annotations.SearchableProperty;
import org.compass.annotations.Store;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
/*... | Java |
package com.j1630eshop.core.db.dao.impl;
import com.j1630eshop.core.db.dao.BaseDao;
import com.j1630eshop.util.bean.Pager;
import org.apache.commons.lang.StringUtils;
import org.hibernate.Criteria;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.*;
import org.springframework.orm.hibernate3.... | Java |
package com.j1630eshop.core.db.dao;
import com.j1630eshop.util.bean.Pager;
import org.hibernate.criterion.DetachedCriteria;
import java.io.Serializable;
import java.util.List;
/**
* Created by IntelliJ IDEA.
* User: Lij
* Date: 10-12-24
* Time: 下午2:04
* To change this template use File | Settings |... | Java |
package com.j1630eshop.util.bean;
import java.util.List;
/**
* Created by IntelliJ IDEA.
* User: Lij
* Date: 10-12-24
* Time: 下午2:21
* To change this template use File | Settings | File Templates.
*/
public class Pager {
// 排序方式
public enum OrderType{
asc, desc
}
public static final In... | Java |
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** ... | Java |
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
... | Java |
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
**... | Java |
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
**... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Delivery Center Java
** Author: rene
** Copyright: (c) Jul 9, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederland B.V. ... | Java |
/*------------------------------------------------------------------------------
** Ident: Delivery Center Java
** Author: rene
** Copyright: (c) Jul 9, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederland B.V. ... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
/*------------------------------------------------------------------------------
** Ident: Delivery Center Java
** Author: rene
** Copyright: (c) Jul 9, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederland B.V. ... | Java |
/*------------------------------------------------------------------------------
** Ident: Sogeti Smart Mobile Solutions
** Author: rene
** Copyright: (c) Apr 24, 2011 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** Sogeti Nederl... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.