From 6edf86c40a63e5a276cc6cd6766e1adb1c2fa64f Mon Sep 17 00:00:00 2001 From: IvanaE Date: Fri, 5 Oct 2018 11:57:32 -0400 Subject: [PATCH] created class files for UserType, User, ServiceProvider, Admin, Service --- OlympusServices/.idea/misc.xml | 2 +- .../com/uottawa/olympus/olympusservices/Admin.java | 4 ++++ .../com/uottawa/olympus/olympusservices/Service.java | 4 ++++ .../olympus/olympusservices/ServiceProvider.java | 4 ++++ .../com/uottawa/olympus/olympusservices/User.java | 4 ++++ .../uottawa/olympus/olympusservices/UserType.java | 12 ++++++++++++ 6 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Admin.java create mode 100644 OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Service.java create mode 100644 OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java create mode 100644 OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/User.java create mode 100644 OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/UserType.java diff --git a/OlympusServices/.idea/misc.xml b/OlympusServices/.idea/misc.xml index 99202cc..c0f68ed 100644 --- a/OlympusServices/.idea/misc.xml +++ b/OlympusServices/.idea/misc.xml @@ -25,7 +25,7 @@ - + diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Admin.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Admin.java new file mode 100644 index 0000000..ca2e6b0 --- /dev/null +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Admin.java @@ -0,0 +1,4 @@ +package com.uottawa.olympus.olympusservices; + +public class Admin extends UserType { +} diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Service.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Service.java new file mode 100644 index 0000000..991150e --- /dev/null +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Service.java @@ -0,0 +1,4 @@ +package com.uottawa.olympus.olympusservices; + +public class Service { +} diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java new file mode 100644 index 0000000..6f596a7 --- /dev/null +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java @@ -0,0 +1,4 @@ +package com.uottawa.olympus.olympusservices; + +public class ServiceProvider extends UserType { +} diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/User.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/User.java new file mode 100644 index 0000000..4403f08 --- /dev/null +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/User.java @@ -0,0 +1,4 @@ +package com.uottawa.olympus.olympusservices; + +public class User extends UserType { +} diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/UserType.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/UserType.java new file mode 100644 index 0000000..e7aad5d --- /dev/null +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/UserType.java @@ -0,0 +1,12 @@ +package com.uottawa.olympus.olympusservices; + +public class UserType { + String firstname; + String lastname; + String username; + String password; + + UserType(){ + + } +}