code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
pub... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
pub... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
package org.concordiainternational.competition.ui;
public interface Bookmarkable {
/**
* @return
*/
public abstract String getFragment();
} | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui.generat... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui.generat... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui.generat... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui.generat... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui.generat... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui.generat... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui.generat... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright 2009-2012, Jean-François Lamy
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
package org.concordiainternational.competition.ui;
imp... | Java |
/*
* Copyright ©2009 Jean-François Lamy
*
* Licensed under the Open Software Licence, Version 3.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.opensource.org/licenses/osl-3.0.php
*
* Unless required by ... | Java |
package com.github.wolfie.blackboard;
public interface Event {
}
| Java |
package com.github.wolfie.blackboard;
public interface Listener {
}
| Java |
package com.github.wolfie.blackboard;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Concurre... | Java |
package com.github.wolfie.blackboard.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.github.wolfie.blackboard.Event;
import com.github.wolfie.blackboard.Listener;
/**
* <p>
* The ... | Java |
package com.github.wolfie.blackboard.exception;
import java.lang.reflect.Method;
import com.github.wolfie.blackboard.Listener;
public class DuplicateListenerMethodException extends RuntimeException {
private static final long serialVersionUID = 2699631613035288301L;
public DuplicateListenerMethodException(
... | Java |
package com.github.wolfie.blackboard.exception;
import com.github.wolfie.blackboard.Event;
public class EventNotRegisteredException extends RuntimeException {
private static final long serialVersionUID = 3715484742311180580L;
public EventNotRegisteredException(final Class<? extends Event> event) {
super(even... | Java |
package com.github.wolfie.blackboard.exception;
import java.lang.reflect.Method;
import com.github.wolfie.blackboard.Event;
import com.github.wolfie.blackboard.Listener;
public class IncompatibleListenerMethodException extends RuntimeException {
private static final long serialVersionUID = 4404069292505802332L;
... | Java |
package com.github.wolfie.blackboard.exception;
import com.github.wolfie.blackboard.Listener;
public class NoMatchingListenerRegistered extends RuntimeException {
private static final long serialVersionUID = -8143162070880780841L;
public NoMatchingListenerRegistered(final Class<? extends Listener> listener) {
... | Java |
package com.github.wolfie.blackboard.exception;
import com.github.wolfie.blackboard.Listener;
public class NoMatchingRegistrationFoundException extends RuntimeException {
private static final long serialVersionUID = 1639067602385701335L;
public NoMatchingRegistrationFoundException(
final Class<? extends ... | Java |
package com.github.wolfie.blackboard.exception;
import com.github.wolfie.blackboard.Listener;
import com.github.wolfie.blackboard.annotation.ListenerMethod;
public class NoListenerMethodFoundException extends RuntimeException {
private static final long serialVersionUID = 2145403658103285993L;
public NoListenerM... | Java |
package com.github.wolfie.blackboard.exception;
import com.github.wolfie.blackboard.Event;
import com.github.wolfie.blackboard.Listener;
public class DuplicateRegistrationException extends RuntimeException {
private static final long serialVersionUID = 1710988524955675742L;
public DuplicateRegistrationExceptio... | Java |
package com.github.wolfie.blackboard;
import java.io.PrintStream;
class Log {
private static boolean logging = false;
private static PrintStream logTo = System.out;
private Log() {
// not instantiable
}
static void logTo(final PrintStream printWriter) {
logTo = printWriter;
}
static voi... | Java |
package com.felight;
import java.awt.List;
import java.util.*;
public class benchmark {
public static void main(String[] args) {
ArrayList<String> arLst = new ArrayList<String>();
LinkedList<String> lnLst = new LinkedList<String>();
long start = System.currentTimeMillis();
... | Java |
package com.felight;
public class testthread {
public static void main(String[] Felight){
System.out.println("Before creating a Thread");
A objA = new A();
objA.start();
System.out.println("After creating a Thread");
}
}
| Java |
package com.felight;
public class Employee implements Comparable<Employee> {
int id;
private String name;
private String Address;
public int getId(){
return this.id;
}
public void setId(int id) {
this.id = id;
}
public String getAddress() {
return Address;
}
public ... | Java |
class test{
public static void main(String[] Felight){
employee A = new employee();
A.id=1;
A.name="asd";
A.address="werrr";
A.salary=100000000;
System.out.println("A.id:" +A.id);
System.out.println("A.name:" +A.name);
System.out.println("A.address:" +A.address);
System.out.println("A.salary:" +A.salary);
... | Java |
class Calculator1{
boolean bln;
byte b;
short s;
int i;
long l;
float f;
double d;
char c;
String str;
} | Java |
import java.io.*;
public class test{
public String[] readFile(File f) throws Exception{
//String line=null;
String[] str= new String[5];
FileReader fr=null;
BufferedReader br=null;
try{
fr= new FileReader(f);
br=new BufferedReader(fr);
if((br.readLine())!=null){
for(int i=0;i... | Java |
package com.felight;
public class test {
private static int[] array;
public static void main(String[] Felight){
calculator c1=new calculator();
int[] arr=c1.generateFibonacci(6);
for(int i=0;i<arr.length;i++)
{
System.out.println(arr[i]);
}
int res=c1.ADD(10,20)... | Java |
package com.felight;
import java.util.ArrayList;
import java.util.List;
public class collection {
public static void main(String[] Felight){
List<String> listOfStrings = new ArrayList<String>();
String str = "Hello";
listOfStrings.add(str);
listOfStrings.add("felight");
listOfStrings.add(str+str);
Sys... | Java |
package com.felight;
public class C extends Thread{
public void run(){
System.out.println("Class C Thread running with the Thread Name:"
+Thread.currentThread().getName());
}
}
class D implements Runnable{
public void run(){
System.out.println("Class D Thread runb... | Java |
package com.felight;
public class calculator {
public static int[] randomInt(int d)
{
int[] a = new int[d];
for(int i = 0; i<d; i++)
a[i]=(int) (Math.random()*100);
return a;
}
public static double[] randomDouble(int num)
{
double[] a = new double[... | Java |
package com.felight;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Queue;
public class queue {
public static void main(String[] Felight){
Queue<String> queue = new LinkedList<String>();
queue.add("iphone 3GS");
queue.add("iphone 4");
queue.add("iphone 4S");
queue.... | Java |
package com.felight;
public class A extends Thread{
public void run(){
this.doSomething();
}
public void doSomething(){
System.out.println("Thread A is running");
}
} | Java |
package com.felight;
import java.util.Comparator;
public class AddressSort implements Comparator<Employee> {
public int compare(Employee obj1,Employee obj2){
return obj1.getAddress().compareTo(obj2.getAddress());
}
}
| Java |
package com.felight;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class emplist {
public static void main(String[] Felight){
ArrayList<Employee> empList = new ArrayList<Employee>();
empList.add(new Employee(10, "aaa"));
empList.add(new Employee(11, "ab... | Java |
package com.felight;
public class thread {
public static void main(String[] Felight){
C cThread1 = new C();
cThread1.setName("good");
C cThread2 = new C();
cThread2.setName("bad");
C cThread3 = new C();
cThread3.setName("ugly");
D dThread1 = new D();
Thread t1 = new Thread(dThread1);
t1.set... | Java |
package com.felight;
import java.util.ArrayList;
public class Collections {
public static void main(String[] Felight){
ArrayList<Employee> empList = new ArrayList<Employee>();
empList.add(new Employee(10,"Jack Sparrow"));
empList.add(new Employee(11,"Boramir"));
empList.add(new Employee(12,"Frod... | Java |
class employee{
int id;
String name;
String address;
double salary;
}
| Java |
package com.felight;
import java.util.ArrayList;
public class comparator {
public static void main(String[] Feliight){
ArrayList<Employee> empList = new ArrayList<Employee>();
empList.add(new Employee(10, "Jack Sparrow", "pirates of the caribbean"));
empList.add(new Employee(11, "Boramir", "LOTR"));
... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.model;
import java.util.List;
public class TworzenieAnkietyModel {
private Integer idNauczyciela;
private Integer idZajec;
private String tytul;
private List<String> pytania;
private String grupaAnkietowanych;
publi... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.model;
import java.util.List;
import pl.wroc.pwr.ankieta.ankietaService.entity.Ankietowany;
import pl.wroc.pwr.ankieta.ankietaService.entity.Nauczyciel;
import pl.wroc.pwr.ankieta.ankietaService.entity.Pytanie;
import pl.wroc.pwr.ankieta.ankietaService.entity.Szablon;
... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.model;
import java.util.ArrayList;
import java.util.List;
public class WypelnianieAnkietyModel {
private List<String> odpowiedzi;
private Integer ankietaId;
public WypelnianieAnkietyModel() {
odpowiedzi = new ArrayList<String>();
ankietaId = -1;
... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springfram... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class LoginController {
@RequestMapping("/login")
public String login() {
return "login";
}
}
... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class IndexController {
@RequestMapping("/index")
public String index() {
return "index";
}
}
| Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.security.Principal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.Pytanie;
import pl.wroc.pwr.ankieta.ankietaService.entity.Szablon;
import pl... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.Szablon;
import pl.wroc.pwr.ankieta.ankietaService.repository.SzablonReposito... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.Audytor;
import pl.wroc.pwr.ankieta.ankietaService.repository.AudytorRepository;
@Service
public cl... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.util.List;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.Pytanie;
import pl.wroc.pwr.ankieta.ankietaService.entity.Szablon;
import pl.wroc.pwr.ankieta.ankietaService.repository.PytanieRepository;
... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.WariantOdpowiedzi;
import pl.wroc.pwr.ankieta.ankietaService.repository.WariantOdpowiedziRepository;
... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaServic... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.Ankietowany;
import pl.wroc.pwr.ankieta.ankietaService.entity.Zajecia;
impor... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.Otwarte;
import pl.wroc.pwr.ankieta.ankietaService.repository.OtwarteRepository;
@Service
public cl... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.util.List;
import javax.persistence.PersistenceContext;
import javax.persistence.PersistenceContextType;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.co... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.Nauczyciel;
import pl.wroc.pwr.ankieta.ankietaService.repository.NauczycielRe... | Java |
package pl.wroc.pwr.ankieta.ankietyzacja.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.wroc.pwr.ankieta.ankietaService.entity.Nauczyciel;
import pl.wroc.pwr.ankieta.ankietaService.entity.Zajecia;
import... | Java |
package pl.wroc.pwr.agile.analizaWynikow;
public abstract class AnalizatorWynikow {
public abstract void analizuj();
}
| Java |
package pl.wroc.pwr.ankieta.ankietaService.annotation;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.Payl... | Java |
package pl.wroc.pwr.ankieta.ankietaService.annotation;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.springframework.beans.factory.annotation.Autowired;
import pl.wroc.pwr.ankieta.ankietaService.repository.UzytkownikRepository;
public class Uniq... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.WariantOdpowiedzi;
@Repository
public interface WariantOdpowiedziRepository extends JpaReposito... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Audytor;
import pl.wroc.pwr.ankieta.ankietaService.entity.Nauczyciel;
@Repository
public int... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Kurs;
@Repository
public interface KursRepository extends JpaRepository<Kurs, Integer> {
... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Nauczyciel;
imp... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Zamkniete;
@Repository
public interface ZamknieteRepository extends JpaRepository<Zamkniete, In... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Pytanie;
@Repository
public interface PytanieRepository extends JpaRepository<Pytanie, Integer>... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Ankieta;
@Repository
public interface AnkietaRepository extends JpaRepository<Ankieta, Intege... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Uzytkownik;
@Repository
public interface UzytkownikRepository extends JpaRepository<Uzytkownik,... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Otwarte;
@Repository
public interface OtwarteRepository extends JpaRepository<Otwarte, Integer>... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Szablon;
@Repository
public interface SzablonRepository extends JpaRe... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.AnkietaAnkietowanego;
@Repository
public interface AnkietaAnkietowanegoRepository extends Jpa... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Nauczyciel;
@Re... | Java |
package pl.wroc.pwr.ankieta.ankietaService.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import pl.wroc.pwr.ankieta.ankietaService.entity.Ankietowany;
im... | Java |
package pl.wroc.pwr.ankieta.ankietaService.entity;
public class KierownikJednostki extends Uzytkownik {
Nauczyciel podwladny;
} | Java |
package pl.wroc.pwr.ankieta.ankietaService.entity;
import java.util.*;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistenc... | Java |
package pl.wroc.pwr.ankieta.ankietaService.entity;
public enum DzienTygodnia {
Poniedzialek("pn"),
Wtorek("wt"),
Sroda("sr"),
Czwartek("cz"),
Piatek("pt"),
Sobota("sb"),
Niedziela("nd");
String skrot;
private DzienTygodnia(String skrot) {
this.skrot = skrot;
}
public ... | Java |
package pl.wroc.pwr.ankieta.ankietaService.entity;
import java.util.*;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistenc... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.