Class ChannelMapBase

All Implemented Interfaces:
Serializable, Iterable<ChannelMapField>, IBaseEntity, ICoreEntity, IEntity, ISortableEntity
Direct Known Subclasses:
ImportMap, PublicationProfileMap, PublicationProfileTypeMap

@MappedSuperclass public abstract class ChannelMapBase extends SimpleEntity implements Iterable<ChannelMapField>
Base class for maps that determine which data of entities is relevant in import or export and optionally map the data to structures in flat files that represent the import or export medium.

mappedObjectClass: class of main object being exported or imported. Currently only Nodes are supported.
objectType: type must be given for typeManaged ComplexTypeEntity. Currently this must be a NodeType.

Properties applying to flat files only:
mapType: ChannelMapType gives the type or flat file based file
delimiter: for non-fixed length filed: gives the delimiter between fields
quoteChar: for non-fixed length filed: gives the quote-char to be used around text that contains the delimiter
hasHeader: set to true if table/file has a header line that provides the column names. If header is given the column names (header) must be provided for each mapField
See Also:
  • Field Details

    • DELIMITER_CHAR

      public static final char DELIMITER_CHAR
      Default column delimiter in CSV files. This conflicts with the proposal form RFC 4180 but allows to use CSV files from Excel versions that are sold in central and northern Europe.
      See Also:
    • QUOTE_CHAR

      public static final char QUOTE_CHAR
      Default escape character in CSV.
      See Also:
  • Constructor Details

    • ChannelMapBase

      public ChannelMapBase()
    • ChannelMapBase

      public ChannelMapBase(ChannelMapBase source)
  • Method Details