Package io.jans.model
Class JansCustomAttribute
java.lang.Object
io.jans.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, Object value) JansCustomAttribute(String name, Object[] values) JansCustomAttribute(String name, Object[] values, boolean newAttribute, boolean mandatory) JansCustomAttribute(String name, Object value, boolean newAttribute) JansCustomAttribute(String name, Object value, boolean newAttribute, boolean mandatory) JansCustomAttribute(String name, Set<String> values) -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetName()String[]getValue()Object[]inthashCode()booleanbooleanbooleanbooleanbooleanbooleanisNew()booleanbooleanbooleanbooleanbooleanvoidsetBooleanValue(GluuBoolean value) voidsetBooleanValues(GluuBoolean[] booleanValues) voidsetMandatory(boolean mandatory) voidsetMetadata(JansAttribute metadata) voidvoidsetNew(boolean newAttribute) voidsetNewAttribute(boolean newAttribute) voidsetReadonly(boolean readonly) voidvoidvoidvoidprotected GluuBooleantoBooleanFromString(Object value) toString()protected StringtoStringFromBoolean(GluuBoolean value)
-
Constructor Details
-
JansCustomAttribute
public JansCustomAttribute() -
JansCustomAttribute
-
JansCustomAttribute
-
JansCustomAttribute
-
JansCustomAttribute
-
JansCustomAttribute
-
JansCustomAttribute
-
-
Method Details
-
getValue
-
setValue
-
getStringValue
-
getBooleanValue
-
setBooleanValue
-
getValues
-
getStringValues
-
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() -
getName
-
setName
-
getMetadata
-
setMetadata
-
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
-