Reset author name to chosen name ✨
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>edu.slcc.asdv.caleb</groupId>
|
||||
<groupId>edu.slcc.asdv.chloe</groupId>
|
||||
<artifactId>DAO</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
@@ -9,6 +9,6 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>20</maven.compiler.source>
|
||||
<maven.compiler.target>20</maven.compiler.target>
|
||||
<exec.mainClass>edu.slcc.asdv.caleb.dao.DAO</exec.mainClass>
|
||||
<exec.mainClass>edu.slcc.asdv.chloe.dao.DAO</exec.mainClass>
|
||||
</properties>
|
||||
</project>
|
||||
@@ -8,7 +8,7 @@ import java.util.Collection;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public interface DAO<T> {
|
||||
public void create(T t);
|
||||
|
||||
@@ -6,7 +6,7 @@ package DAO;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public interface Exam<T> {
|
||||
void editExam(T t);
|
||||
|
||||
@@ -6,7 +6,7 @@ package DAO;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public abstract class ExamFactory<T extends Keyable> {
|
||||
public abstract Exam<T> createExam();
|
||||
|
||||
@@ -6,7 +6,7 @@ package DAO;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class ExamFactoryOutlet<K, V extends Keyable> extends ExamFactory<Keyable> {
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ package DAO;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public interface Keyable<K> {
|
||||
public K getKey();
|
||||
|
||||
@@ -8,7 +8,7 @@ import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class MathExam implements Keyable<MathExam> {
|
||||
ArrayList<Object> fields = new ArrayList<Object>();
|
||||
|
||||
@@ -6,7 +6,7 @@ package DAO;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class Test {
|
||||
public static void main(String[] args)
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package edu.slcc.asdv.caleb.dao.factory_pizza;
|
||||
package edu.slcc.asdv.chloe.dao.factory_pizza;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class CheezePizza implements Pizza {
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package edu.slcc.asdv.caleb.dao.factory_pizza;
|
||||
package edu.slcc.asdv.chloe.dao.factory_pizza;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class ChickenPizza implements Pizza {
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Interface.java to edit this template
|
||||
*/
|
||||
package edu.slcc.asdv.caleb.dao.factory_pizza;
|
||||
package edu.slcc.asdv.chloe.dao.factory_pizza;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public interface Pizza<T> {
|
||||
public void prepare(T t);
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package edu.slcc.asdv.caleb.dao.factory_pizza;
|
||||
package edu.slcc.asdv.chloe.dao.factory_pizza;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class PizzaFactory {
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package edu.slcc.asdv.caleb.dao.factory_pizza;
|
||||
package edu.slcc.asdv.chloe.dao.factory_pizza;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class PizzaStore {
|
||||
public Pizza orderPizza(String type) throws Exception {
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package edu.slcc.asdv.caleb.dao.factory_pizza;
|
||||
package edu.slcc.asdv.chloe.dao.factory_pizza;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class TestPizza {
|
||||
public static void main(String[] args) throws Exception
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package edu.slcc.asdv.caleb.dao.factory_pizza;
|
||||
package edu.slcc.asdv.chloe.dao.factory_pizza;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class VeggiePizza implements Pizza {
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
*/
|
||||
package factory_generic_pizza;
|
||||
|
||||
import edu.slcc.asdv.caleb.dao.factory_pizza.*;
|
||||
import edu.slcc.asdv.chloe.dao.factory_pizza.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class Pizza<T> {
|
||||
public void prepare(Object t)
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
*/
|
||||
package factory_generic_pizza;
|
||||
|
||||
import edu.slcc.asdv.caleb.dao.factory_pizza.*;
|
||||
import edu.slcc.asdv.chloe.dao.factory_pizza.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class PizzaFactory {
|
||||
public static <T> Pizza<T> createPizza(T t)
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
*/
|
||||
package factory_generic_pizza;
|
||||
|
||||
import edu.slcc.asdv.caleb.dao.factory_pizza.*;
|
||||
import edu.slcc.asdv.chloe.dao.factory_pizza.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class PizzaStore {
|
||||
public Pizza orderPizza(String type) throws Exception {
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
*/
|
||||
package factory_generic_pizza;
|
||||
|
||||
import edu.slcc.asdv.caleb.dao.factory_pizza.*;
|
||||
import edu.slcc.asdv.chloe.dao.factory_pizza.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
* @author chloe
|
||||
*/
|
||||
public class TestPizza {
|
||||
public static void main(String[] args) throws Exception
|
||||
|
||||
Reference in New Issue
Block a user