Class FieldMapping


  • public final class FieldMapping
    extends Object
    A single field mapping of the mapped entity.
    • Constructor Detail

      • FieldMapping

        public FieldMapping()
    • Method Detail

      • identifier

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

        public FieldMapping withIdentifier​(String identifier)
        Set the identifier property: the V3 identifier of the entity.
        Parameters:
        identifier - the identifier value to set.
        Returns:
        the FieldMapping object itself.
      • columnName

        public String columnName()
        Get the columnName property: the column name to be mapped to the identifier.
        Returns:
        the columnName value.
      • withColumnName

        public FieldMapping withColumnName​(String columnName)
        Set the columnName property: the column name to be mapped to the identifier.
        Parameters:
        columnName - the columnName value to set.
        Returns:
        the FieldMapping object itself.
      • validate

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