com.elasticpath.domain.order.impl
Class OrderNoteImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractValueObjectImpl
              extended by com.elasticpath.domain.order.impl.OrderNoteImpl
All Implemented Interfaces:
EpDomain, OrderNote, Persistence, ValueObject, java.io.Serializable

public class OrderNoteImpl
extends AbstractValueObjectImpl
implements OrderNote

Represents order note added to an order.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
OrderNoteImpl()
           
 
Method Summary
 CmUser getCreatedBy()
          Get the CM user who created this order note.
 java.util.Date getCreatedDate()
          Get the date that this order was created on.
 java.lang.String getNote()
          Get the note recorded against the order.
 void setCreatedBy(CmUser createdBy)
          Set the CM User who created this order note.
 void setCreatedDate(java.util.Date createdDate)
          Set the date that the order is created.
 void setNote(java.lang.String note)
          Set the note against the order.
 
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

OrderNoteImpl

public OrderNoteImpl()
Method Detail

getCreatedBy

public CmUser getCreatedBy()
Get the CM user who created this order note.

Specified by:
getCreatedBy in interface OrderNote
Returns:
the CM user

getCreatedDate

public java.util.Date getCreatedDate()
Get the date that this order was created on.

Specified by:
getCreatedDate in interface OrderNote
Returns:
the created date

getNote

public java.lang.String getNote()
Get the note recorded against the order.

Specified by:
getNote in interface OrderNote
Returns:
the note

setCreatedBy

public void setCreatedBy(CmUser createdBy)
Set the CM User who created this order note.

Specified by:
setCreatedBy in interface OrderNote
Parameters:
createdBy - the CM user

setCreatedDate

public void setCreatedDate(java.util.Date createdDate)
Set the date that the order is created.

Specified by:
setCreatedDate in interface OrderNote
Parameters:
createdDate - the start date

setNote

public void setNote(java.lang.String note)
Set the note against the order.

Specified by:
setNote in interface OrderNote
Parameters:
note - the note against the order