Class TestIntegrationItemDetailModel
- 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.TestIntegrationItemDetailModel
-
- All Implemented Interfaces:
java.io.Serializable
public class TestIntegrationItemDetailModel extends TestItemType2Model
Generated model class for type TestIntegrationItemDetail first defined at extension odata2webservicesfeaturetests.An item type to simulate various kinds of relationships, i.e. one-to-many (master/detail), one-to-one, etc., between the TestIntegrationItem and TestIntegrationItemDetail.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TESTINTITEM2TESTINTITEMDETAILGenerated relation code constant for relationTestIntItem2testIntItemDetaildefining source attributemasterin extensionodata2webservicesfeaturetests.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCODEGenerated constant - Attribute key ofTestIntegrationItemDetail.codeattribute defined at extensionodata2webservicesfeaturetests.static java.lang.StringITEMGenerated constant - Attribute key ofTestIntegrationItemDetail.itemattribute defined at extensionodata2webservicesfeaturetests.static java.lang.StringMASTERGenerated constant - Attribute key ofTestIntegrationItemDetail.masterattribute defined at extensionodata2webservicesfeaturetests.-
Fields inherited from class de.hybris.platform.core.model.test.TestItemType2Model
BAR, FOO, FOOBAR, GENDER, INTBAR, LOCALIZEDFOOBAR, TESTPROPERTY1, TESTPROPERTY2
-
Fields 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, TESTPROPERTY0
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description TestIntegrationItemDetailModel()Generated constructor - Default constructor for generic creation.TestIntegrationItemDetailModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextTestIntegrationItemDetailModel(java.lang.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 parametersTestIntegrationItemDetailModel(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Generated method - Getter of theTestIntegrationItemDetail.codeattribute defined at extensionodata2webservicesfeaturetests.TestIntegrationItemModelgetItem()Generated method - Getter of theTestIntegrationItemDetail.itemattribute defined at extensionodata2webservicesfeaturetests.TestIntegrationItemModelgetMaster()Generated method - Getter of theTestIntegrationItemDetail.masterattribute defined at extensionodata2webservicesfeaturetests.voidsetCode(java.lang.String value)Generated method - Setter ofTestIntegrationItemDetail.codeattribute defined at extensionodata2webservicesfeaturetests.voidsetItem(TestIntegrationItemModel value)Generated method - Setter ofTestIntegrationItemDetail.itemattribute defined at extensionodata2webservicesfeaturetests.voidsetMaster(TestIntegrationItemModel value)Generated method - Setter ofTestIntegrationItemDetail.masterattribute 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, setTestProperty2
-
Methods 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, setTestProperty0
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_TESTINTITEM2TESTINTITEMDETAIL
public static final java.lang.String _TESTINTITEM2TESTINTITEMDETAIL
Generated relation code constant for relationTestIntItem2testIntItemDetaildefining source attributemasterin extensionodata2webservicesfeaturetests.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofTestIntegrationItemDetail.codeattribute defined at extensionodata2webservicesfeaturetests.- See Also:
- Constant Field Values
-
ITEM
public static final java.lang.String ITEM
Generated constant - Attribute key ofTestIntegrationItemDetail.itemattribute defined at extensionodata2webservicesfeaturetests.- See Also:
- Constant Field Values
-
MASTER
public static final java.lang.String MASTER
Generated constant - Attribute key ofTestIntegrationItemDetail.masterattribute defined at extensionodata2webservicesfeaturetests.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TestIntegrationItemDetailModel
public TestIntegrationItemDetailModel()
Generated constructor - Default constructor for generic creation.
-
TestIntegrationItemDetailModel
public TestIntegrationItemDetailModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TestIntegrationItemDetailModel
@Deprecated(since="4.1.1", forRemoval=true) public TestIntegrationItemDetailModel(java.lang.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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeTestIntegrationItemDetailat extensionodata2webservicesfeaturetests
-
TestIntegrationItemDetailModel
@Deprecated(since="4.1.1", forRemoval=true) public TestIntegrationItemDetailModel(java.lang.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 typeTestIntegrationItemDetailat extensionodata2webservicesfeaturetests_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theTestIntegrationItemDetail.codeattribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the code - Unique identifier of this detail item.
-
getItem
@Accessor(qualifier="item", type=GETTER) public TestIntegrationItemModel getItem()
Generated method - Getter of theTestIntegrationItemDetail.itemattribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the item - Defines optional one-to-one association between this detail and a TestIntegrationItem.
-
getMaster
@Accessor(qualifier="master", type=GETTER) public TestIntegrationItemModel getMaster()
Generated method - Getter of theTestIntegrationItemDetail.masterattribute defined at extensionodata2webservicesfeaturetests.- Returns:
- the master
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofTestIntegrationItemDetail.codeattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the code - Unique identifier of this detail item.
-
setItem
@Accessor(qualifier="item", type=SETTER) public void setItem(TestIntegrationItemModel value)
Generated method - Setter ofTestIntegrationItemDetail.itemattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the item - Defines optional one-to-one association between this detail and a TestIntegrationItem.
-
setMaster
@Accessor(qualifier="master", type=SETTER) public void setMaster(TestIntegrationItemModel value)
Generated method - Setter ofTestIntegrationItemDetail.masterattribute defined at extensionodata2webservicesfeaturetests.- Parameters:
value- the master
-
-