java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.SubtypeData

public class SubtypeData extends Object
Holds information about an attribute that has been sub-typed.
  • Constructor Details

    • SubtypeData

      public SubtypeData(IntegrationMapKeyDTO parentNodeKey, ListItemAttributeDTO dto)
      Instantiates this data
      Parameters:
      parentNodeKey - key of the parent instance
      dto - an attribute DTO
    • SubtypeData

      public SubtypeData(IntegrationMapKeyDTO parentNodeKey, TypeModel subtype, TypeModel baseType, String attributeAlias, String attributeQualifier)
      Data class holding information pertaining to an attribute that has been sub-typed.
      Parameters:
      parentNodeKey - Key of the parent instance
      subtype - Selected subtype of the attribute
      baseType - Original base type of the attribute
      attributeAlias - Alias of the attribute
      attributeQualifier - Type system qualifier of the attribute
  • Method Details

    • getParentNodeKey

      public IntegrationMapKeyDTO getParentNodeKey()
      Gets the parent tree node's key.
      Returns:
      the parent tree node's key.
    • setSubtype

      public void setSubtype(TypeModel subtype)
      Sets the subtype for the attribute.
      Parameters:
      subtype - the subtype of the attribute.
    • getSubtype

      public TypeModel getSubtype()
      Gets the subtype of the attribute.
      Returns:
      the subtype of the attribute.
    • getBaseType

      public TypeModel getBaseType()
      Gets the base type of the attribute.
      Returns:
      the base type of the attribute.
    • getAttributeAlias

      public String getAttributeAlias()
      Gets the attributes alias.
      Returns:
      the attribute alias.
    • getAttributeQualifier

      public String getAttributeQualifier()
      Gets the type system qualifier of the attribute.
      Returns:
      the type system qualifier of the attribute.