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 Details

    • JansCustomAttribute

      public JansCustomAttribute()
    • JansCustomAttribute

      public JansCustomAttribute(String name, String value)
    • JansCustomAttribute

      public JansCustomAttribute(String name, String value, boolean newAttribute)
    • JansCustomAttribute

      public JansCustomAttribute(String name, String value, boolean newAttribute, boolean mandatory)
    • JansCustomAttribute

      public JansCustomAttribute(String name, String[] values, boolean newAttribute, boolean mandatory)
    • JansCustomAttribute

      public JansCustomAttribute(String name, String[] values)
    • JansCustomAttribute

      public JansCustomAttribute(String name, Set<String> values)
  • Method Details

    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getBooleanValue

      public JansBoolean getBooleanValue()
    • setBooleanValue

      public void setBooleanValue(JansBoolean value)
    • getValues

      public String[] getValues()
    • getBooleanValues

      public JansBoolean[] getBooleanValues()
    • setBooleanValues

      public void setBooleanValues(JansBoolean[] booleanValues)
    • setValues

      public void setValues(String[] values)
    • setValues

      public void setValues(Collection<String> values)
    • setValues

      public void setValues(Set<String> values)
    • isNew

      public boolean isNew()
    • setNew

      public void setNew(boolean newAttribute)
    • getDisplayValue

      public String 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

      public String getName()
    • setName

      public void setName(String name)
    • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(JansCustomAttribute o)
      Specified by:
      compareTo in interface Comparable<JansCustomAttribute>
    • toBooleanFromString

      protected JansBoolean toBooleanFromString(String value)
    • toStringFromBoolean

      protected String toStringFromBoolean(JansBoolean value)