Enum EntityPropertyLogFieldQualifier
- java.lang.Object
-
- java.lang.Enum<EntityPropertyLogFieldQualifier>
-
- org.cyclos.model.system.entitylogs.EntityPropertyLogFieldQualifier
-
- All Implemented Interfaces:
Serializable,Comparable<EntityPropertyLogFieldQualifier>
public enum EntityPropertyLogFieldQualifier extends Enum<EntityPropertyLogFieldQualifier>
Enum used to indicate how the field name should be qualified.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTITY_NAMEFULLQualified with the entity and the owner entities names.NETWORKLike FULL but adds the network name first E.g "networkName - recordTypeName - recordCustomFieldName - recordCustomFieldPossibleName - Value" E.g "networkName - userName - phoneName - Name"NONE
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPOUND_NAME_SEPARATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringqualify(String networkName, String entityPrefix, String entityName, String propertyName)Stringqualify(EntityPropertyLogVO entityPropertyLog)Stringqualify2(EntityPropertyLogVO entityPropertyLog)static EntityPropertyLogFieldQualifiervalueOf(String name)Returns the enum constant of this type with the specified name.static EntityPropertyLogFieldQualifier[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final EntityPropertyLogFieldQualifier NONE
-
ENTITY_NAME
public static final EntityPropertyLogFieldQualifier ENTITY_NAME
-
FULL
public static final EntityPropertyLogFieldQualifier FULL
Qualified with the entity and the owner entities names. E.g "recordTypeName - recordCustomFieldName - recordCustomFieldPossibleName - Value" E.g "userName - phoneName - Name"
-
NETWORK
public static final EntityPropertyLogFieldQualifier NETWORK
Like FULL but adds the network name first E.g "networkName - recordTypeName - recordCustomFieldName - recordCustomFieldPossibleName - Value" E.g "networkName - userName - phoneName - Name"
-
-
Field Detail
-
COMPOUND_NAME_SEPARATOR
public static String COMPOUND_NAME_SEPARATOR
-
-
Method Detail
-
values
public static EntityPropertyLogFieldQualifier[] 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 (EntityPropertyLogFieldQualifier c : EntityPropertyLogFieldQualifier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityPropertyLogFieldQualifier 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
-
qualify
public String qualify(EntityPropertyLogVO entityPropertyLog)
-
qualify
public String qualify(String networkName, String entityPrefix, String entityName, String propertyName)
-
qualify2
public String qualify2(EntityPropertyLogVO entityPropertyLog)
-
-