.. java:import:: org.joda.time DateTime .. java:import:: org.motechproject.mds.dto EntityDto .. java:import:: javax.jdo.annotations Column .. java:import:: javax.jdo.annotations Inheritance .. java:import:: javax.jdo.annotations InheritanceStrategy .. java:import:: javax.jdo.annotations NotPersistent .. java:import:: javax.jdo.annotations PersistenceCapable .. java:import:: javax.jdo.annotations Persistent .. java:import:: java.util HashMap .. java:import:: java.util Map .. java:import:: java.util Objects EntityDraft =========== .. java:package:: org.motechproject.mds.domain :noindex: .. java:type:: @PersistenceCapable @Inheritance public class EntityDraft extends Entity This class represents a users draft of an Entity. A draft is a users work in progress from the UI. This shares the table with its superclass, \ :java:ref:`Entity`\ . Constructors ------------ EntityDraft ^^^^^^^^^^^ .. java:constructor:: public EntityDraft() :outertype: EntityDraft Methods ------- getDraftOwnerUsername ^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public String getDraftOwnerUsername() :outertype: EntityDraft getFieldNameChanges ^^^^^^^^^^^^^^^^^^^ .. java:method:: public Map getFieldNameChanges() :outertype: EntityDraft getLastModificationDate ^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public DateTime getLastModificationDate() :outertype: EntityDraft getParentEntity ^^^^^^^^^^^^^^^ .. java:method:: public Entity getParentEntity() :outertype: EntityDraft getParentVersion ^^^^^^^^^^^^^^^^ .. java:method:: public Long getParentVersion() :outertype: EntityDraft isActualEntity ^^^^^^^^^^^^^^ .. java:method:: @Override public boolean isActualEntity() :outertype: EntityDraft isChangesMade ^^^^^^^^^^^^^ .. java:method:: public boolean isChangesMade() :outertype: EntityDraft isDraft ^^^^^^^ .. java:method:: @Override @NotPersistent public boolean isDraft() :outertype: EntityDraft isOutdated ^^^^^^^^^^ .. java:method:: @NotPersistent public boolean isOutdated() :outertype: EntityDraft setChangesMade ^^^^^^^^^^^^^^ .. java:method:: public void setChangesMade(boolean changesMade) :outertype: EntityDraft setDraftOwnerUsername ^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public void setDraftOwnerUsername(String draftOwnerUsername) :outertype: EntityDraft setFieldNameChanges ^^^^^^^^^^^^^^^^^^^ .. java:method:: public void setFieldNameChanges(Map fieldNameChanges) :outertype: EntityDraft setLastModificationDate ^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public void setLastModificationDate(DateTime lastModificationDate) :outertype: EntityDraft setParentEntity ^^^^^^^^^^^^^^^ .. java:method:: public void setParentEntity(Entity parentEntity) :outertype: EntityDraft setParentVersion ^^^^^^^^^^^^^^^^ .. java:method:: public void setParentVersion(Long parentVersion) :outertype: EntityDraft toDto ^^^^^ .. java:method:: @Override public EntityDto toDto() :outertype: EntityDraft