Class BookmarkEntityMappings


  • public final class BookmarkEntityMappings
    extends Object
    Describes the entity mappings of a single entity.
    • Constructor Detail

      • BookmarkEntityMappings

        public BookmarkEntityMappings()
    • Method Detail

      • entityType

        public String entityType()
        Get the entityType property: The entity type.
        Returns:
        the entityType value.
      • withEntityType

        public BookmarkEntityMappings withEntityType​(String entityType)
        Set the entityType property: The entity type.
        Parameters:
        entityType - the entityType value to set.
        Returns:
        the BookmarkEntityMappings object itself.
      • fieldMappings

        public List<EntityFieldMapping> fieldMappings()
        Get the fieldMappings property: Array of fields mapping for that entity type.
        Returns:
        the fieldMappings value.
      • withFieldMappings

        public BookmarkEntityMappings withFieldMappings​(List<EntityFieldMapping> fieldMappings)
        Set the fieldMappings property: Array of fields mapping for that entity type.
        Parameters:
        fieldMappings - the fieldMappings value to set.
        Returns:
        the BookmarkEntityMappings object itself.
      • validate

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