aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/UserDatabase.java647
1 files changed, 647 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/UserDatabase.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/UserDatabase.java
new file mode 100644
index 000000000..9f8503b3d
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/config/UserDatabase.java
@@ -0,0 +1,647 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2015.08.13 at 12:34:51 PM CEST
+//
+
+
+package at.gv.egovernment.moa.id.commons.db.dao.config;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+public class UserDatabase
+ implements Serializable
+{
+
+ public static final String BPK = "bpk";
+ public static final String FAMILYNAME = "familyname";
+ public static final String GIVENNAME = "givenname";
+ public static final String INSTITUT = "institut";
+ public static final String MAIL = "mail";
+ public static final String PHONE = "phone";
+ public static final String USERNAME = "username";
+ public static final String PASSWORD = "password";
+ public static final String PASSWORD_SALT = "passwordSalt";
+ public static final String USERREQUESTTOCKEN = "userRequestTokken";
+ public static final String ISACTIVE = "isActive";
+ public static final String ISADMIN = "isAdmin";
+ public static final String ISPASSWORDALLOWED= "isUsernamePasswordAllowed";
+ public static final String ISMANDATEUSER = "isMandateUser";
+ public static final String ISMAILVERIFIED = "isMailAddressVerified";
+ public static final String ISADMINREQUESTED = "isAdminRequest";
+ public static final String ISPVPGENERATED = "isPVP2Generated";
+ public static final String LASTLOGIN = "lastLogin";
+ public static final String OALIST = "onlineApplication";
+ public static final String ISONLYBUSINESSSERVICE= "onlyBusinessService";
+ public static final String BUSINESSSERVICETYPE = "businessServiceType";
+
+ public static final String PREFIX = "user";
+
+ private static final long serialVersionUID = 6389231943819413362L;
+ protected String bpk;
+ protected String familyname;
+ protected String givenname;
+ protected String institut;
+ protected String mail;
+ protected String phone;
+ protected String username;
+ protected String password;
+ protected String passwordSalt;
+ protected String userRequestTokken;
+ protected Boolean isActive = false;
+ protected Boolean isAdmin = false;
+ protected Boolean isUsernamePasswordAllowed = false;
+ protected Boolean isMandateUser = false;
+ protected Boolean isMailAddressVerified = false;
+ protected Boolean isAdminRequest = false;
+ protected Boolean isPVP2Generated = false;
+ protected String lastLogin;
+ protected Boolean onlyBusinessService = false;
+ protected String businessServiceType;
+ protected String hjid;
+
+ private List<String> oaIDs = null;
+
+ public UserDatabase() {
+
+ }
+
+ public UserDatabase(Map<String, String> keyValue) {
+ if (keyValue != null) {
+ bpk = keyValue.get(BPK);
+ familyname = keyValue.get(FAMILYNAME);
+ givenname = keyValue.get(GIVENNAME);
+ institut = keyValue.get(INSTITUT);
+ mail = keyValue.get(MAIL);
+ phone = keyValue.get(PHONE);
+ username = keyValue.get(USERNAME);
+ password = keyValue.get(PASSWORD);
+ passwordSalt = keyValue.get(PASSWORD_SALT);
+ userRequestTokken = keyValue.get(USERREQUESTTOCKEN);
+ isActive = Boolean.parseBoolean(keyValue.get(ISACTIVE));
+ isAdmin = Boolean.parseBoolean(keyValue.get(ISADMIN));
+ isUsernamePasswordAllowed= Boolean.parseBoolean(keyValue.get(ISPASSWORDALLOWED));
+ isMandateUser = Boolean.parseBoolean(keyValue.get(ISMANDATEUSER));
+ isMailAddressVerified= Boolean.parseBoolean(keyValue.get(ISMAILVERIFIED));
+ isAdminRequest= Boolean.parseBoolean(keyValue.get(ISADMINREQUESTED));
+ isPVP2Generated= Boolean.parseBoolean(keyValue.get(ISPVPGENERATED));
+ lastLogin = keyValue.get(LASTLOGIN);
+ hjid = keyValue.get(PREFIX);
+ }
+ }
+
+ public Map<String, String> getKeyValuePairs() {
+ Map<String,String> result = new HashMap<String, String>();
+ result.put(BPK, bpk);
+ result.put(FAMILYNAME, familyname);
+ result.put(GIVENNAME, givenname);
+ result.put(INSTITUT, institut);
+ result.put(MAIL, mail);
+ result.put(PHONE, phone);
+ result.put(USERNAME, username);
+ result.put(PASSWORD, password);
+ result.put(PASSWORD_SALT, passwordSalt);
+ result.put(USERREQUESTTOCKEN, userRequestTokken);
+ result.put(ISADMIN, String.valueOf(isAdmin));
+ result.put(ISACTIVE, String.valueOf(isActive));
+ result.put(ISPASSWORDALLOWED, String.valueOf(isUsernamePasswordAllowed));
+ result.put(ISPVPGENERATED, String.valueOf(isPVP2Generated));
+ result.put(ISMAILVERIFIED, String.valueOf(isMailAddressVerified));
+ result.put(ISMANDATEUSER, String.valueOf(isMandateUser));
+ result.put(ISADMINREQUESTED, String.valueOf(isAdminRequest));
+ result.put(ISPVPGENERATED, String.valueOf(isPVP2Generated));
+ result.put(LASTLOGIN, lastLogin);
+
+ return result;
+ }
+
+ /**
+ * Gets the value of the bpk property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBpk() {
+ return bpk;
+ }
+
+ /**
+ * Sets the value of the bpk property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBpk(String value) {
+ this.bpk = value;
+ }
+
+ /**
+ * Gets the value of the familyname property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFamilyname() {
+ return familyname;
+ }
+
+ /**
+ * Sets the value of the familyname property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFamilyname(String value) {
+ this.familyname = value;
+ }
+
+ /**
+ * Gets the value of the givenname property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGivenname() {
+ return givenname;
+ }
+
+ /**
+ * Sets the value of the givenname property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGivenname(String value) {
+ this.givenname = value;
+ }
+
+ /**
+ * Gets the value of the institut property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstitut() {
+ return institut;
+ }
+
+ /**
+ * Sets the value of the institut property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstitut(String value) {
+ this.institut = value;
+ }
+
+ /**
+ * Gets the value of the mail property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMail() {
+ return mail;
+ }
+
+ /**
+ * Sets the value of the mail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMail(String value) {
+ this.mail = value;
+ }
+
+ /**
+ * Gets the value of the phone property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPhone() {
+ return phone;
+ }
+
+ /**
+ * Sets the value of the phone property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPhone(String value) {
+ this.phone = value;
+ }
+
+ /**
+ * Gets the value of the username property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUsername() {
+ return username;
+ }
+
+ /**
+ * Sets the value of the username property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUsername(String value) {
+ this.username = value;
+ }
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+ /**
+ * Gets the value of the passwordSalt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPasswordSalt() {
+ return passwordSalt;
+ }
+
+ /**
+ * Sets the value of the passwordSalt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPasswordSalt(String value) {
+ this.passwordSalt = value;
+ }
+
+ /**
+ * Gets the value of the userRequestTokken property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUserRequestTokken() {
+ return userRequestTokken;
+ }
+
+ /**
+ * Sets the value of the userRequestTokken property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUserRequestTokken(String value) {
+ this.userRequestTokken = value;
+ }
+
+ /**
+ * Gets the value of the isActive property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Boolean isIsActive() {
+ return isActive;
+ }
+
+ /**
+ * Sets the value of the isActive property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsActive(Boolean value) {
+ this.isActive = value;
+ }
+
+ /**
+ * Gets the value of the isAdmin property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Boolean isIsAdmin() {
+ return isAdmin;
+ }
+
+ /**
+ * Sets the value of the isAdmin property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsAdmin(Boolean value) {
+ this.isAdmin = value;
+ }
+
+ /**
+ * Gets the value of the isUsernamePasswordAllowed property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Boolean isIsUsernamePasswordAllowed() {
+ return isUsernamePasswordAllowed;
+ }
+
+ /**
+ * Sets the value of the isUsernamePasswordAllowed property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsUsernamePasswordAllowed(Boolean value) {
+ this.isUsernamePasswordAllowed = value;
+ }
+
+ /**
+ * Gets the value of the isMandateUser property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Boolean isIsMandateUser() {
+ return isMandateUser;
+ }
+
+ /**
+ * Sets the value of the isMandateUser property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsMandateUser(Boolean value) {
+ this.isMandateUser = value;
+ }
+
+ /**
+ * Gets the value of the isMailAddressVerified property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Boolean isIsMailAddressVerified() {
+ return isMailAddressVerified;
+ }
+
+ /**
+ * Sets the value of the isMailAddressVerified property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsMailAddressVerified(Boolean value) {
+ this.isMailAddressVerified = value;
+ }
+
+ /**
+ * Gets the value of the isAdminRequest property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Boolean isIsAdminRequest() {
+ return isAdminRequest;
+ }
+
+ /**
+ * Sets the value of the isAdminRequest property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsAdminRequest(Boolean value) {
+ this.isAdminRequest = value;
+ }
+
+ /**
+ * Gets the value of the isPVP2Generated property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Boolean isIsPVP2Generated() {
+ return isPVP2Generated;
+ }
+
+ /**
+ * Sets the value of the isPVP2Generated property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsPVP2Generated(Boolean value) {
+ this.isPVP2Generated = value;
+ }
+
+ /**
+ * Gets the value of the lastLogin property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLastLogin() {
+ return lastLogin;
+ }
+
+ /**
+ * Sets the value of the lastLogin property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLastLogin(String value) {
+ this.lastLogin = value;
+ }
+
+ /**
+ * Gets the value of the onlyBusinessService property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public Boolean isOnlyBusinessService() {
+ return onlyBusinessService;
+ }
+
+ /**
+ * Sets the value of the onlyBusinessService property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOnlyBusinessService(Boolean value) {
+ this.onlyBusinessService = value;
+ }
+
+ /**
+ * Gets the value of the businessServiceType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBusinessServiceType() {
+ return businessServiceType;
+ }
+
+ /**
+ * Sets the value of the businessServiceType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBusinessServiceType(String value) {
+ this.businessServiceType = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ public String getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(String value) {
+ this.hjid = value;
+ }
+
+ /**
+ * @return the oaIDs
+ */
+ public List<String> getOnlineApplication() {
+ if (oaIDs == null)
+ return new ArrayList<String>();
+ else
+ return oaIDs;
+ }
+
+ /**
+ * @param oaIDs the oaIDs to set
+ */
+ public void setOaIDs(List<String> oaIDs) {
+ this.oaIDs = oaIDs;
+ }
+
+
+
+
+}