Enum Attribute
- java.lang.Object
-
- java.lang.Enum<Attribute>
-
- edu.cornell.mannlib.vitro.webapp.auth.attributes.Attribute
-
- All Implemented Interfaces:
Serializable,Comparable<Attribute>
public enum Attribute extends Enum<Attribute>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_OBJECT_TYPEACCESS_OBJECT_URIOPERATIONSTATEMENT_OBJECT_URISTATEMENT_PREDICATE_URISTATEMENT_SUBJECT_URISUBJECT_ROLE_URISUBJECT_TYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributevalueOf(String name)Returns the enum constant of this type with the specified name.static Attribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPERATION
public static final Attribute OPERATION
-
SUBJECT_ROLE_URI
public static final Attribute SUBJECT_ROLE_URI
-
SUBJECT_TYPE
public static final Attribute SUBJECT_TYPE
-
ACCESS_OBJECT_URI
public static final Attribute ACCESS_OBJECT_URI
-
ACCESS_OBJECT_TYPE
public static final Attribute ACCESS_OBJECT_TYPE
-
STATEMENT_OBJECT_URI
public static final Attribute STATEMENT_OBJECT_URI
-
STATEMENT_PREDICATE_URI
public static final Attribute STATEMENT_PREDICATE_URI
-
STATEMENT_SUBJECT_URI
public static final Attribute STATEMENT_SUBJECT_URI
-
-
Method Detail
-
values
public static Attribute[] 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 (Attribute c : Attribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Attribute 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
-
-