Class IntegrationObjectClassAttributeModelBuilder

java.lang.Object
de.hybris.platform.integrationservices.IntegrationObjectClassAttributeModelBuilder

public final class IntegrationObjectClassAttributeModelBuilder extends Object
Integration object class attribute builder to build an IntegrationObjectClassAttributeModel.
  • Constructor Details

    • IntegrationObjectClassAttributeModelBuilder

      public IntegrationObjectClassAttributeModelBuilder()
  • Method Details

    • integrationObjectClassAttribute

      public static IntegrationObjectClassAttributeModelBuilder integrationObjectClassAttribute()
      Instantiates this IntegrationObjectClassAttributeModelBuilder.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder.
    • integrationObjectClassAttribute

      public static IntegrationObjectClassAttributeModelBuilder integrationObjectClassAttribute(String name)
      Delegates to withName(String) to instantiate an IntegrationObjectClassAttributeModelBuilder with a specified attribute name.
      Parameters:
      name - a name for the attribute.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder with an attribute name defined.
    • withName

      Sets the attribute name for this IntegrationObjectClassAttributeModelBuilder.
      Parameters:
      name - a name for the attribute.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder with an attribute name defined.
    • withReadMethod

      public IntegrationObjectClassAttributeModelBuilder withReadMethod(String readMethod)
      Sets the readMethod for this IntegrationObjectClassAttributeModelBuilder.
      Parameters:
      readMethod - the name of the readMethod.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder with the readMethod name defined.
    • withClassCode

      Sets the class code for this IntegrationObjectClassAttributeModelBuilder.
      Parameters:
      code - the code for the class containing the attribute to build.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder with the class code defined.
    • withReturnClassCode

      public IntegrationObjectClassAttributeModelBuilder withReturnClassCode(String returnClassCode)
      Sets the reference class code within the IntegrationObject in this IntegrationObjectClassAttributeModelBuilder. If not called, it implies a primitive attribute.
      Parameters:
      returnClassCode - the code for the reference class within the same integration object.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder with the reference class code defined.
    • withIntegrationObjectCode

      public IntegrationObjectClassAttributeModelBuilder withIntegrationObjectCode(String code)
      Sets the IntegrationObject code for this IntegrationObjectClassAttributeModelBuilder.
      Parameters:
      code - the IO code for the integration object containing this class attribute.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder with IntegrationObject code defined.
    • unique

      Specifies this attribute being a key attribute in the integration object.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder with unique value defined.
    • withUnique

      Sets the unique value for the IntegrationObjectClassAttributeModelBuilder.
      Parameters:
      u - the unique value for the integration object containing this class attribute.
      Returns:
      an instance of IntegrationObjectClassAttributeModelBuilder with unique value defined.
    • buildAttributeImpexHeader

      public static List<String> buildAttributeImpexHeader()
      Builds the Impex header for this class attribute.
      Returns:
      the Impex header for this builder's class attribute.
    • buildImpexLine

      public String buildImpexLine()
      Builds the Impex body for this class attribute.
      Returns:
      the Impex body for this builder's class attribute.