How To Handle NULL Values In Object Oriented Programming In ColdFusion

<cfcomponent>
 
	<!--- Store private varaible. --->
	<cfset VARIABLES.Value = "" />
 
 
	<cffunction
		name="Get"
		access="public"
		returntype="any"
		output="false"
		hint="Gets the property value.">
 
		<cfreturn VARIABLES.Value />
	</cffunction>
 
 
	<cffunction
		name="Set"
		access="public"
		returntype="void"
		output="false"
		hint="Sets the property value.">
 
		<!--- Define arguments. --->
		<cfargument
			name="Value"
			type="any"
			required="false"
			/>
 
		<cfset VARIABLES.Value = ARGUMENTS.Value />
		<cfreturn />
	</cffunction>
 
</cfcomponent>

For Cut-and-Paste