java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.dto.AbstractListItemDTO
Direct Known Subclasses:
ListItemAttributeDTO, ListItemClassAttributeDTO, ListItemClassificationAttributeDTO, ListItemVirtualAttributeDTO

public abstract class AbstractListItemDTO extends Object
Represents an AbstractIntegrationObjectItemAttributeModel stored as the value of a Listitem in the modeling view.
  • Field Details

    • selected

      protected boolean selected
    • customUnique

      protected boolean customUnique
    • autocreate

      protected boolean autocreate
    • description

      protected String description
    • alias

      protected String alias
    • typeAlias

      protected String typeAlias
  • Constructor Details

    • AbstractListItemDTO

      protected AbstractListItemDTO(boolean selected, boolean customUnique, boolean autocreate)
      Represents an AbstractIntegrationObjectItemAttributeModel stored as the value of a Listitem in the modeling view.
      Parameters:
      selected - Flag for whether the listitem is selected in the UI
      customUnique - If the unique checkbox has been checked by the user through the UI
      autocreate - If the autocreate checkbox has been checked by the user through the UI
    • AbstractListItemDTO

      protected AbstractListItemDTO(boolean selected, boolean customUnique, boolean autocreate, String typeAlias)
      Represents an AbstractIntegrationObjectItemAttributeModel stored as the value of a Listitem in the modeling view.
      Parameters:
      selected - Flag for whether the listitem is selected in the UI
      customUnique - If the unique checkbox has been checked by the user through the UI
      autocreate - If the autocreate checkbox has been checked by the user through the UI
      typeAlias - The representation of the IntegrationObjectItemModel's code
  • Method Details

    • isCustomUnique

      public boolean isCustomUnique()
    • setCustomUnique

      public void setCustomUnique(boolean customUnique)
    • isSelected

      public boolean isSelected()
    • setSelected

      public void setSelected(boolean selected)
    • isAutocreate

      public boolean isAutocreate()
    • setAutocreate

      public void setAutocreate(boolean autocreate)
    • getAlias

      public String getAlias()
    • setAlias

      public abstract void setAlias(String alias)
    • getDescription

      public String getDescription()
    • getTypeAlias

      public String getTypeAlias()
    • setTypeAlias

      @Deprecated(since="2211.FP2", forRemoval=true) public void setTypeAlias(String typeAlias)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2211.FP2 for removal. Use instead
    • createDescription

      public abstract void createDescription()
    • findMatch

      public abstract AbstractListItemDTO findMatch(IntegrationObjectDefinition currentAttributesMap, IntegrationMapKeyDTO parentKey)
    • isComplexType

      public abstract boolean isComplexType(ReadService readService)
    • getQualifier

      public abstract String getQualifier()
    • getType

      public abstract TypeModel getType()
    • isStructureType

      public abstract boolean isStructureType()
    • getTypeCode

      public String getTypeCode()
      Retrieves the type alias if one exists, if not the type's code will be used.
      Returns:
      String representing the type