Interface IRelationMapping


public interface IRelationMapping
Relation mapping between two lists of values This interface is not intended to be implemented by clients.
Since:
3.8.1
  • Method Details

    • getId

      @NotNull String getId()
      Returns:
      id (not null)
    • getName

      @Nullable String getName()
      Returns:
      optional name (can be null)
    • getFrom

      @NotNull IType getFrom()
      Returns:
      from IType (not null)
    • getTo

      @NotNull IType getTo()
      Returns:
      to IType (not null)
    • getLocation

      @Nullable ILocation getLocation()
      Returns:
      ILocation where this relation mapping is stored (can be null)
    • getValueMappings

      @NotNull Collection<IValueMapping> getValueMappings()
      Returns:
      IValueMappings what are defined in this IRelationMapping (not null)
    • getFilteredValues

      @NotNull Collection<?> getFilteredValues(@Nullable Object value)
      Parameters:
      value - can be any value of field e.g. IEnumOption value of custom field.
      Returns:
      filtered values (as any value of field e.g. IEnumOption) according to input value (not null).