Class ReservedResource
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<E,I>
-
- org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<ReservedResource,ReservedResourcePk>
-
- org.silverpeas.components.resourcesmanager.model.ReservedResource
-
- All Implemented Interfaces:
Serializable
,org.silverpeas.core.persistence.datasource.model.IdentifiableEntity
@Entity public class ReservedResource extends org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<ReservedResource,ReservedResourcePk> implements Serializable
- Author:
- ehugonnet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReservedResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Reservation
getReservation()
long
getReservationId()
Resource
getResource()
long
getResourceId()
String
getStatus()
int
hashCode()
boolean
isRefused()
boolean
isValidated()
boolean
isValidationRequired()
void
setReservation(Reservation reservation)
void
setReservedResourceId(String resourceId, String reservationId)
void
setResource(Resource resource)
void
setStatus(String status)
String
toString()
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity
performBeforePersist, performBeforeRemove, performBeforeUpdate
-
-
-
-
Method Detail
-
getReservation
public Reservation getReservation()
-
setReservation
public void setReservation(Reservation reservation)
-
getReservationId
public long getReservationId()
-
getResource
public Resource getResource()
-
setResource
public void setResource(Resource resource)
-
getResourceId
public long getResourceId()
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
isValidated
public boolean isValidated()
-
isRefused
public boolean isRefused()
-
isValidationRequired
public boolean isValidationRequired()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classorg.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<ReservedResource,ReservedResourcePk>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<ReservedResource,ReservedResourcePk>
-
-