Package de.hybris.platform.b2b.model
Class B2BCommentModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.b2b.model.B2BCommentModel
-
- All Implemented Interfaces:
java.io.Serializable
public class B2BCommentModel extends ItemModel
Generated model class for type B2BComment first defined at extension b2bcommerce.- 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
_ABSTRACTORDER2B2BCOMMENT
Generated relation code constant for relationAbstractOrder2B2BComment
defining source attributeorder
in extensionb2bcommerce
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CODE
Generated constant - Attribute key ofB2BComment.code
attribute defined at extensionb2bcommerce
.static java.lang.String
COMMENT
Generated constant - Attribute key ofB2BComment.comment
attribute defined at extensionb2bcommerce
.static java.lang.String
MODIFIEDDATE
Generated constant - Attribute key ofB2BComment.modifiedDate
attribute defined at extensionb2bcommerce
.static java.lang.String
ORDER
Generated constant - Attribute key ofB2BComment.order
attribute defined at extensionb2bcommerce
.-
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 B2BCommentModel()
Generated constructor - Default constructor for generic creation.B2BCommentModel(UserModel _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 parametersB2BCommentModel(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.String
getCode()
Generated method - Getter of theB2BComment.code
attribute defined at extensionb2bcommerce
.java.lang.String
getComment()
Generated method - Getter of theB2BComment.comment
attribute defined at extensionb2bcommerce
.java.util.Date
getModifiedDate()
Generated method - Getter of theB2BComment.modifiedDate
attribute defined at extensionb2bcommerce
.AbstractOrderModel
getOrder()
Generated method - Getter of theB2BComment.order
attribute defined at extensionb2bcommerce
.UserModel
getOwner()
Generated method - Getter of theItem.owner
attribute defined at extensioncore
and redeclared at extensionb2bcommerce
.void
setCode(java.lang.String value)
Generated method - Setter ofB2BComment.code
attribute defined at extensionb2bcommerce
.void
setComment(java.lang.String value)
Generated method - Setter ofB2BComment.comment
attribute defined at extensionb2bcommerce
.void
setModifiedDate(java.util.Date value)
Generated method - Setter ofB2BComment.modifiedDate
attribute defined at extensionb2bcommerce
.void
setOrder(AbstractOrderModel value)
Generated method - Setter ofB2BComment.order
attribute defined at extensionb2bcommerce
.void
setOwner(ItemModel value)
Generated method - Setter ofItem.owner
attribute defined at extensioncore
and redeclared at extensionb2bcommerce
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, isSealed, setComments, setCreationtime, setModifiedtime
-
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
-
_ABSTRACTORDER2B2BCOMMENT
public static final java.lang.String _ABSTRACTORDER2B2BCOMMENT
Generated relation code constant for relationAbstractOrder2B2BComment
defining source attributeorder
in extensionb2bcommerce
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofB2BComment.code
attribute defined at extensionb2bcommerce
.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Generated constant - Attribute key ofB2BComment.comment
attribute defined at extensionb2bcommerce
.- See Also:
- Constant Field Values
-
MODIFIEDDATE
public static final java.lang.String MODIFIEDDATE
Generated constant - Attribute key ofB2BComment.modifiedDate
attribute defined at extensionb2bcommerce
.- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Generated constant - Attribute key ofB2BComment.order
attribute defined at extensionb2bcommerce
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
B2BCommentModel
public B2BCommentModel()
Generated constructor - Default constructor for generic creation.
-
B2BCommentModel
public B2BCommentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
B2BCommentModel
@Deprecated(since="4.1.1", forRemoval=true) public B2BCommentModel(UserModel _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 typeB2BComment
at extensionb2bcommerce
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theB2BComment.code
attribute defined at extensionb2bcommerce
.- Returns:
- the code
-
getComment
@Accessor(qualifier="comment", type=GETTER) public java.lang.String getComment()
Generated method - Getter of theB2BComment.comment
attribute defined at extensionb2bcommerce
.- Returns:
- the comment
-
getModifiedDate
@Accessor(qualifier="modifiedDate", type=GETTER) public java.util.Date getModifiedDate()
Generated method - Getter of theB2BComment.modifiedDate
attribute defined at extensionb2bcommerce
.- Returns:
- the modifiedDate
-
getOrder
@Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
Generated method - Getter of theB2BComment.order
attribute defined at extensionb2bcommerce
.- Returns:
- the order
-
getOwner
@Accessor(qualifier="owner", type=GETTER) public UserModel getOwner()
Generated method - Getter of theItem.owner
attribute defined at extensioncore
and redeclared at extensionb2bcommerce
.
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofB2BComment.code
attribute defined at extensionb2bcommerce
.- Parameters:
value
- the code
-
setComment
@Accessor(qualifier="comment", type=SETTER) public void setComment(java.lang.String value)
Generated method - Setter ofB2BComment.comment
attribute defined at extensionb2bcommerce
.- Parameters:
value
- the comment
-
setModifiedDate
@Accessor(qualifier="modifiedDate", type=SETTER) public void setModifiedDate(java.util.Date value)
Generated method - Setter ofB2BComment.modifiedDate
attribute defined at extensionb2bcommerce
.- Parameters:
value
- the modifiedDate
-
setOrder
@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
Generated method - Setter ofB2BComment.order
attribute defined at extensionb2bcommerce
.- Parameters:
value
- the order
-
-