summaryrefslogtreecommitdiff
path: root/src/main/java/com/mavlushechka/studentdatabase/domain
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/mavlushechka/studentdatabase/domain')
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Certificate.java31
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/EducationalSystem.java171
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Family.java54
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/GraduatedInstitution.java54
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Health.java45
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Job.java54
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/MilitaryService.java72
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Parent.java58
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Passport.java189
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Person.java31
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Role.java34
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/Student.java95
-rwxr-xr-xsrc/main/java/com/mavlushechka/studentdatabase/domain/User.java66
13 files changed, 954 insertions, 0 deletions
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Certificate.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Certificate.java
new file mode 100755
index 0000000..3c07425
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Certificate.java
@@ -0,0 +1,31 @@
+package com.mavlushechka.studentdatabase.domain;
+
+public class Certificate {
+ private String series;
+ private long number;
+ private String dateOfIssue;
+
+ public String getSeries() {
+ return series;
+ }
+
+ public void setSeries(String series) {
+ this.series = series;
+ }
+
+ public long getNumber() {
+ return number;
+ }
+
+ public void setNumber(long number) {
+ this.number = number;
+ }
+
+ public String getDateOfIssue() {
+ return dateOfIssue;
+ }
+
+ public void setDateOfIssue(String dateOfIssue) {
+ this.dateOfIssue = dateOfIssue;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/EducationalSystem.java b/src/main/java/com/mavlushechka/studentdatabase/domain/EducationalSystem.java
new file mode 100755
index 0000000..7215d86
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/EducationalSystem.java
@@ -0,0 +1,171 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "educationalSystems")
+public class EducationalSystem {
+ @Id
+ private String id;
+ private boolean exists;
+ private byte number;
+ private String degree;
+ private byte course;
+ private String formOfLearning;
+ private String language;
+ private short year;
+ private String faculty;
+ private int directionCode;
+ private String directionName;
+ private String group;
+ private String formOfEducation;
+ private String privilege;
+ private String typeOfPlace;
+ private String region;
+ private String city;
+ private String address;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public boolean isExists() {
+ return exists;
+ }
+
+ public void setExists(boolean exists) {
+ this.exists = exists;
+ }
+
+ public byte getNumber() {
+ return number;
+ }
+
+ public void setNumber(byte number) {
+ this.number = number;
+ }
+
+ public String getDegree() {
+ return degree;
+ }
+
+ public void setDegree(String degree) {
+ this.degree = degree;
+ }
+
+ public byte getCourse() {
+ return course;
+ }
+
+ public void setCourse(byte course) {
+ this.course = course;
+ }
+
+ public String getFormOfLearning() {
+ return formOfLearning;
+ }
+
+ public void setFormOfLearning(String formOfLearning) {
+ this.formOfLearning = formOfLearning;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+
+ public short getYear() {
+ return year;
+ }
+
+ public void setYear(short year) {
+ this.year = year;
+ }
+
+ public String getFaculty() {
+ return faculty;
+ }
+
+ public void setFaculty(String faculty) {
+ this.faculty = faculty;
+ }
+
+ public int getDirectionCode() {
+ return directionCode;
+ }
+
+ public void setDirectionCode(int directionCode) {
+ this.directionCode = directionCode;
+ }
+
+ public String getDirectionName() {
+ return directionName;
+ }
+
+ public void setDirectionName(String directionName) {
+ this.directionName = directionName;
+ }
+
+ public String getGroup() {
+ return group;
+ }
+
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+ public String getFormOfEducation() {
+ return formOfEducation;
+ }
+
+ public void setFormOfEducation(String formOfEducation) {
+ this.formOfEducation = formOfEducation;
+ }
+
+ public String getPrivilege() {
+ return privilege;
+ }
+
+ public void setPrivilege(String privilege) {
+ this.privilege = privilege;
+ }
+
+ public String getTypeOfPlace() {
+ return typeOfPlace;
+ }
+
+ public void setTypeOfPlace(String typeOfPlace) {
+ this.typeOfPlace = typeOfPlace;
+ }
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getAddress() {
+ return address;
+ }
+
+ public void setAddress(String address) {
+ this.address = address;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Family.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Family.java
new file mode 100755
index 0000000..653c66f
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Family.java
@@ -0,0 +1,54 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "families")
+public class Family {
+ @Id
+ private String id;
+ private String parentsDivorced;
+ private boolean isMarried;
+ private Parent father;
+ private Parent mother;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getParentsDivorced() {
+ return parentsDivorced;
+ }
+
+ public void setParentsDivorced(String parentsDivorced) {
+ this.parentsDivorced = parentsDivorced;
+ }
+
+ public boolean isMarried() {
+ return isMarried;
+ }
+
+ public void setMarried(boolean married) {
+ isMarried = married;
+ }
+
+ public Parent getFather() {
+ return father;
+ }
+
+ public void setFather(Parent father) {
+ this.father = father;
+ }
+
+ public Parent getMother() {
+ return mother;
+ }
+
+ public void setMother(Parent mother) {
+ this.mother = mother;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/GraduatedInstitution.java b/src/main/java/com/mavlushechka/studentdatabase/domain/GraduatedInstitution.java
new file mode 100755
index 0000000..009b369
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/GraduatedInstitution.java
@@ -0,0 +1,54 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "graduatedInstitutions")
+public class GraduatedInstitution {
+ @Id
+ private String id;
+ private String name;
+ private String type;
+ private String territory;
+ private Certificate certificate;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getTerritory() {
+ return territory;
+ }
+
+ public void setTerritory(String territory) {
+ this.territory = territory;
+ }
+
+ public Certificate getCertificate() {
+ return certificate;
+ }
+
+ public void setCertificate(Certificate certificate) {
+ this.certificate = certificate;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Health.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Health.java
new file mode 100755
index 0000000..9ca3cc6
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Health.java
@@ -0,0 +1,45 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "health")
+public class Health {
+ @Id
+ private String id;
+ private boolean invalid;
+ private int invalidGroup;
+ private String invalidDiagnosis;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public boolean isInvalid() {
+ return invalid;
+ }
+
+ public void setInvalid(boolean invalid) {
+ this.invalid = invalid;
+ }
+
+ public int getInvalidGroup() {
+ return invalidGroup;
+ }
+
+ public void setInvalidGroup(int invalidGroup) {
+ this.invalidGroup = invalidGroup;
+ }
+
+ public String getInvalidDiagnosis() {
+ return invalidDiagnosis;
+ }
+
+ public void setInvalidDiagnosis(String invalidDiagnosis) {
+ this.invalidDiagnosis = invalidDiagnosis;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Job.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Job.java
new file mode 100755
index 0000000..4a4c362
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Job.java
@@ -0,0 +1,54 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "jobs")
+public class Job {
+ @Id
+ private String id;
+ private String name;
+ private String territory;
+ private long telephoneNumber;
+ private Person manager;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getTerritory() {
+ return territory;
+ }
+
+ public void setTerritory(String territory) {
+ this.territory = territory;
+ }
+
+ public long getTelephoneNumber() {
+ return telephoneNumber;
+ }
+
+ public void setTelephoneNumber(long telephoneNumber) {
+ this.telephoneNumber = telephoneNumber;
+ }
+
+ public Person getManager() {
+ return manager;
+ }
+
+ public void setManager(Person manager) {
+ this.manager = manager;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/MilitaryService.java b/src/main/java/com/mavlushechka/studentdatabase/domain/MilitaryService.java
new file mode 100755
index 0000000..40767da
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/MilitaryService.java
@@ -0,0 +1,72 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "militaryServices")
+public class MilitaryService {
+ @Id
+ private String id;
+ private long number;
+ private String type;
+ private String place;
+ private String year;
+ private String serialNumber;
+ private boolean alternative;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public long getNumber() {
+ return number;
+ }
+
+ public void setNumber(long number) {
+ this.number = number;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getPlace() {
+ return place;
+ }
+
+ public void setPlace(String place) {
+ this.place = place;
+ }
+
+ public String getYear() {
+ return year;
+ }
+
+ public void setYear(String year) {
+ this.year = year;
+ }
+
+ public String getSerialNumber() {
+ return serialNumber;
+ }
+
+ public void setSerialNumber(String serialNumber) {
+ this.serialNumber = serialNumber;
+ }
+
+ public boolean isAlternative() {
+ return alternative;
+ }
+
+ public void setAlternative(boolean alternative) {
+ this.alternative = alternative;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Parent.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Parent.java
new file mode 100755
index 0000000..2e37cb5
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Parent.java
@@ -0,0 +1,58 @@
+package com.mavlushechka.studentdatabase.domain;
+
+public class Parent {
+ private String firstName;
+ private String lastName;
+ private String middleName;
+ private String birthday;
+ private String placeOfWork;
+ private long telephoneNumber;
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public String getMiddleName() {
+ return middleName;
+ }
+
+ public void setMiddleName(String middleName) {
+ this.middleName = middleName;
+ }
+
+ public String getBirthday() {
+ return birthday;
+ }
+
+ public void setBirthday(String birthday) {
+ this.birthday = birthday;
+ }
+
+ public String getPlaceOfWork() {
+ return placeOfWork;
+ }
+
+ public void setPlaceOfWork(String placeOfWork) {
+ this.placeOfWork = placeOfWork;
+ }
+
+ public long getTelephoneNumber() {
+ return telephoneNumber;
+ }
+
+ public void setTelephoneNumber(long telephoneNumber) {
+ this.telephoneNumber = telephoneNumber;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Passport.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Passport.java
new file mode 100755
index 0000000..b54b68a
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Passport.java
@@ -0,0 +1,189 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "passports")
+public class Passport {
+ @Id
+ private String id;
+ private String number;
+ private String firstName;
+ private String lastName;
+ private String middleName;
+ private String PINFL;
+ private String INN;
+ private String serialNumber;
+ private String dateOfIssue;
+ private String birthday;
+ private int age;
+ private String nationality;
+ private String gender;
+ private String republic;
+ private String region;
+ private String city;
+ private String organization;
+ private String village;
+ private String district;
+ private String address;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getNumber() {
+ return number;
+ }
+
+ public void setNumber(String number) {
+ this.number = number;
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public String getMiddleName() {
+ return middleName;
+ }
+
+ public void setMiddleName(String middleName) {
+ this.middleName = middleName;
+ }
+
+ public String getPINFL() {
+ return PINFL;
+ }
+
+ public void setPINFL(String PINFL) {
+ this.PINFL = PINFL;
+ }
+
+ public String getINN() {
+ return INN;
+ }
+
+ public void setINN(String INN) {
+ this.INN = INN;
+ }
+
+ public String getSerialNumber() {
+ return serialNumber;
+ }
+
+ public void setSerialNumber(String serialNumber) {
+ this.serialNumber = serialNumber;
+ }
+
+ public String getDateOfIssue() {
+ return dateOfIssue;
+ }
+
+ public void setDateOfIssue(String dateOfIssue) {
+ this.dateOfIssue = dateOfIssue;
+ }
+
+ public String getBirthday() {
+ return birthday;
+ }
+
+ public void setBirthday(String birthday) {
+ this.birthday = birthday;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public String getNationality() {
+ return nationality;
+ }
+
+ public void setNationality(String nationality) {
+ this.nationality = nationality;
+ }
+
+ public String getGender() {
+ return gender;
+ }
+
+ public void setGender(String gender) {
+ this.gender = gender;
+ }
+
+ public String getRepublic() {
+ return republic;
+ }
+
+ public void setRepublic(String republic) {
+ this.republic = republic;
+ }
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getOrganization() {
+ return organization;
+ }
+
+ public void setOrganization(String organization) {
+ this.organization = organization;
+ }
+
+ public String getVillage() {
+ return village;
+ }
+
+ public void setVillage(String village) {
+ this.village = village;
+ }
+
+ public String getDistrict() {
+ return district;
+ }
+
+ public void setDistrict(String district) {
+ this.district = district;
+ }
+
+ public String getAddress() {
+ return address;
+ }
+
+ public void setAddress(String address) {
+ this.address = address;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Person.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Person.java
new file mode 100755
index 0000000..9b47065
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Person.java
@@ -0,0 +1,31 @@
+package com.mavlushechka.studentdatabase.domain;
+
+public class Person {
+ private String firstName;
+ private String middleName;
+ private String lastName;
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getMiddleName() {
+ return middleName;
+ }
+
+ public void setMiddleName(String middleName) {
+ this.middleName = middleName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Role.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Role.java
new file mode 100755
index 0000000..f35f7e7
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Role.java
@@ -0,0 +1,34 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "roles")
+public class Role {
+ @Id
+ private String id;
+ private String role;
+
+ public Role() {
+ }
+
+ public Role(String role) {
+ this.role = role;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getRole() {
+ return role;
+ }
+
+ public void setRole(String role) {
+ this.role = role;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/Student.java b/src/main/java/com/mavlushechka/studentdatabase/domain/Student.java
new file mode 100755
index 0000000..b4ab4d7
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/Student.java
@@ -0,0 +1,95 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.bson.types.Binary;
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+@Document(collection = "students")
+public class Student {
+ @Id
+ private String id;
+ private String diploma;
+ private long telephoneNumber;
+ private String religion;
+ private String car;
+ private String house;
+ private Binary photo;
+ private String encodedPhoto;
+
+ public Student() {
+ }
+
+ public Student(String id, String diploma, long telephoneNumber, String religion, String car, String house, Binary photo) {
+ this.id = id;
+ this.diploma = diploma;
+ this.telephoneNumber = telephoneNumber;
+ this.religion = religion;
+ this.car = car;
+ this.house = house;
+ this.photo = photo;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getDiploma() {
+ return diploma;
+ }
+
+ public void setDiploma(String diploma) {
+ this.diploma = diploma;
+ }
+
+ public long getTelephoneNumber() {
+ return telephoneNumber;
+ }
+
+ public void setTelephoneNumber(long telephoneNumber) {
+ this.telephoneNumber = telephoneNumber;
+ }
+
+ public String getReligion() {
+ return religion;
+ }
+
+ public void setReligion(String religion) {
+ this.religion = religion;
+ }
+
+ public String getCar() {
+ return car;
+ }
+
+ public void setCar(String car) {
+ this.car = car;
+ }
+
+ public String getHouse() {
+ return house;
+ }
+
+ public void setHouse(String house) {
+ this.house = house;
+ }
+
+ public Binary getPhoto() {
+ return photo;
+ }
+
+ public void setPhoto(Binary photo) {
+ this.photo = photo;
+ }
+
+ public String getEncodedPhoto() {
+ return encodedPhoto;
+ }
+
+ public void setEncodedPhoto(String encodedPhoto) {
+ this.encodedPhoto = encodedPhoto;
+ }
+}
diff --git a/src/main/java/com/mavlushechka/studentdatabase/domain/User.java b/src/main/java/com/mavlushechka/studentdatabase/domain/User.java
new file mode 100755
index 0000000..39c3ac9
--- /dev/null
+++ b/src/main/java/com/mavlushechka/studentdatabase/domain/User.java
@@ -0,0 +1,66 @@
+package com.mavlushechka.studentdatabase.domain;
+
+import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+import java.util.Set;
+
+@Document(collection = "users")
+public class User {
+ @Id
+ private String id;
+ private String username;
+ private String password;
+ private boolean active;
+ private Set<Role> roles;
+
+ public User() {
+ }
+
+ public User(String username, String password, boolean active, Set<Role> roles) {
+ this.username = username;
+ this.password = password;
+ this.active = active;
+ this.roles = roles;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public boolean isActive() {
+ return active;
+ }
+
+ public void setActive(boolean active) {
+ this.active = active;
+ }
+
+ public Set<Role> getRoles() {
+ return roles;
+ }
+
+ public void setRoles(Set<Role> roles) {
+ this.roles = roles;
+ }
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+}