Enum ObjectTemplateMappingEvaluationPhaseType

  • All Implemented Interfaces:
    Serializable, Comparable<ObjectTemplateMappingEvaluationPhaseType>

    public enum ObjectTemplateMappingEvaluationPhaseType
    extends Enum<ObjectTemplateMappingEvaluationPhaseType>

    Java class for ObjectTemplateMappingEvaluationPhaseType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="ObjectTemplateMappingEvaluationPhaseType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="beforeAssignments"/>
         <enumeration value="afterAssignments"/>
         <enumeration value="afterProjections"/>
    • Enum Constant Detail


        public static final ObjectTemplateMappingEvaluationPhaseType BEFORE_ASSIGNMENTS
        Evaluation of template mappings before assignments are evaluated. This is the most common phase for template mappings.

        public static final ObjectTemplateMappingEvaluationPhaseType AFTER_ASSIGNMENTS
        Evaluation of template mappings after assignments are evaluated but before uniqueness check is done and before projections are considered.

        public static final ObjectTemplateMappingEvaluationPhaseType AFTER_PROJECTIONS
        Evaluation of template mappings after activation and values of projections are processed. So, it is possible to use e.g. hasLinkedAccount function call here to determine the new state of a projection. On the other hand, results of these mappings are not reflected in projection outbound mappings.
    • Method Detail

      • values

        public static ObjectTemplateMappingEvaluationPhaseType[] 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 (ObjectTemplateMappingEvaluationPhaseType c : ObjectTemplateMappingEvaluationPhaseType.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ObjectTemplateMappingEvaluationPhaseType 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()