<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: visibility sections in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625708#M873496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A public component is available outside of the class.  A private component is available only inside the class.  A protected component is available only inside the class and any subclasses (or friends of the class).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of the three visibilities is to encapsulate - i.e. only expose to external manipulation what needs to be exposed, and hide everything else - and to allow for inheritance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you actually use them depends on the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2008 08:16:35 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2008-04-10T08:16:35Z</dc:date>
    <item>
      <title>visibility sections</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625707#M873495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are public,private,protected components and their purpose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 07:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625707#M873495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T07:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: visibility sections</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625708#M873496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A public component is available outside of the class.  A private component is available only inside the class.  A protected component is available only inside the class and any subclasses (or friends of the class).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of the three visibilities is to encapsulate - i.e. only expose to external manipulation what needs to be exposed, and hide everything else - and to allow for inheritance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you actually use them depends on the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 08:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625708#M873496</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-04-10T08:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: visibility sections</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625709#M873497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Public attributes&lt;/P&gt;&lt;P&gt;Public attributes are defined in the PUBLIC section and can be viewed and changed from outside the class. There is direct access to public attributes. As a general rule, as few public attributes should be defined as possible.&lt;/P&gt;&lt;P&gt;PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;  DATA: Counter type i.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Private attributes&lt;/P&gt;&lt;P&gt;Private attributes are defined in the PRIVATE section. The can only be viewes and changed from within the class. There is no direct access from outside the class.&lt;/P&gt;&lt;P&gt;PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;    DATA: name(25) TYPE c,&lt;/P&gt;&lt;P&gt;          planetype LIKE saplane-planetyp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Protected components&lt;/P&gt;&lt;P&gt;When we are talking subclassing and enheritance there is one more component than Public and Private, the Protected component. Protected components can be used by the superclass and all of the subclasses. Note that Subclasses cannot access Private components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;&amp;lt;&amp;lt; REMOVED BY MODERATOR &amp;gt;&amp;gt;&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules&lt;EM&gt;of&lt;/EM&gt;Engagement] for more informations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Marcelo Ramos on Nov 28, 2008 2:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 06:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625709#M873497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T06:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: visibility sections</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625710#M873498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 09:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visibility-sections/m-p/3625710#M873498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T09:51:18Z</dc:date>
    </item>
  </channel>
</rss>

