Class IntegrationObjectClassAttributeModelBuilder
java.lang.Object
de.hybris.platform.integrationservices.IntegrationObjectClassAttributeModelBuilder
Integration object class attribute builder to build an
IntegrationObjectClassAttributeModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuilds the Impex header for this class attribute.Builds the Impex body for this class attribute.Instantiates this IntegrationObjectClassAttributeModelBuilder.Delegates towithName(String)to instantiate an IntegrationObjectClassAttributeModelBuilder with a specified attribute name.unique()Specifies this attribute being a key attribute in the integration object.withClassCode(String code) Sets the class code for this IntegrationObjectClassAttributeModelBuilder.Sets the IntegrationObject code for this IntegrationObjectClassAttributeModelBuilder.Sets the attribute name for this IntegrationObjectClassAttributeModelBuilder.withReadMethod(String readMethod) Sets the readMethod for this IntegrationObjectClassAttributeModelBuilder.withReturnClassCode(String returnClassCode) Sets the reference class code within the IntegrationObject in this IntegrationObjectClassAttributeModelBuilder.Sets the unique value for the IntegrationObjectClassAttributeModelBuilder.
-
Constructor Details
-
IntegrationObjectClassAttributeModelBuilder
public IntegrationObjectClassAttributeModelBuilder()
-
-
Method Details
-
integrationObjectClassAttribute
Instantiates this IntegrationObjectClassAttributeModelBuilder.- Returns:
- an instance of IntegrationObjectClassAttributeModelBuilder.
-
integrationObjectClassAttribute
public static IntegrationObjectClassAttributeModelBuilder integrationObjectClassAttribute(String name) Delegates towithName(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
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
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
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
Builds the Impex header for this class attribute.- Returns:
- the Impex header for this builder's class attribute.
-
buildImpexLine
Builds the Impex body for this class attribute.- Returns:
- the Impex body for this builder's class attribute.
-