Class Reservation

  • All Implemented Interfaces:
    Serializable, ResourceStatus, org.silverpeas.core.persistence.datasource.model.IdentifiableEntity

    @Entity
    public class Reservation
    extends org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<Reservation,​org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
    implements ResourceStatus
    See Also:
    Serialized Form
    • Method Detail

      • performBeforePersist

        public void performBeforePersist()
        Overrides:
        performBeforePersist in class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<Reservation,​org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
      • performBeforeUpdate

        public void performBeforeUpdate()
        Overrides:
        performBeforeUpdate in class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<Reservation,​org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
      • getUserName

        public String getUserName()
      • setUserName

        public void setUserName​(String userName)
      • getCreationDate

        public Date getCreationDate()
      • setCreationDate

        public void setCreationDate​(Date creationDate)
      • getIdAsLong

        public Long getIdAsLong()
      • getIdAsString

        public String getIdAsString()
      • getInstanceId

        public String getInstanceId()
      • setInstanceId

        public void setInstanceId​(String instanceId)
      • getUpdateDate

        public Date getUpdateDate()
      • setUpdateDate

        public void setUpdateDate​(Date updateDate)
      • getUserId

        public String getUserId()
      • setUserId

        public void setUserId​(String userId)
      • getBeginDate

        public Date getBeginDate()
      • setBeginDate

        public void setBeginDate​(Date beginDate)
      • getEndDate

        public Date getEndDate()
      • setEndDate

        public void setEndDate​(Date endDate)
      • getEvent

        public String getEvent()
      • setEvent

        public void setEvent​(String event)
      • getPlace

        public String getPlace()
      • setPlace

        public void setPlace​(String place)
      • getReason

        public String getReason()
      • setReason

        public void setReason​(String reason)
      • getStatus

        public String getStatus()
      • setStatus

        public void setStatus​(String status)
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<Reservation,​org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<Reservation,​org.silverpeas.core.persistence.datasource.model.identifier.UniqueLongIdentifier>
      • isValidated

        public boolean isValidated()
      • isRefused

        public boolean isRefused()
      • isValidationRequired

        public boolean isValidationRequired()