<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Extra Hot</title>
	<link>http://xtrahot.chili-mango.net</link>
	<description>PeopleSoft geek :: Web development enthusiast</description>
	<pubDate>Mon, 20 Aug 2007 16:18:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>
	<language>en</language>
			<item>
		<title>Access to Instance Variables within the same Class</title>
		<link>http://xtrahot.chili-mango.net/2007/07/access-to-instance-variables-within-the-same-class/</link>
		<comments>http://xtrahot.chili-mango.net/2007/07/access-to-instance-variables-within-the-same-class/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 10:19:23 +0000</pubDate>
		<dc:creator>ChiliJoe</dc:creator>
		
		<category><![CDATA[PeopleSoft]]></category>

		<category><![CDATA[PeopleCode]]></category>

		<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://xtrahot.chili-mango.net/2007/07/access-to-instance-variables-within-the-same-class/</guid>
		<description><![CDATA[In PeopleSoft application classes, instance variables are analogous to private variables in most object-oriented languages. This means that instance variables are inaccessible from PeopleCode outside the class where it is declared. I used to assume that a specific object (instance of a class) would only have access to its own instance variables. This appears not [...]]]></description>
			<content:encoded><![CDATA[<p>In PeopleSoft application classes, instance variables are analogous to private variables in most object-oriented languages. This means that instance variables are inaccessible from PeopleCode outside the class where it is declared. I used to assume that a specific object (instance of a class) would only have access to its own instance variables. This appears not to be the case, as the following paragraphs in PeopleBooks (PeopleCode API Reference > Application Class > Self-Reference) states:</p>
<blockquote><p>If you declare an instance variable as private you can still access it as a private property in another instance of the same class. For example, given the following declaration:</p>
<pre>class Example
  private
     instance number &Num;
end-class;</pre>
<p>A method of Example could reference another Example instance’s &#038;Num instance variable as follows:</p>
<pre>   &#038;X = &#038;SomeOtherExample.Num;</pre>
</blockquote>
<p> <a href="http://xtrahot.chili-mango.net/2007/07/access-to-instance-variables-within-the-same-class/" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xtrahot.chili-mango.net/2007/07/access-to-instance-variables-within-the-same-class/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
