Class TestIntegrationItemModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.test.TestItemModel
de.hybris.platform.core.model.test.TestItemType2Model
de.hybris.platform.odata2webservicesfeaturetests.model.TestIntegrationItemModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ComplexTestIntegrationItemModel
Generated model class for type TestIntegrationItem first defined at extension odata2webservicesfeaturetests.
An item type for testing different scenarios around integration objects. This type has attributes of numerous types available in the type system and enables conditions, which otherwise would be possible only by picking hard-to-find modeling scenarios available in multiple types across possibly multiple *-items.xml.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTestIntegrationItem.bigDecimalattribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.bigIntegerattribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.codeattribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.dateCollectionattribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.detailattribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.detailsattribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.enumListattribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.item3attribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.otherItemattribute defined at extensionodata2webservicesfeaturetests.static final StringGenerated constant - Attribute key ofTestIntegrationItem.testEnumsattribute defined at extensionodata2webservicesfeaturetests.Fields inherited from class de.hybris.platform.core.model.test.TestItemType2Model
BAR, FOO, FOOBAR, GENDER, INTBAR, LOCALIZEDFOOBAR, TESTPROPERTY1, TESTPROPERTY2Fields inherited from class de.hybris.platform.core.model.test.TestItemModel
A, B, BOOLEAN, BYTE, CHARACTER, DATE, DOUBLE, FLOAT, INTEGER, LONG, LONGSTRING, PRIMITIVEBOOLEAN, PRIMITIVEBYTE, PRIMITIVECHAR, PRIMITIVEDOUBLE, PRIMITIVEFLOAT, PRIMITIVEINTEGER, PRIMITIVELONG, PRIMITIVESHORT, SERIALIZABLE, STRING, TESTDUMPPROPERTY, TESTPROPERTY0Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextTestIntegrationItemModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTestIntegrationItemModel(String _code, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTestIntegrationItem.bigDecimalattribute defined at extensionodata2webservicesfeaturetests.Generated method - Getter of theTestIntegrationItem.bigIntegerattribute defined at extensionodata2webservicesfeaturetests.getCode()Generated method - Getter of theTestIntegrationItem.codeattribute defined at extensionodata2webservicesfeaturetests.Generated method - Getter of theTestIntegrationItem.dateCollectionattribute defined at extensionodata2webservicesfeaturetests.Generated method - Getter of theTestIntegrationItem.detailattribute defined at extensionodata2webservicesfeaturetests.Generated method - Getter of theTestIntegrationItem.detailsattribute defined at extensionodata2webservicesfeaturetests.Generated method - Getter of theTestIntegrationItem.enumListattribute defined at extensionodata2webservicesfeaturetests.getItem3()Generated method - Getter of theTestIntegrationItem.item3attribute defined at extensionodata2webservicesfeaturetests.Generated method - Getter of theTestIntegrationItem.otherItemattribute defined at extensionodata2webservicesfeaturetests.Generated method - Getter of theTestIntegrationItem.testEnumsattribute defined at extensionodata2webservicesfeaturetests.voidsetBigDecimal(BigDecimal value) Generated method - Setter ofTestIntegrationItem.bigDecimalattribute defined at extensionodata2webservicesfeaturetests.voidsetBigInteger(BigInteger value) Generated method - Setter ofTestIntegrationItem.bigIntegerattribute defined at extensionodata2webservicesfeaturetests.voidGenerated method - Setter ofTestIntegrationItem.codeattribute defined at extensionodata2webservicesfeaturetests.voidsetDateCollection(Collection<Date> value) Generated method - Setter ofTestIntegrationItem.dateCollectionattribute defined at extensionodata2webservicesfeaturetests.voidGenerated method - Setter ofTestIntegrationItem.detailattribute defined at extensionodata2webservicesfeaturetests.voidGenerated method - Setter ofTestIntegrationItem.detailsattribute defined at extensionodata2webservicesfeaturetests.voidsetEnumList(List<HttpMethod> value) Generated method - Setter ofTestIntegrationItem.enumListattribute defined at extensionodata2webservicesfeaturetests.voidGenerated method - Setter ofTestIntegrationItem.item3attribute defined at extensionodata2webservicesfeaturetests.voidGenerated method - Setter ofTestIntegrationItem.otherItemattribute defined at extensionodata2webservicesfeaturetests.voidGenerated method - Setter ofTestIntegrationItem.testEnumsattribute defined at extensionodata2webservicesfeaturetests.Methods inherited from class de.hybris.platform.core.model.test.TestItemType2Model
getBar, getFoo, getFooBar, getGender, getIntBar, getLocalizedFooBar, getLocalizedFooBar, getTestProperty1, getTestProperty2, getTestProperty2, setBar, setFoo, setFooBar, setIntBar, setLocalizedFooBar, setLocalizedFooBar, setTestProperty1, setTestProperty2, setTestProperty2Methods inherited from class de.hybris.platform.core.model.test.TestItemModel
getA, getB, getBoolean, getByte, getCharacter, getDate, getDouble, getFloat, getInteger, getLong, getLongString, getPrimitiveBoolean, getPrimitiveByte, getPrimitiveChar, getPrimitiveDouble, getPrimitiveFloat, getPrimitiveInteger, getPrimitiveLong, getPrimitiveShort, getSerializable, getString, getTestDumpProperty, getTestProperty0, setA, setB, setBoolean, setByte, setCharacter, setDate, setDouble, setFloat, setInteger, setLong, setLongString, setPrimitiveBoolean, setPrimitiveByte, setPrimitiveChar, setPrimitiveDouble, setPrimitiveFloat, setPrimitiveInteger, setPrimitiveLong, setPrimitiveShort, setSerializable, setString, setTestDumpProperty, setTestProperty0Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CODE
Generated constant - Attribute key ofTestIntegrationItem.codeattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
OTHERITEM
Generated constant - Attribute key ofTestIntegrationItem.otherItemattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
ITEM3
Generated constant - Attribute key ofTestIntegrationItem.item3attribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
DETAIL
Generated constant - Attribute key ofTestIntegrationItem.detailattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
BIGDECIMAL
Generated constant - Attribute key ofTestIntegrationItem.bigDecimalattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
DATECOLLECTION
Generated constant - Attribute key ofTestIntegrationItem.dateCollectionattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
BIGINTEGER
Generated constant - Attribute key ofTestIntegrationItem.bigIntegerattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
ENUMLIST
Generated constant - Attribute key ofTestIntegrationItem.enumListattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
DETAILS
Generated constant - Attribute key ofTestIntegrationItem.detailsattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
TESTENUMS
Generated constant - Attribute key ofTestIntegrationItem.testEnumsattribute defined at extensionodata2webservicesfeaturetests.- See Also:
-
-
Constructor Details
-
TestIntegrationItemModel
public TestIntegrationItemModel()Generated constructor - Default constructor for generic creation. -
TestIntegrationItemModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TestIntegrationItemModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeTestIntegrationItemat extensionodata2webservicesfeaturetests
-
TestIntegrationItemModel
@Deprecated(since="4.1.1", forRemoval=true) public TestIntegrationItemModel(String _code, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeTestIntegrationItemat extensionodata2webservicesfeaturetests_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getBigDecimal
Generated method - Getter of theTestIntegrationItem.bigDecimalattribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the bigDecimal
-
getBigInteger
Generated method - Getter of theTestIntegrationItem.bigIntegerattribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the bigInteger
-
getCode
Generated method - Getter of theTestIntegrationItem.codeattribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the code - Unique identifier of the item because TestItemType2 does not have a unique identifier.
-
getDateCollection
Generated method - Getter of theTestIntegrationItem.dateCollectionattribute defined at extensionodata2webservicesfeaturetests. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the dateCollection - Defines an optional date collection.
-
getDetail
Generated method - Getter of theTestIntegrationItem.detailattribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the detail - Defines optional one-to-one association between this item and a TestIntegrationItemDetail.
-
getDetails
@Accessor(qualifier="details", type=GETTER) public List<TestIntegrationItemDetailModel> getDetails()Generated method - Getter of theTestIntegrationItem.detailsattribute defined at extensionodata2webservicesfeaturetests. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the details
-
getEnumList
Generated method - Getter of theTestIntegrationItem.enumListattribute defined at extensionodata2webservicesfeaturetests. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the enumList
-
getItem3
Generated method - Getter of theTestIntegrationItem.item3attribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the item3
-
getOtherItem
Generated method - Getter of theTestIntegrationItem.otherItemattribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the otherItem - Reference to another TestIntegrationItem, which can be used for testing conditions when the integration object references itself (same instance) or another item (different instance).
-
getTestEnums
@Accessor(qualifier="testEnums", type=GETTER) public Set<OData2webservicesFeatureTestPropertiesTypes> getTestEnums()Generated method - Getter of theTestIntegrationItem.testEnumsattribute defined at extensionodata2webservicesfeaturetests. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the testEnums
-
setBigDecimal
Generated method - Setter ofTestIntegrationItem.bigDecimalattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the bigDecimal
-
setBigInteger
Generated method - Setter ofTestIntegrationItem.bigIntegerattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the bigInteger
-
setCode
Generated method - Setter ofTestIntegrationItem.codeattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the code - Unique identifier of the item because TestItemType2 does not have a unique identifier.
-
setDateCollection
@Accessor(qualifier="dateCollection", type=SETTER) public void setDateCollection(Collection<Date> value) Generated method - Setter ofTestIntegrationItem.dateCollectionattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the dateCollection - Defines an optional date collection.
-
setDetail
@Accessor(qualifier="detail", type=SETTER) public void setDetail(TestIntegrationItemDetailModel value) Generated method - Setter ofTestIntegrationItem.detailattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the detail - Defines optional one-to-one association between this item and a TestIntegrationItemDetail.
-
setDetails
@Accessor(qualifier="details", type=SETTER) public void setDetails(List<TestIntegrationItemDetailModel> value) Generated method - Setter ofTestIntegrationItem.detailsattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the details
-
setEnumList
Generated method - Setter ofTestIntegrationItem.enumListattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the enumList
-
setItem3
Generated method - Setter ofTestIntegrationItem.item3attribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the item3
-
setOtherItem
@Accessor(qualifier="otherItem", type=SETTER) public void setOtherItem(TestIntegrationItemModel value) Generated method - Setter ofTestIntegrationItem.otherItemattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the otherItem - Reference to another TestIntegrationItem, which can be used for testing conditions when the integration object references itself (same instance) or another item (different instance).
-
setTestEnums
@Accessor(qualifier="testEnums", type=SETTER) public void setTestEnums(Set<OData2webservicesFeatureTestPropertiesTypes> value) Generated method - Setter ofTestIntegrationItem.testEnumsattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the testEnums
-