<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "How to add getter/setter functions"]]></title>
		<link>http://forums.visual-paradigm.com/posts/40.html</link>
		<description><![CDATA[Latest messages posted in the topic "How to add getter/setter functions"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>How to add getter/setter functions</title>
				<description><![CDATA[ I've created a persistable class with many attributes. I've then added a non-persistable attribute (that would be set/get dynamically by the application) and want to create a getter and setter for it. I know how to add them to the class but I cannot figure out how to add the code to the setter and getter. Do you have to create an ORM_implementation class?<br> Basically, how to I implement the following generated methods:<br> <br> 	public Integer getTotal() {<br> 		//TODO: Implement Method<br> 		throw new UnsupportedOperationException();<br> 	}<br> 	<br> 	public void setTotal(int double d) {<br> 		//TODO: Implement Method<br> 		throw new UnsupportedOperationException();<br> 	}<br> <br> The 'total' is calculated dynamically by the application which needs to setter and getter to set and access this info.<br> <br> Jean]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1764#6658.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1764#6658.html</link>
				<pubDate><![CDATA[Tue, 21 Nov 2006 01:48:29]]></pubDate>
				<author><![CDATA[ jvence]]></author>
			</item>
			<item>
				<title>Re:How to add getter/setter functions</title>
				<description><![CDATA[ Hi jvence,<br> <br> Yes, you need to use the ORM implementation class at this moment. But I think your need is quite common. I will ask our developers to see if anything we can improve to make this operation easier.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1764#6663.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1764#6663.html</link>
				<pubDate><![CDATA[Tue, 21 Nov 2006 08:31:13]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:How to add getter/setter functions</title>
				<description><![CDATA[ Hi jvence,<br> <br> I am glad to inform you that in the coming version we will allow you generate getter and setter for non-persistable attribute, by checking Getter and Setter from the attribute specification dialog box.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1764#15905.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1764#15905.html</link>
				<pubDate><![CDATA[Sat, 24 Feb 2007 10:58:04]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:How to add getter/setter functions</title>
				<description><![CDATA[ hi jvence,<br> <br> I am glad to inform you that VP Suite 3.0 Service Pack 1 is released. You can generate getter and setter by:<br> <br> 1. Right-click on an attribute and select Attribute Specification from the popup menu<br> 2. Check Getter and/or Setter<br> 3. Confirm changes<br> 4. Generate code.<br> <br> Hope this helps. Please feel free to contact me if there are any questions.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1764#16031.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1764#16031.html</link>
				<pubDate><![CDATA[Tue, 6 Mar 2007 09:12:50]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
	</channel>
</rss>