Package io.jans.scim.model
Class JansCustomAttribute
java.lang.Object
io.jans.scim.model.JansCustomAttribute
- All Implemented Interfaces:
Serializable,Comparable<JansCustomAttribute>
public class JansCustomAttribute
extends Object
implements Serializable, Comparable<JansCustomAttribute>
Attribute
- Author:
- Yuriy Movchan Date: 10.07.2010
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJansCustomAttribute(String name, String value) JansCustomAttribute(String name, String[] values) JansCustomAttribute(String name, String[] values, boolean newAttribute, boolean mandatory) JansCustomAttribute(String name, String value, boolean newAttribute) JansCustomAttribute(String name, String value, boolean newAttribute, boolean mandatory) JansCustomAttribute(String name, Set<String> values) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanio.jans.model.JansAttributegetName()getValue()String[]inthashCode()booleanbooleanbooleanbooleanbooleanbooleanisNew()booleanbooleanbooleanbooleanbooleanvoidsetBooleanValue(JansBoolean value) voidsetBooleanValues(JansBoolean[] booleanValues) voidsetMandatory(boolean mandatory) voidsetMetadata(io.jans.model.JansAttribute metadata) voidsetMultiValued(boolean multiValued) voidvoidsetNew(boolean newAttribute) voidsetNewAttribute(boolean newAttribute) voidsetReadonly(boolean readonly) voidvoidvoidsetValues(Collection<String> values) voidprotected JansBooleantoBooleanFromString(String value) toString()protected StringtoStringFromBoolean(JansBoolean value)
-
Constructor Details
-
JansCustomAttribute
public JansCustomAttribute() -
JansCustomAttribute
-
JansCustomAttribute
-
JansCustomAttribute
-
JansCustomAttribute
-
JansCustomAttribute
-
JansCustomAttribute
-
-
Method Details
-
getValue
-
setValue
-
getBooleanValue
-
setBooleanValue
-
getValues
-
getBooleanValues
-
setBooleanValues
-
setValues
-
setValues
-
setValues
-
isNew
public boolean isNew() -
setNew
public void setNew(boolean newAttribute) -
getDisplayValue
-
isAdminCanAccess
public boolean isAdminCanAccess() -
isAdminCanView
public boolean isAdminCanView() -
isAdminCanEdit
public boolean isAdminCanEdit() -
isUserCanAccess
public boolean isUserCanAccess() -
isUserCanView
public boolean isUserCanView() -
isUserCanEdit
public boolean isUserCanEdit() -
isMultiValued
public boolean isMultiValued() -
setMultiValued
public void setMultiValued(boolean multiValued) -
getName
-
setName
-
getMetadata
public io.jans.model.JansAttribute getMetadata() -
setMetadata
public void setMetadata(io.jans.model.JansAttribute metadata) -
isNewAttribute
public boolean isNewAttribute() -
setNewAttribute
public void setNewAttribute(boolean newAttribute) -
isMandatory
public boolean isMandatory() -
setMandatory
public void setMandatory(boolean mandatory) -
isReadonly
public boolean isReadonly() -
setReadonly
public void setReadonly(boolean readonly) -
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<JansCustomAttribute>
-
toBooleanFromString
-
toStringFromBoolean
-