code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
package fr.utt.millebornes.exception;
public class AbsenceCarteDefausseException extends Exception {
}
| Java |
package fr.utt.millebornes.exception;
public class AvancementImpossibleRalentissementException extends Exception {
}
| Java |
package fr.utt.millebornes.exception;
public class NonAttaqueException extends Exception {
}
| Java |
package fr.utt.millebornes.exception;
public class CibleIncorrecteException extends Exception {
}
| Java |
package fr.utt.millebornes.exception;
public class MauvaiseParadeException extends Exception {
}
| Java |
package fr.utt.millebornes.exception;
public class NombreJoueursExcessif extends Exception {
}
| Java |
package fr.utt.millebornes.exception;
public class DejaRalentiException extends Exception {
}
| Java |
package fr.utt.millebornes.exception;
public class ActionImpossibleException extends Exception {
}
| Java |
package fr.utt.millebornes.exception;
public class JoueurDebutantNonAttaquableException extends Exception {
}
| Java |
package fr.utt.millebornes.joueur;
public interface StrategieDeJeu {
public void choisirUneCarte(JoueurVirtuel j);
}
| Java |
package fr.utt.millebornes.joueur;
public class StrategiePassive implements StrategieDeJeu {
public void choisirUneCarte(JoueurVirtuel j) {
}
public String toString() {
return "passive";
}
}
| Java |
package fr.utt.millebornes.cartes;
public class Crevaison extends Attaque {
public Crevaison() {
super();
type = Carte.TYPE_CREVAISON;
}
public String toString() {
return "Carte crevaison";
}
}
| Java |
package fr.utt.millebornes.cartes;
public class PanneEssence extends Attaque {
public PanneEssence() {
type = Carte.TYPE_PANNE_ESSENCE;
}
public String toString() {
return "Carte Panne essence";
}
}
| Java |
package fr.utt.millebornes.cartes;
public abstract class CarteDefensive extends Carte {
protected int[] typeDeCarteContrees;
public boolean isCarteDefensive() {
return true;
}
public boolean peutContrer(Carte c) {
return peutContrer(c.getType());
}
public boolean peutContrer(int typeDeCart... | Java |
package fr.utt.millebornes.cartes;
public class FinCrevaison extends Parade {
public FinCrevaison() {
type = Carte.TYPE_FIN_CREVAISON;
this.typeDeCarteContrees = new int[1];
this.typeDeCarteContrees[0] = Carte.TYPE_CREVAISON;
}
public String toString() {
return "Carte FIN crevaison";
}
}
... | Java |
package fr.utt.millebornes.cartes;
public class BotteIncrevable extends Botte {
public BotteIncrevable() {
super();
type = Carte.TYPE_BOTTE_INCREVABLE;
this.typeDeCarteContrees = new int[1];
this.typeDeCarteContrees[0] = Carte.TYPE_CREVAISON;
}
public String toString() {
return "Carte Botte I... | Java |
package fr.utt.millebornes.cartes;
import fr.utt.millebornes.exception.AvancementImpossibleAttaqueException;
import fr.utt.millebornes.exception.AvancementImpossibleEtape200Exception;
import fr.utt.millebornes.exception.AvancementImpossibleFeuVertException;
import fr.utt.millebornes.exception.AvancementImpossibleKi... | Java |
package fr.utt.millebornes.cartes;
import fr.utt.millebornes.exception.AvancementImpossibleAttaqueException;
import fr.utt.millebornes.exception.AvancementImpossibleEtape200Exception;
import fr.utt.millebornes.exception.AvancementImpossibleFeuVertException;
import fr.utt.millebornes.exception.AvancementImpossibleKi... | Java |
package fr.utt.millebornes.cartes;
public class BottePrioritaire extends Botte {
public BottePrioritaire() {
super();
type = Carte.TYPE_BOTTE_PRIORITAIRE;
this.typeDeCarteContrees = new int[2];
this.typeDeCarteContrees[0] = Carte.TYPE_FEU_ROUGE;
this.typeDeCarteContrees[1] = Carte.TYPE_LIMITATION_... | Java |
package fr.utt.millebornes.cartes;
import fr.utt.millebornes.exception.AvancementImpossibleAttaqueException;
import fr.utt.millebornes.exception.AvancementImpossibleEtape200Exception;
import fr.utt.millebornes.exception.AvancementImpossibleFeuVertException;
import fr.utt.millebornes.exception.AvancementImpossibleKi... | Java |
package fr.utt.millebornes.cartes;
public class Etape50 extends Etape {
public Etape50() {
super(50);
type = Carte.TYPE_ETAPE_50;
}
public String toString() {
return "Carte Etape 50";
}
}
| Java |
package fr.utt.millebornes.cartes;
public class BotteAsDuVolant extends Botte {
public BotteAsDuVolant() {
super();
type = Carte.TYPE_BOTTE_AS_DU_VOLANT;
this.typeDeCarteContrees = new int[1];
this.typeDeCarteContrees[0] = Carte.TYPE_ACCIDENT;
}
public String toString() {
return "Carte Botte ... | Java |
package fr.utt.millebornes.cartes;
public class Etape25 extends Etape {
public Etape25() {
super(25);
type = Carte.TYPE_ETAPE_25;
}
public String toString() {
return "Carte Etape 25";
}
}
| Java |
package fr.utt.millebornes.cartes;
public class Accident extends Attaque {
public Accident() {
super();
type = Carte.TYPE_ACCIDENT;
}
public String toString() {
return "Carte accident";
}
}
| Java |
package fr.utt.millebornes.cartes;
import fr.utt.millebornes.exception.AvancementImpossibleAttaqueException;
import fr.utt.millebornes.exception.AvancementImpossibleEtape200Exception;
import fr.utt.millebornes.exception.AvancementImpossibleFeuVertException;
import fr.utt.millebornes.exception.AvancementImpossibleKi... | Java |
package fr.utt.millebornes.cartes;
import fr.utt.millebornes.exception.NonRalentiException;
import fr.utt.millebornes.joueur.Joueur;
public class FinLimitationVitesse extends Parade {
public FinLimitationVitesse() {
this.typeDeCarteContrees = new int[1];
this.typeDeCarteContrees[0] = Carte.TYPE_LIMITA... | Java |
package fr.utt.millebornes.cartes;
public class BotteCiterne extends Botte {
public BotteCiterne() {
super();
type = Carte.TYPE_BOTTE_CITERNE;
this.typeDeCarteContrees = new int[1];
this.typeDeCarteContrees[0] = Carte.TYPE_PANNE_ESSENCE;
}
public String toString() {
return "Carte Botte Cite... | Java |
package fr.utt.millebornes.cartes;
import fr.utt.millebornes.exception.AvancementImpossibleAttaqueException;
import fr.utt.millebornes.exception.AvancementImpossibleEtape200Exception;
import fr.utt.millebornes.exception.AvancementImpossibleFeuVertException;
import fr.utt.millebornes.exception.AvancementImpossibleKi... | Java |
package fr.utt.millebornes.cartes;
public class FeuRouge extends Attaque {
public FeuRouge() {
type = Carte.TYPE_FEU_ROUGE;
}
public String toString() {
return "Carte Feu Rouge";
}
}
| Java |
package fr.utt.millebornes.cartes;
public class FinPanneEssence extends Parade {
public FinPanneEssence() {
this.typeDeCarteContrees = new int[1];
this.typeDeCarteContrees[0] = Carte.TYPE_PANNE_ESSENCE;
type = TYPE_FIN_PANNE_ESSENCE;
}
public String toString() {
return "Carte FIN panne es... | Java |
package fr.utt.millebornes.cartes;
public class FinAccident extends Parade {
public FinAccident() {
type= Carte.TYPE_FIN_ACCIDENT;
this.typeDeCarteContrees = new int[1];
this.typeDeCarteContrees[0] = Carte.TYPE_ACCIDENT;
}
public String toString() {
return "Carte FIN accident";
}
}
| Java |
package fr.utt.millebornes.cartes;
import fr.utt.millebornes.exception.AvancementImpossibleAttaqueException;
import fr.utt.millebornes.exception.AvancementImpossibleEtape200Exception;
import fr.utt.millebornes.exception.AvancementImpossibleFeuVertException;
import fr.utt.millebornes.exception.AvancementImpossibleKi... | Java |
package fr.utt.millebornes.cartes;
import fr.utt.millebornes.exception.AvancementImpossibleAttaqueException;
import fr.utt.millebornes.exception.AvancementImpossibleEtape200Exception;
import fr.utt.millebornes.exception.AvancementImpossibleFeuVertException;
import fr.utt.millebornes.exception.AvancementImpossibleKi... | Java |
package fr.utt.millebornes.jeu;
import java.util.Scanner;
import fr.utt.millebornes.vue.VueConsole;
public class Test {
/**
* @param args
*/
public static void main(String[] args) {
Partie p = new Partie();
System.out.println("Charger un jeu de commande ? ");
String rep = new Scanner(Syste... | Java |
/*
* Copyright 2013 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 (C) 2013 The Android Open Source Project
*
* 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 app... | Java |
/*
* Copyright 2013 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 |
/*
* 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 |
/*
* 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... | 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 |
/** Automatically generated file. DO NOT MODIFY */
package com.google.android.gcm;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | 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... | 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 |
package com.anores.web.domain;
public class User {
private String username;
private User user;
public User(String username) {
this.username = username;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public User getU... | Java |
package com.anores.web.controller;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import javax.annotation.Resource;
import javax.persistence.EntityManager;
import org.slf4j.Logger;
import ... | Java |
package com.anores.config;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.WebApplicationInitializer;
import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.Annota... | Java |
package com.anores.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.Auth... | Java |
package com.anores.config;
import java.util.Properties;
import javax.annotation.Resource;
import javax.sql.DataSource;
import org.hibernate.ejb.HibernatePersistence;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.ann... | Java |
package com.anores.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@Configuration
@ImportResource("classpath:applicationContext.xml")
public class ApplicationContext {
}
| Java |
package com.anores.config;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.ReloadableResourceBundleM... | Java |
package com.anores.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import com.anores.core.services.UserEventHandler;
import com.anores.core.services.UserService;
@Configuration
@Compo... | Java |
package com.anores.events;
public class UpdateEvent {
}
| Java |
package com.anores.events.user;
import java.util.List;
import org.springframework.security.core.GrantedAuthority;
public class Role implements GrantedAuthority {
/**
*
*/
private static final long serialVersionUID = 1L;
private String name;
private List<Privilege> privileges;
public String getNam... | Java |
package com.anores.events.user;
import com.anores.events.RequestReadEvent;
public class FindUserByUsernameEvent extends RequestReadEvent {
private String username;
public FindUserByUsernameEvent(String username) {
this.username = username;
}
public String getUsername() {
return username;
}
}
| Java |
package com.anores.events.user;
import java.util.Collection;
import java.util.List;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
public class User implements UserDetails {
/**
*
*/
private static final long serialVersionUID = 1L... | Java |
package com.anores.events.user;
import com.anores.events.CreatedEvent;
public class CreatedUserEvent extends CreatedEvent {
}
| Java |
package com.anores.events.user;
import com.anores.events.ReadEvent;
public class UserEvent extends ReadEvent {
private User user;
public UserEvent(User user) {
this.user = user;
}
public User getUser() {
return user;
}
}
| Java |
package com.anores.events.user;
import com.anores.events.CreatedEvent;
public class CreateUserEvent extends CreatedEvent {
}
| Java |
package com.anores.events.user;
public class Privilege {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return this.getClass().getName()
+ " [name=" + name + "]";
}
}
| Java |
package com.anores.events;
public class UpdatedEvent {
}
| Java |
package com.anores.events;
public class RequestReadEvent {
}
| Java |
package com.anores.events;
public class CreatedEvent {
}
| Java |
package com.anores.events;
public class DeleteEvent {
}
| Java |
package com.anores.events;
public class CreateEvent {
}
| Java |
package com.anores.events;
public class ReadEvent {
protected boolean entityFound = true;
public boolean isEntityFound() {
return entityFound;
}
}
| Java |
package com.anores.events;
public class DeletedEvent {
}
| Java |
package com.anores.core.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.anores.events.user.FindUserByUsernameEvent;
import com.anores.events.user.UserEvent;
import com.an... | Java |
package com.anores.core.services;
import com.anores.events.user.FindUserByUsernameEvent;
import com.anores.events.user.UserEvent;
public interface UserService {
UserEvent loadUserByUsername(FindUserByUsernameEvent loadUserByUsernameEvent);
}
| Java |
package com.anores.core.domain;
public class Role {
}
| Java |
package com.anores.core.domain;
public class User {
}
| Java |
package com.anores.core.domain;
public class Privilege {
}
| Java |
package com.anores.persistence.services;
import com.anores.events.user.CreateUserEvent;
import com.anores.events.user.CreatedUserEvent;
import com.anores.events.user.FindUserByUsernameEvent;
import com.anores.events.user.UserEvent;
public interface UserPersistenceService {
UserEvent loadUserByUsername(FindUserByUser... | Java |
package com.anores.persistence.services;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.anores.events.user.CreateUserEvent;
import com.anores.events.user.CreatedUserEvent;
import com.anores.events.user.FindU... | Java |
package com.anores.persistence.domain;
import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.persistence.ManyToOne;
@Embeddable
public class UserRoleId implements Serializable {
/**
*
*/
private static final long serialVersionUID = -7589492895570441668L;
@ManyToOne
private User u... | Java |
package com.anores.persistence.domain;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import javax.persistence.Table;
@Entity
@Table(name = "role")
public class Role extends BaseEntityAudit {
@OneToMany(mappe... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.