Interface IChannelMapHolder<T extends ChannelMapBase>

All Superinterfaces:
IBaseEntity, ICoreEntity, Serializable
All Known Implementing Classes:
ImportProfile, ImportProfileType, PublicationProfile, PublicationProfileType

public interface IChannelMapHolder<T extends ChannelMapBase> extends IBaseEntity
Interface to be implemented by entities that can have one or several references to ChannelMapBase.
  • Method Details

    • getChannelMap

      default T getChannelMap()
      Returns:
      first channel map if any or null (flatfile). no fallback from profile to type
    • getChannelMaps

      List<T> getChannelMaps()
      Returns:
      list of channel maps if any or empty list. no fallback from profile to type
    • getChannelMapInstance

      T getChannelMapInstance()
      Returns:
      a new instance of the appropriate subclass of ChannelMapBase and set this as channelMapHolder
    • isFlatFile

      boolean isFlatFile()
      Returns:
      whether profile or profileType is flatfile type