Package com.datahub.authorization
Enum ResourceFieldType
- java.lang.Object
-
- java.lang.Enum<ResourceFieldType>
-
- com.datahub.authorization.ResourceFieldType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResourceFieldType>
public enum ResourceFieldType extends java.lang.Enum<ResourceFieldType>
List of resource field types to fetch for a given resource
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOMAINDomains of resourceOWNEROwners of resourceRESOURCE_TYPEType of resource (e.g.RESOURCE_URNUrn of resource
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceFieldTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ResourceFieldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE_TYPE
public static final ResourceFieldType RESOURCE_TYPE
Type of resource (e.g. dataset, chart)
-
RESOURCE_URN
public static final ResourceFieldType RESOURCE_URN
Urn of resource
-
OWNER
public static final ResourceFieldType OWNER
Owners of resource
-
DOMAIN
public static final ResourceFieldType DOMAIN
Domains of resource
-
-
Method Detail
-
values
public static ResourceFieldType[] 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 (ResourceFieldType c : ResourceFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceFieldType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-