Package com.soffid.iam.api
Class MetadataScope
- java.lang.Object
-
- com.soffid.iam.api.MetadataScope
-
- All Implemented Interfaces:
Serializable
public class MetadataScope extends Object implements Serializable
Enumeration MetadataScope- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static MetadataScopeACCOUNTstatic MetadataScopeAPPLICATIONstatic MetadataScopeCUSTOMstatic MetadataScopeGROUPstatic MetadataScopeGROUP_MEMBERSHIPstatic MetadataScopeMAIL_LISTstatic MetadataScopeROLEstatic MetadataScopeUSER
-
Constructor Summary
Constructors Modifier Constructor Description protectedMetadataScope()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object that)booleanequals(Object object)static MetadataScopefromString(String value)Creates an instance of MetadataScope fromvalue.StringgetValue()Gets the underlying value of this type safe enumeration.inthashCode()static Listliterals()Returns an unmodifiable list containing the literals that are known by this enumeration.static Listnames()Returns an unmodifiable list containing the names of the literals that are known by this enumeration.StringtoString()
-
-
-
Field Detail
-
ROLE
public static final MetadataScope ROLE
-
USER
public static final MetadataScope USER
-
APPLICATION
public static final MetadataScope APPLICATION
-
GROUP
public static final MetadataScope GROUP
-
ACCOUNT
public static final MetadataScope ACCOUNT
-
CUSTOM
public static final MetadataScope CUSTOM
-
MAIL_LIST
public static final MetadataScope MAIL_LIST
-
GROUP_MEMBERSHIP
public static final MetadataScope GROUP_MEMBERSHIP
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
fromString
public static MetadataScope fromString(String value)
Creates an instance of MetadataScope fromvalue.- Parameters:
value- the value to create the MetadataScope from.
-
getValue
public String getValue()
Gets the underlying value of this type safe enumeration.- Returns:
- the underlying value.
-
compareTo
public int compareTo(Object that)
- See Also:
Comparable.compareTo(java.lang.Object)
-
literals
public static List literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.- Returns:
- A List containing the actual literals defined by this enumeration, this list can not be modified.
-
names
public static List names()
Returns an unmodifiable list containing the names of the literals that are known by this enumeration.- Returns:
- A List containing the actual names of the literals defined by this enumeration, this list can not be modified.
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
-