extends
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
package org.maxkey.identity.scim.resources;
|
||||
|
||||
public class GroupRef {
|
||||
public class GroupRef extends MultiValuedAttribute{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 7069453283024141999L;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package org.maxkey.identity.scim.resources;
|
||||
|
||||
public class MemberRef {
|
||||
public class MemberRef extends MultiValuedAttribute{
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class MultiValuedAttribute implements Serializable {
|
||||
private static final long serialVersionUID = 6878912593878245947L;
|
||||
String value;
|
||||
String display;
|
||||
boolean primary;
|
||||
String reference;
|
||||
String type;
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
public String getDisplay() {
|
||||
return display;
|
||||
}
|
||||
public void setDisplay(String display) {
|
||||
this.display = display;
|
||||
}
|
||||
public boolean isPrimary() {
|
||||
return primary;
|
||||
}
|
||||
public void setPrimary(boolean primary) {
|
||||
this.primary = primary;
|
||||
}
|
||||
public String getReference() {
|
||||
return reference;
|
||||
}
|
||||
public void setReference(String reference) {
|
||||
this.reference = reference;
|
||||
}
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,7 +2,7 @@ package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserAddress implements Serializable {
|
||||
public class UserAddress extends MultiValuedAttribute implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -14,7 +14,14 @@ public class UserAddress implements Serializable {
|
||||
private String region;
|
||||
private String postalCode;
|
||||
private String country;
|
||||
private String type;
|
||||
|
||||
public static class UserAddressType {
|
||||
public static final String WORK = "work";
|
||||
public static final String HOME = "home";
|
||||
public static final String OTHER = "other";
|
||||
|
||||
}
|
||||
|
||||
public String getFormatted() {
|
||||
return formatted;
|
||||
}
|
||||
|
||||
@@ -2,11 +2,53 @@ package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserEmail implements Serializable {
|
||||
public class UserEmail extends MultiValuedAttribute implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -41327146592552688L;
|
||||
|
||||
public static class UserEmailType {
|
||||
public static final String WORK = "work";
|
||||
public static final String HOME = "home";
|
||||
public static final String OTHER = "other";
|
||||
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public boolean isPrimary() {
|
||||
return primary;
|
||||
}
|
||||
|
||||
public void setPrimary(boolean primary) {
|
||||
this.primary = primary;
|
||||
}
|
||||
|
||||
public UserEmail() {
|
||||
}
|
||||
|
||||
public UserEmail(String value, String type, boolean primary) {
|
||||
super();
|
||||
this.value = value;
|
||||
this.type = type;
|
||||
this.primary = primary;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserEntitlement implements Serializable {
|
||||
public class UserEntitlement extends MultiValuedAttribute implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@ package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserExtension implements Serializable {
|
||||
public class UserExtension extends MultiValuedAttribute implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
@@ -2,11 +2,21 @@ package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserIm implements Serializable {
|
||||
public class UserIm extends MultiValuedAttribute implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -529297556948872883L;
|
||||
|
||||
public static class UserImType {
|
||||
public static final String AIM = "aim";
|
||||
public static final String GTALK = "gtalk";
|
||||
public static final String ICQ = "icq";
|
||||
public static final String XMPP = "xmpp";
|
||||
public static final String MSN = "msn";
|
||||
public static final String SKYPE = "skype";
|
||||
public static final String QQ = "qq";
|
||||
public static final String YAHOO = "yahoo";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,4 +9,13 @@ public class UserPhoneNumber implements Serializable {
|
||||
*/
|
||||
private static final long serialVersionUID = 3201987266085144715L;
|
||||
|
||||
public static class UserPhoneNumberType {
|
||||
public static final String WORK = "work";
|
||||
public static final String HOME = "home";
|
||||
public static final String MOBILE = "mobile";
|
||||
public static final String FAX = "fax";
|
||||
public static final String PAGER = "pager";
|
||||
public static final String OTHER = "other";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserPhoto implements Serializable {
|
||||
public class UserPhoto extends MultiValuedAttribute implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@ package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserRole implements Serializable {
|
||||
public class UserRole extends MultiValuedAttribute implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@ package org.maxkey.identity.scim.resources;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserX509Certificate implements Serializable {
|
||||
public class UserX509Certificate extends MultiValuedAttribute implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user