Class TestItemType2Model
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TestItemType3Model
Generated model class for type TestItemType2 first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTestItemType2.barattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofTestItemType2.fooattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofTestItemType2.fooBarattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofTestItemType2.genderattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofTestItemType2.intBarattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofTestItemType2.localizedFooBarattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofTestItemType2.testProperty1attribute defined at extensioncore.static final StringGenerated constant - Attribute key ofTestItemType2.testProperty2attribute defined at extensioncore.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, 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.TestItemType2Model(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 parametersTestItemType2Model(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptiongetBar()Generated method - Getter of theTestItemType2.barattribute defined at extensioncore.getFoo()Generated method - Getter of theTestItemType2.fooattribute defined at extensioncore.Generated method - Getter of theTestItemType2.fooBardynamic attribute defined at extensioncore.Generated method - Getter of theTestItemType2.genderdynamic attribute defined at extensioncore.intGenerated method - Getter of theTestItemType2.intBardynamic attribute defined at extensioncore.Generated method - Getter of theTestItemType2.localizedFooBardynamic attribute defined at extensioncore.getLocalizedFooBar(Locale loc) Generated method - Getter of theTestItemType2.localizedFooBardynamic attribute defined at extensioncore.Generated method - Getter of theTestItemType2.testProperty1attribute defined at extensioncore.Generated method - Getter of theTestItemType2.testProperty2attribute defined at extensioncore.getTestProperty2(Locale loc) Generated method - Getter of theTestItemType2.testProperty2attribute defined at extensioncore.voidGenerated method - Setter ofTestItemType2.barattribute defined at extensioncore.voidGenerated method - Setter ofTestItemType2.fooattribute defined at extensioncore.voidGenerated method - Setter ofTestItemType2.fooBardynamic attribute defined at extensioncore.voidsetIntBar(int value) Generated method - Setter ofTestItemType2.intBardynamic attribute defined at extensioncore.voidsetLocalizedFooBar(String value) Generated method - Setter ofTestItemType2.localizedFooBardynamic attribute defined at extensioncore.voidsetLocalizedFooBar(String value, Locale loc) Generated method - Setter ofTestItemType2.localizedFooBardynamic attribute defined at extensioncore.voidsetTestProperty1(Integer value) Generated method - Setter ofTestItemType2.testProperty1attribute defined at extensioncore.voidsetTestProperty2(String value) Generated method - Setter ofTestItemType2.testProperty2attribute defined at extensioncore.voidsetTestProperty2(String value, Locale loc) Generated method - Setter ofTestItemType2.testProperty2attribute defined at extensioncore.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, 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:
-
TESTPROPERTY1
Generated constant - Attribute key ofTestItemType2.testProperty1attribute defined at extensioncore.- See Also:
-
TESTPROPERTY2
Generated constant - Attribute key ofTestItemType2.testProperty2attribute defined at extensioncore.- See Also:
-
FOO
Generated constant - Attribute key ofTestItemType2.fooattribute defined at extensioncore.- See Also:
-
BAR
Generated constant - Attribute key ofTestItemType2.barattribute defined at extensioncore.- See Also:
-
FOOBAR
Generated constant - Attribute key ofTestItemType2.fooBarattribute defined at extensioncore.- See Also:
-
INTBAR
Generated constant - Attribute key ofTestItemType2.intBarattribute defined at extensioncore.- See Also:
-
GENDER
Generated constant - Attribute key ofTestItemType2.genderattribute defined at extensioncore.- See Also:
-
LOCALIZEDFOOBAR
Generated constant - Attribute key ofTestItemType2.localizedFooBarattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
TestItemType2Model
public TestItemType2Model()Generated constructor - Default constructor for generic creation. -
TestItemType2Model
public TestItemType2Model(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TestItemType2Model
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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getBar
Generated method - Getter of theTestItemType2.barattribute defined at extensioncore.- Returns:
- the bar
-
getFoo
Generated method - Getter of theTestItemType2.fooattribute defined at extensioncore.- Returns:
- the foo
-
getFooBar
Generated method - Getter of theTestItemType2.fooBardynamic attribute defined at extensioncore.- Returns:
- the fooBar
-
getGender
Generated method - Getter of theTestItemType2.genderdynamic attribute defined at extensioncore.- Returns:
- the gender
-
getIntBar
@Accessor(qualifier="intBar", type=GETTER) public int getIntBar()Generated method - Getter of theTestItemType2.intBardynamic attribute defined at extensioncore.- Returns:
- the intBar
-
getLocalizedFooBar
Generated method - Getter of theTestItemType2.localizedFooBardynamic attribute defined at extensioncore.- Returns:
- the localizedFooBar
-
getLocalizedFooBar
Generated method - Getter of theTestItemType2.localizedFooBardynamic attribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the localizedFooBar
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getTestProperty1
Generated method - Getter of theTestItemType2.testProperty1attribute defined at extensioncore.- Returns:
- the testProperty1
-
getTestProperty2
Generated method - Getter of theTestItemType2.testProperty2attribute defined at extensioncore.- Returns:
- the testProperty2
-
getTestProperty2
Generated method - Getter of theTestItemType2.testProperty2attribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the testProperty2
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setBar
Generated method - Setter ofTestItemType2.barattribute defined at extensioncore.- Parameters:
value- the bar
-
setFoo
Generated method - Setter ofTestItemType2.fooattribute defined at extensioncore.- Parameters:
value- the foo
-
setFooBar
Generated method - Setter ofTestItemType2.fooBardynamic attribute defined at extensioncore.- Parameters:
value- the fooBar
-
setIntBar
@Accessor(qualifier="intBar", type=SETTER) public void setIntBar(int value) Generated method - Setter ofTestItemType2.intBardynamic attribute defined at extensioncore.- Parameters:
value- the intBar
-
setLocalizedFooBar
Generated method - Setter ofTestItemType2.localizedFooBardynamic attribute defined at extensioncore.- Parameters:
value- the localizedFooBar
-
setLocalizedFooBar
@Accessor(qualifier="localizedFooBar", type=SETTER) public void setLocalizedFooBar(String value, Locale loc) Generated method - Setter ofTestItemType2.localizedFooBardynamic attribute defined at extensioncore.- Parameters:
value- the localizedFooBarloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setTestProperty1
Generated method - Setter ofTestItemType2.testProperty1attribute defined at extensioncore.- Parameters:
value- the testProperty1
-
setTestProperty2
Generated method - Setter ofTestItemType2.testProperty2attribute defined at extensioncore.- Parameters:
value- the testProperty2
-
setTestProperty2
@Accessor(qualifier="testProperty2", type=SETTER) public void setTestProperty2(String value, Locale loc) Generated method - Setter ofTestItemType2.testProperty2attribute defined at extensioncore.- Parameters:
value- the testProperty2loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-