
Example application
59
<cfthrow message="'#arguments.val#' is not a valid numeric"/>
</cfif>
</cffunction>
<cffunction name="getfirstName" output="false" access="public"
returntype="any">
<cfreturn this.firstName>
</cffunction>
<cffunction name="setfirstName" output="false" access="public"
returntype="void">
<cfargument name="val" required="true">
<cfset this.firstName = arguments.val>
</cffunction>
<cffunction name="getlastName" output="false" access="public"
returntype="any">
<cfreturn this.lastName>
</cffunction>
<cffunction name="setlastName" output="false" access="public"
returntype="void">
<cfargument name="val" required="true">
<cfset this.lastName = arguments.val>
</cffunction>
<cffunction name="getaddress" output="false" access="public"
returntype="any">
<cfreturn this.address>
</cffunction>
<cffunction name="setaddress" output="false" access="public"
returntype="void">
<cfargument name="val" required="true">
<cfset this.address = arguments.val>
</cffunction>
<cffunction name="getcity" output="false" access="public"
returntype="any">
<cfreturn this.city>
</cffunction>
<cffunction name="setcity" output="false" access="public"
returntype="void">
<cfargument name="val" required="true">
<cfset this.city = arguments.val>
</cffunction>
<cffunction name="getstate" output="false" access="public"
returntype="any">