Package adalid.core.enums
Enum PropertyRole
- java.lang.Object
-
- java.lang.Enum<PropertyRole>
-
- adalid.core.enums.PropertyRole
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyRole>
public enum PropertyRole extends Enum<PropertyRole>
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSOCIATION_KEY_ELEMENTBASE_ENTITYBUSINESS_KEYCODEDESCRIPTIONENTITY_MASTERFOREIGN_KEYIDIMAGEMASTER_ENTITYNAMENUMBEROWNERPRIMARY_KEYRESULT_ELEMENTSEGMENTSEGMENTING_ENTITYSUPER_ENTITYUNIQUE_KEYUNIQUE_KEY_ELEMENTUSERVERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultPrefix()StringgetDefaultSuffix()Class<?>getDefaultType()static PropertyRolevalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyRole[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final PropertyRole ID
-
VERSION
public static final PropertyRole VERSION
-
NUMBER
public static final PropertyRole NUMBER
-
CODE
public static final PropertyRole CODE
-
NAME
public static final PropertyRole NAME
-
DESCRIPTION
public static final PropertyRole DESCRIPTION
-
IMAGE
public static final PropertyRole IMAGE
-
OWNER
public static final PropertyRole OWNER
-
USER
public static final PropertyRole USER
-
SEGMENT
public static final PropertyRole SEGMENT
-
BASE_ENTITY
public static final PropertyRole BASE_ENTITY
-
MASTER_ENTITY
public static final PropertyRole MASTER_ENTITY
-
SEGMENTING_ENTITY
public static final PropertyRole SEGMENTING_ENTITY
-
SUPER_ENTITY
public static final PropertyRole SUPER_ENTITY
-
PRIMARY_KEY
public static final PropertyRole PRIMARY_KEY
-
BUSINESS_KEY
public static final PropertyRole BUSINESS_KEY
-
FOREIGN_KEY
public static final PropertyRole FOREIGN_KEY
-
ASSOCIATION_KEY_ELEMENT
public static final PropertyRole ASSOCIATION_KEY_ELEMENT
-
UNIQUE_KEY
public static final PropertyRole UNIQUE_KEY
-
UNIQUE_KEY_ELEMENT
public static final PropertyRole UNIQUE_KEY_ELEMENT
-
RESULT_ELEMENT
public static final PropertyRole RESULT_ELEMENT
-
ENTITY_MASTER
public static final PropertyRole ENTITY_MASTER
-
-
Method Detail
-
values
public static PropertyRole[] 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 (PropertyRole c : PropertyRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyRole 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
-
getDefaultPrefix
public String getDefaultPrefix()
- Returns:
- the defaultPrefix
-
getDefaultSuffix
public String getDefaultSuffix()
- Returns:
- the defaultSuffix
-
getDefaultType
public Class<?> getDefaultType()
- Returns:
- the defaultType
-
-