Package org.gluu.oxauth.model.authorize
Class ClaimValue
- java.lang.Object
-
- org.gluu.oxauth.model.authorize.ClaimValue
-
public class ClaimValue extends java.lang.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(java.lang.String value)
static ClaimValue
createValueList(java.util.List<java.lang.String> values)
ClaimValueType
getClaimValueType()
java.lang.Boolean
getEssential()
java.lang.String
getValue()
java.lang.String
getValueAsString()
java.util.List<java.lang.String>
getValues()
void
setEssential(java.lang.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(java.util.List<java.lang.String> values)
-
createSingleValue
public static ClaimValue createSingleValue(java.lang.String value)
-
getEssential
public java.lang.Boolean getEssential()
-
setEssential
public void setEssential(java.lang.Boolean essential)
-
getClaimValueType
public ClaimValueType getClaimValueType()
-
getValues
public java.util.List<java.lang.String> getValues()
-
getValue
public java.lang.String getValue()
-
getValueAsString
public java.lang.String getValueAsString()
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException
- Throws:
org.json.JSONException
-
-