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:
java.io.Serializable
- Direct Known Subclasses:
TestIntegrationItemDetailModel,TestIntegrationItemModel,TestItemType3Model
public class TestItemType2Model extends TestItemModel
Generated model class for type TestItemType2 first defined at extension core.- 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_TYPECODEGenerated model type code constant.static java.lang.StringBARGenerated constant - Attribute key ofTestItemType2.barattribute defined at extensioncore.static java.lang.StringFOOGenerated constant - Attribute key ofTestItemType2.fooattribute defined at extensioncore.static java.lang.StringFOOBARGenerated constant - Attribute key ofTestItemType2.fooBarattribute defined at extensioncore.static java.lang.StringGENDERGenerated constant - Attribute key ofTestItemType2.genderattribute defined at extensioncore.static java.lang.StringINTBARGenerated constant - Attribute key ofTestItemType2.intBarattribute defined at extensioncore.static java.lang.StringLOCALIZEDFOOBARGenerated constant - Attribute key ofTestItemType2.localizedFooBarattribute defined at extensioncore.static java.lang.StringTESTPROPERTY1Generated constant - Attribute key ofTestItemType2.testProperty1attribute defined at extensioncore.static java.lang.StringTESTPROPERTY2Generated 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, 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 TestItemType2Model()Generated 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(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBar()Generated method - Getter of theTestItemType2.barattribute defined at extensioncore.java.lang.StringgetFoo()Generated method - Getter of theTestItemType2.fooattribute defined at extensioncore.java.lang.StringgetFooBar()Generated method - Getter of theTestItemType2.fooBardynamic attribute defined at extensioncore.GendergetGender()Generated method - Getter of theTestItemType2.genderdynamic attribute defined at extensioncore.intgetIntBar()Generated method - Getter of theTestItemType2.intBardynamic attribute defined at extensioncore.java.lang.StringgetLocalizedFooBar()Generated method - Getter of theTestItemType2.localizedFooBardynamic attribute defined at extensioncore.java.lang.StringgetLocalizedFooBar(java.util.Locale loc)Generated method - Getter of theTestItemType2.localizedFooBardynamic attribute defined at extensioncore.java.lang.IntegergetTestProperty1()Generated method - Getter of theTestItemType2.testProperty1attribute defined at extensioncore.java.lang.StringgetTestProperty2()Generated method - Getter of theTestItemType2.testProperty2attribute defined at extensioncore.java.lang.StringgetTestProperty2(java.util.Locale loc)Generated method - Getter of theTestItemType2.testProperty2attribute defined at extensioncore.voidsetBar(java.lang.String value)Generated method - Setter ofTestItemType2.barattribute defined at extensioncore.voidsetFoo(java.lang.String value)Generated method - Setter ofTestItemType2.fooattribute defined at extensioncore.voidsetFooBar(java.lang.String value)Generated method - Setter ofTestItemType2.fooBardynamic attribute defined at extensioncore.voidsetIntBar(int value)Generated method - Setter ofTestItemType2.intBardynamic attribute defined at extensioncore.voidsetLocalizedFooBar(java.lang.String value)Generated method - Setter ofTestItemType2.localizedFooBardynamic attribute defined at extensioncore.voidsetLocalizedFooBar(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTestItemType2.localizedFooBardynamic attribute defined at extensioncore.voidsetTestProperty1(java.lang.Integer value)Generated method - Setter ofTestItemType2.testProperty1attribute defined at extensioncore.voidsetTestProperty2(java.lang.String value)Generated method - Setter ofTestItemType2.testProperty2attribute defined at extensioncore.voidsetTestProperty2(java.lang.String value, java.util.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, 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
-
TESTPROPERTY1
public static final java.lang.String TESTPROPERTY1
Generated constant - Attribute key ofTestItemType2.testProperty1attribute defined at extensioncore.- See Also:
- Constant Field Values
-
TESTPROPERTY2
public static final java.lang.String TESTPROPERTY2
Generated constant - Attribute key ofTestItemType2.testProperty2attribute defined at extensioncore.- See Also:
- Constant Field Values
-
FOO
public static final java.lang.String FOO
Generated constant - Attribute key ofTestItemType2.fooattribute defined at extensioncore.- See Also:
- Constant Field Values
-
BAR
public static final java.lang.String BAR
Generated constant - Attribute key ofTestItemType2.barattribute defined at extensioncore.- See Also:
- Constant Field Values
-
FOOBAR
public static final java.lang.String FOOBAR
Generated constant - Attribute key ofTestItemType2.fooBarattribute defined at extensioncore.- See Also:
- Constant Field Values
-
INTBAR
public static final java.lang.String INTBAR
Generated constant - Attribute key ofTestItemType2.intBarattribute defined at extensioncore.- See Also:
- Constant Field Values
-
GENDER
public static final java.lang.String GENDER
Generated constant - Attribute key ofTestItemType2.genderattribute defined at extensioncore.- See Also:
- Constant Field Values
-
LOCALIZEDFOOBAR
public static final java.lang.String LOCALIZEDFOOBAR
Generated constant - Attribute key ofTestItemType2.localizedFooBarattribute defined at extensioncore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TestItemType2Model
public TestItemType2Model()
Generated constructor - Default constructor for generic creation.
-
TestItemType2Model
public TestItemType2Model(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(since="4.1.1", forRemoval=true) public 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getBar
@Accessor(qualifier="bar", type=GETTER) public java.lang.String getBar()
Generated method - Getter of theTestItemType2.barattribute defined at extensioncore.- Returns:
- the bar
-
getFoo
@Accessor(qualifier="foo", type=GETTER) public java.lang.String getFoo()
Generated method - Getter of theTestItemType2.fooattribute defined at extensioncore.- Returns:
- the foo
-
getFooBar
@Accessor(qualifier="fooBar", type=GETTER) public java.lang.String getFooBar()
Generated method - Getter of theTestItemType2.fooBardynamic attribute defined at extensioncore.- Returns:
- the fooBar
-
getGender
@Accessor(qualifier="gender", type=GETTER) public Gender 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
@Accessor(qualifier="localizedFooBar", type=GETTER) public java.lang.String getLocalizedFooBar()
Generated method - Getter of theTestItemType2.localizedFooBardynamic attribute defined at extensioncore.- Returns:
- the localizedFooBar
-
getLocalizedFooBar
@Accessor(qualifier="localizedFooBar", type=GETTER) public java.lang.String getLocalizedFooBar(java.util.Locale loc)
Generated method - Getter of theTestItemType2.localizedFooBardynamic attribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the localizedFooBar
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getTestProperty1
@Accessor(qualifier="testProperty1", type=GETTER) public java.lang.Integer getTestProperty1()
Generated method - Getter of theTestItemType2.testProperty1attribute defined at extensioncore.- Returns:
- the testProperty1
-
getTestProperty2
@Accessor(qualifier="testProperty2", type=GETTER) public java.lang.String getTestProperty2()
Generated method - Getter of theTestItemType2.testProperty2attribute defined at extensioncore.- Returns:
- the testProperty2
-
getTestProperty2
@Accessor(qualifier="testProperty2", type=GETTER) public java.lang.String getTestProperty2(java.util.Locale loc)
Generated method - Getter of theTestItemType2.testProperty2attribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the testProperty2
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setBar
@Accessor(qualifier="bar", type=SETTER) public void setBar(java.lang.String value)
Generated method - Setter ofTestItemType2.barattribute defined at extensioncore.- Parameters:
value- the bar
-
setFoo
@Accessor(qualifier="foo", type=SETTER) public void setFoo(java.lang.String value)
Generated method - Setter ofTestItemType2.fooattribute defined at extensioncore.- Parameters:
value- the foo
-
setFooBar
@Accessor(qualifier="fooBar", type=SETTER) public void setFooBar(java.lang.String value)
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
@Accessor(qualifier="localizedFooBar", type=SETTER) public void setLocalizedFooBar(java.lang.String value)
Generated method - Setter ofTestItemType2.localizedFooBardynamic attribute defined at extensioncore.- Parameters:
value- the localizedFooBar
-
setLocalizedFooBar
@Accessor(qualifier="localizedFooBar", type=SETTER) public void setLocalizedFooBar(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofTestItemType2.localizedFooBardynamic attribute defined at extensioncore.- Parameters:
value- the localizedFooBarloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setTestProperty1
@Accessor(qualifier="testProperty1", type=SETTER) public void setTestProperty1(java.lang.Integer value)
Generated method - Setter ofTestItemType2.testProperty1attribute defined at extensioncore.- Parameters:
value- the testProperty1
-
setTestProperty2
@Accessor(qualifier="testProperty2", type=SETTER) public void setTestProperty2(java.lang.String value)
Generated method - Setter ofTestItemType2.testProperty2attribute defined at extensioncore.- Parameters:
value- the testProperty2
-
setTestProperty2
@Accessor(qualifier="testProperty2", type=SETTER) public void setTestProperty2(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofTestItemType2.testProperty2attribute defined at extensioncore.- Parameters:
value- the testProperty2loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
-