Class AbstractItemModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DummyModel,ItemModel
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals implementation based on pk.protected ItemModelInternalContextgetPk()<T> TgetProperty(String name) <T> TgetProperty(String name, Locale locale) inthashCode()Hash code based on PK.voidsetProperty(String name, Object value) voidsetProperty(String name, Locale locale, Object value) protected static BooleantoObject(boolean value) protected static BytetoObject(byte value) protected static CharactertoObject(char value) protected static DoubletoObject(double value) protected static FloattoObject(float value) protected static IntegertoObject(int value) protected static LongtoObject(long value) protected static ShorttoObject(short value) protected static booleantoPrimitive(Boolean value) protected static bytetoPrimitive(Byte value) protected static chartoPrimitive(Character value) protected static doubletoPrimitive(Double value) protected static floattoPrimitive(Float value) protected static inttoPrimitive(Integer value) protected static longtoPrimitive(Long value) protected static shorttoPrimitive(Short value) toString()
-
Field Details
-
MODEL_CONTEXT_FACTORY
- See Also:
-
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER
- See Also:
-
-
Constructor Details
-
AbstractItemModel
public AbstractItemModel() -
AbstractItemModel
-
-
Method Details
-
getItemModelContext
-
getPersistenceContext
-
getTenantId
-
getPk
-
getItemtype
-
getProperty
-
setProperty
-
getProperty
-
setProperty
-
equals
Equals implementation based on pk. If pk isnullthe super equals is used. -
hashCode
public int hashCode()Hash code based on PK. If PK isnullthe object hash code is used. -
toString
-
writeReplace
- Throws:
ObjectStreamException
-
readResolve
- Throws:
ObjectStreamException
-
toPrimitive
-
toPrimitive
-
toPrimitive
-
toPrimitive
-
toPrimitive
-
toPrimitive
-
toPrimitive
-
toPrimitive
-
toObject
-
toObject
-
toObject
-
toObject
-
toObject
-
toObject
-
toObject
-
toObject
-