Class ClaimValue
- java.lang.Object
-
- io.jans.as.server.model.authorize.ClaimValue
-
public class ClaimValue extends Object
- Author:
- Javier Rojas Blum Date: 03.09.2012
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClaimValuecreateEssential(boolean essentialValue)static ClaimValuecreateNull()static ClaimValuecreateSingleValue(String value)static ClaimValuecreateValueList(List<String> values)ClaimValueTypegetClaimValueType()BooleangetEssential()StringgetValue()StringgetValueAsString()List<String>getValues()voidsetEssential(Boolean essential)org.json.JSONObjecttoJSONObject()
-
-
-
Method Detail
-
createNull
public static ClaimValue createNull()
-
createEssential
public static ClaimValue createEssential(boolean essentialValue)
-
createValueList
public static ClaimValue createValueList(List<String> values)
-
createSingleValue
public static ClaimValue createSingleValue(String value)
-
getEssential
public Boolean getEssential()
-
setEssential
public void setEssential(Boolean essential)
-
getClaimValueType
public ClaimValueType getClaimValueType()
-
getValue
public String getValue()
-
getValueAsString
public String getValueAsString()
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException- Throws:
org.json.JSONException
-
-