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 ClaimValue
createEssential(boolean essentialValue)
static ClaimValue
createNull()
static ClaimValue
createSingleValue(String value)
static ClaimValue
createValueList(List<String> values)
ClaimValueType
getClaimValueType()
Boolean
getEssential()
String
getValue()
String
getValueAsString()
List<String>
getValues()
void
setEssential(Boolean essential)
org.json.JSONObject
toJSONObject()
-
-
-
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
-
-