Class EntityFieldMapping


  • public final class EntityFieldMapping
    extends Object
    Map identifiers of a single entity.
    • Constructor Detail

      • EntityFieldMapping

        public EntityFieldMapping()
    • Method Detail

      • identifier

        public String identifier()
        Get the identifier property: Alert V3 identifier.
        Returns:
        the identifier value.
      • withIdentifier

        public EntityFieldMapping withIdentifier​(String identifier)
        Set the identifier property: Alert V3 identifier.
        Parameters:
        identifier - the identifier value to set.
        Returns:
        the EntityFieldMapping object itself.
      • value

        public String value()
        Get the value property: The value of the identifier.
        Returns:
        the value value.
      • withValue

        public EntityFieldMapping withValue​(String value)
        Set the value property: The value of the identifier.
        Parameters:
        value - the value value to set.
        Returns:
        the EntityFieldMapping object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.