Class IntegrationClassMapKeyDTO
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.dto.IntegrationClassMapKeyDTO
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 Summary
ConstructorsConstructorDescriptionIntegrationClassMapKeyDTO(@NotNull Class<?> classObject) Instantiates the DTO with a givenClass.IntegrationClassMapKeyDTO(@NotNull Class<?> classObject, @NotBlank String code) Instantiates the DTO with a givenClassand code. -
Method Summary
-
Constructor Details
-
IntegrationClassMapKeyDTO
Instantiates the DTO with a givenClass. The class' simple name will be the key's code. When using this constructor, all treeNodes that are the same class share the sameIntegrationObjectClassDefinitionand 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 givenClassand code. When using this constructor by specifying a code that is not class's name, multi-definition is used.- Parameters:
classObject- a class objectcode- The code of anIntegrationObjectClassModelinstance. Within anIntegrationObjectModel, it is unique- Throws:
IllegalArgumentException- if the class object is null or if code is null or blank
-
-
Method Details
-
getClassObject
-
getCode
-
setCode
- Parameters:
code- The code of anIntegrationObjectClassModelinstance. Within anIntegrationObjectModel, it is unique- Throws:
IllegalArgumentException- if code is null or blank
-
equals
-
hashCode
public int hashCode()
-