java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.dto.IntegrationClassMapKeyDTO

public class IntegrationClassMapKeyDTO extends Object
Represents a key in the integration object class modeling definition map. Allows different instances of a IntegrationObjectClassModel to be defined. Code is the unique identifier for an instance within an IntegrationObjectModel.
  • Constructor Details

    • IntegrationClassMapKeyDTO

      public IntegrationClassMapKeyDTO(@NotNull @NotNull Class<?> classObject)
      Instantiates the DTO with a given Class. The class' simple name will be the key's code. When using this constructor, all treeNodes that are the same class share the same IntegrationObjectClassDefinition and there is no multi-definition for same class.
      Parameters:
      classObject - a class object
      Throws:
      IllegalArgumentException - if the class object is null
    • IntegrationClassMapKeyDTO

      public IntegrationClassMapKeyDTO(@NotNull @NotNull Class<?> classObject, @NotBlank @NotBlank String code)
      Instantiates the DTO with a given Class and code. When using this constructor by specifying a code that is not class's name, multi-definition is used.
      Parameters:
      classObject - a class object
      code - The code of an IntegrationObjectClassModel instance. Within an IntegrationObjectModel, it is unique
      Throws:
      IllegalArgumentException - if the class object is null or if code is null or blank
  • Method Details