Class ApplicationTypeWrapper
- java.lang.Object
-
- org.forgerock.openam.entitlement.rest.wrappers.ApplicationTypeWrapper
-
- All Implemented Interfaces:
Comparable<ApplicationTypeWrapper>
public class ApplicationTypeWrapper extends Object implements Comparable<ApplicationTypeWrapper>
Wrapper for the Jsonification of the ApplicationType class. Taking an instance of anApplicationTypethis class exposes the necessary parts of that class to the JacksonObjectMappervia annotations.
-
-
Constructor Summary
Constructors Constructor Description ApplicationTypeWrapper(ApplicationType applicationType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ApplicationTypeWrapper that)Map<String,Boolean>getActions()StringgetApplicationClassName()StringgetName()StringgetResourceComparator()StringgetSaveIndex()StringgetSearchIndex()org.forgerock.json.JsonValuetoJsonValue()Focus of this class.
-
-
-
Constructor Detail
-
ApplicationTypeWrapper
public ApplicationTypeWrapper(ApplicationType applicationType)
-
-
Method Detail
-
getName
public String getName()
-
getResourceComparator
public String getResourceComparator()
-
getSaveIndex
public String getSaveIndex()
-
getSearchIndex
public String getSearchIndex()
-
getApplicationClassName
public String getApplicationClassName()
-
toJsonValue
public org.forgerock.json.JsonValue toJsonValue() throws IOExceptionFocus of this class. Calling this function will return a transportableJsonValuerepresenting the contained instantiation ofApplicationType.- Returns:
- JsonValue representing the contained ApplicationType
- Throws:
IOException- if there were issues writing the value out.
-
compareTo
public int compareTo(ApplicationTypeWrapper that)
- Specified by:
compareToin interfaceComparable<ApplicationTypeWrapper>
-
-