Class Survey
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.survey.server.entity.Survey
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseEntity
_entityPermission
-
Constructor Summary
ConstructorsConstructorDescriptionSurvey()
Creates a new instance of SurveySurvey
(SurveyValue value, EntityPermission entityPermission) Creates a new instance of Survey -
Method Summary
Modifier and TypeMethodDescriptionboolean
getActiveDetail
(EntityPermission entityPermission) getActiveDetail
(Session session) getActiveDetail
(Session session, EntityPermission entityPermission) getActiveDetailForUpdate
(Session session) boolean
getLastDetail
(EntityPermission entityPermission) getLastDetail
(Session session) getLastDetail
(Session session, EntityPermission entityPermission) getLastDetailForUpdate
(Session session) boolean
boolean
int
hashCode()
void
remove()
void
void
setActiveDetail
(SurveyDetail entity) void
setActiveDetailPK
(SurveyDetailPK activeDetailPK) void
setLastDetail
(SurveyDetail entity) void
setLastDetailPK
(SurveyDetailPK lastDetailPK) void
setSurveyValue
(SurveyValue value) void
toString()
Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission, store
-
Constructor Details
-
Survey
Creates a new instance of Survey- Throws:
PersistenceException
-
Survey
Creates a new instance of Survey
-
-
Method Details
-
getBaseFactoryInstance
- Specified by:
getBaseFactoryInstance
in classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModified
in classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
store
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Overrides:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
getSurveyValue
-
setSurveyValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKey
in classBaseEntity
-
getActiveDetailPK
-
getActiveDetail
-
getActiveDetail
-
getActiveDetail
-
getActiveDetail
-
getActiveDetailForUpdate
-
getActiveDetailForUpdate
-
setActiveDetailPK
public void setActiveDetailPK(SurveyDetailPK activeDetailPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setActiveDetail
-
getActiveDetailPKHasBeenModified
-
getLastDetailPK
-
getLastDetail
-
getLastDetail
-
getLastDetail
-
getLastDetail
-
getLastDetailForUpdate
-
getLastDetailForUpdate
-
setLastDetailPK
public void setLastDetailPK(SurveyDetailPK lastDetailPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setLastDetail
-
getLastDetailPKHasBeenModified
-