Wrapper class for database template objects. passed forward to the session when the user logs in.
TherapyTemplate(String name, boolean isActive, String theHtml, int id, String type, int versionNum)
getName:
Return type: String
returns name of template
setName:
Expected arguments: String name
Return type: Void
Sets the name of the template.
isActive:
Return type: Boolean
returns if active or not
setActive:
Expected arguments: Boolean isActive
Return type: void
Sets the active status of the template
getTheHTML:
Return type: String
returns the HTML of the template
setTheHTML:
Expected arguments: String theHTML
Return type: void
Sets the template HTML
getId:
Return type: String
Returns template id.
setId:
Expected arguments: int id
Return type: Void
Sets the template id.
getType:
Return type: String
Returns the template type.
setType:
Expected arguments: String type
Return type: Void
Sets the template type.
getVersionNum:
Return type: int
Returns the template version number.
setVersionNum:
Expected arguments: int versionNum
Return type: Void
Sets the template version number.