Package io.jans.as.model.json
Enum PropertyDefinition
- java.lang.Object
-
- java.lang.Enum<PropertyDefinition>
-
- io.jans.as.model.json.PropertyDefinition
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertyDefinition>
public enum PropertyDefinition extends Enum<PropertyDefinition>
- Author:
- Yuriy Zabrovarnyy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyDefinition.ClassNames
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONAL_AUDIENCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJavaTargetPropertyName()
Set<PropertyDefinition.ClassNames>
getJavaTargetsClassNames()
Set<String>
getJavaTargetsClassNamesAsStrings()
Class<?>
getJavaType()
String
getJsonName()
String
toString()
static PropertyDefinition
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertyDefinition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDITIONAL_AUDIENCE
public static final PropertyDefinition ADDITIONAL_AUDIENCE
-
-
Method Detail
-
values
public static PropertyDefinition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PropertyDefinition c : PropertyDefinition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyDefinition valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getJavaType
public Class<?> getJavaType()
-
getJavaTargetsClassNames
public Set<PropertyDefinition.ClassNames> getJavaTargetsClassNames()
-
getJavaTargetPropertyName
public String getJavaTargetPropertyName()
-
getJsonName
public String getJsonName()
-
toString
public String toString()
- Overrides:
toString
in classEnum<PropertyDefinition>
-
-