Class ConversationModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.messagecentercsservices.model.ConversationModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ConversationModel extends ItemModel
Generated model class for type Conversation first defined at extension messagecentercsservices.- 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.StringAGENTGenerated constant - Attribute key ofConversation.agentattribute defined at extensionmessagecentercsservices.static java.lang.StringCLOSETIMEGenerated constant - Attribute key ofConversation.closeTimeattribute defined at extensionmessagecentercsservices.static java.lang.StringCUSTOMERGenerated constant - Attribute key ofConversation.customerattribute defined at extensionmessagecentercsservices.static java.lang.StringMESSAGESGenerated constant - Attribute key ofConversation.messagesattribute defined at extensionmessagecentercsservices.static java.lang.StringSTATUSGenerated constant - Attribute key ofConversation.statusattribute defined at extensionmessagecentercsservices.static java.lang.StringUIDGenerated constant - Attribute key ofConversation.uidattribute defined at extensionmessagecentercsservices.-
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 ConversationModel()Generated constructor - Default constructor for generic creation.ConversationModel(CustomerModel _customer, java.lang.String _messages, ItemModel _owner, java.lang.String _uid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersConversationModel(CustomerModel _customer, java.lang.String _messages, java.lang.String _uid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersConversationModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmployeeModelgetAgent()Generated method - Getter of theConversation.agentattribute defined at extensionmessagecentercsservices.java.util.DategetCloseTime()Generated method - Getter of theConversation.closeTimeattribute defined at extensionmessagecentercsservices.CustomerModelgetCustomer()Generated method - Getter of theConversation.customerattribute defined at extensionmessagecentercsservices.java.lang.StringgetMessages()Generated method - Getter of theConversation.messagesattribute defined at extensionmessagecentercsservices.ConversationStatusgetStatus()Generated method - Getter of theConversation.statusattribute defined at extensionmessagecentercsservices.java.lang.StringgetUid()Generated method - Getter of theConversation.uidattribute defined at extensionmessagecentercsservices.voidsetAgent(EmployeeModel value)Generated method - Setter ofConversation.agentattribute defined at extensionmessagecentercsservices.voidsetCloseTime(java.util.Date value)Generated method - Setter ofConversation.closeTimeattribute defined at extensionmessagecentercsservices.voidsetCustomer(CustomerModel value)Generated method - Setter ofConversation.customerattribute defined at extensionmessagecentercsservices.voidsetMessages(java.lang.String value)Generated method - Setter ofConversation.messagesattribute defined at extensionmessagecentercsservices.voidsetStatus(ConversationStatus value)Generated method - Setter ofConversation.statusattribute defined at extensionmessagecentercsservices.voidsetUid(java.lang.String value)Generated method - Setter ofConversation.uidattribute defined at extensionmessagecentercsservices.-
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
-
UID
public static final java.lang.String UID
Generated constant - Attribute key ofConversation.uidattribute defined at extensionmessagecentercsservices.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofConversation.statusattribute defined at extensionmessagecentercsservices.- See Also:
- Constant Field Values
-
AGENT
public static final java.lang.String AGENT
Generated constant - Attribute key ofConversation.agentattribute defined at extensionmessagecentercsservices.- See Also:
- Constant Field Values
-
CUSTOMER
public static final java.lang.String CUSTOMER
Generated constant - Attribute key ofConversation.customerattribute defined at extensionmessagecentercsservices.- See Also:
- Constant Field Values
-
CLOSETIME
public static final java.lang.String CLOSETIME
Generated constant - Attribute key ofConversation.closeTimeattribute defined at extensionmessagecentercsservices.- See Also:
- Constant Field Values
-
MESSAGES
public static final java.lang.String MESSAGES
Generated constant - Attribute key ofConversation.messagesattribute defined at extensionmessagecentercsservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConversationModel
public ConversationModel()
Generated constructor - Default constructor for generic creation.
-
ConversationModel
public ConversationModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ConversationModel
@Deprecated(since="4.1.1", forRemoval=true) public ConversationModel(CustomerModel _customer, java.lang.String _messages, java.lang.String _uid)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:
_customer- initial attribute declared by typeConversationat extensionmessagecentercsservices_messages- initial attribute declared by typeConversationat extensionmessagecentercsservices_uid- initial attribute declared by typeConversationat extensionmessagecentercsservices
-
ConversationModel
@Deprecated(since="4.1.1", forRemoval=true) public ConversationModel(CustomerModel _customer, java.lang.String _messages, ItemModel _owner, java.lang.String _uid)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:
_customer- initial attribute declared by typeConversationat extensionmessagecentercsservices_messages- initial attribute declared by typeConversationat extensionmessagecentercsservices_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeConversationat extensionmessagecentercsservices
-
-
Method Detail
-
getAgent
@Accessor(qualifier="agent", type=GETTER) public EmployeeModel getAgent()
Generated method - Getter of theConversation.agentattribute defined at extensionmessagecentercsservices.- Returns:
- the agent
-
getCloseTime
@Accessor(qualifier="closeTime", type=GETTER) public java.util.Date getCloseTime()
Generated method - Getter of theConversation.closeTimeattribute defined at extensionmessagecentercsservices.- Returns:
- the closeTime
-
getCustomer
@Accessor(qualifier="customer", type=GETTER) public CustomerModel getCustomer()
Generated method - Getter of theConversation.customerattribute defined at extensionmessagecentercsservices.- Returns:
- the customer
-
getMessages
@Accessor(qualifier="messages", type=GETTER) public java.lang.String getMessages()
Generated method - Getter of theConversation.messagesattribute defined at extensionmessagecentercsservices.- Returns:
- the messages
-
getStatus
@Accessor(qualifier="status", type=GETTER) public ConversationStatus getStatus()
Generated method - Getter of theConversation.statusattribute defined at extensionmessagecentercsservices.- Returns:
- the status
-
getUid
@Accessor(qualifier="uid", type=GETTER) public java.lang.String getUid()
Generated method - Getter of theConversation.uidattribute defined at extensionmessagecentercsservices.- Returns:
- the uid
-
setAgent
@Accessor(qualifier="agent", type=SETTER) public void setAgent(EmployeeModel value)
Generated method - Setter ofConversation.agentattribute defined at extensionmessagecentercsservices.- Parameters:
value- the agent
-
setCloseTime
@Accessor(qualifier="closeTime", type=SETTER) public void setCloseTime(java.util.Date value)
Generated method - Setter ofConversation.closeTimeattribute defined at extensionmessagecentercsservices.- Parameters:
value- the closeTime
-
setCustomer
@Accessor(qualifier="customer", type=SETTER) public void setCustomer(CustomerModel value)
Generated method - Setter ofConversation.customerattribute defined at extensionmessagecentercsservices.- Parameters:
value- the customer
-
setMessages
@Accessor(qualifier="messages", type=SETTER) public void setMessages(java.lang.String value)
Generated method - Setter ofConversation.messagesattribute defined at extensionmessagecentercsservices.- Parameters:
value- the messages
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(ConversationStatus value)
Generated method - Setter ofConversation.statusattribute defined at extensionmessagecentercsservices.- Parameters:
value- the status
-
-