<?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: encapsulation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436152#M544957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check with the below link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sayee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2007 09:02:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-27T09:02:41Z</dc:date>
    <item>
      <title>encapsulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436150#M544955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any some detailed information,faq's regarding only encapsulation,abstraction,not other than that.I will be very thankful to those who have done it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 07:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436150#M544955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T07:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: encapsulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436151#M544956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sap help link will be very useful to understand basic ABAP object concepts.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 08:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436151#M544956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: encapsulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436152#M544957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check with the below link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sayee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 09:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436152#M544957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T09:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: encapsulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436153#M544958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defining attributes of a class in the private visibility section is called &amp;#147;Information Hiding&amp;#148; or Encapsulation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Advantage&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; &lt;/P&gt;&lt;P&gt;If the attributes are defined as public, the risk would be too large since a user might forget to supply value to attribute or specify an inconsistent value to an attribute. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the attributes are defined as private so that user cannot directly access them but through methods which are defined in the public section. A strict syntax check governs method calls to check that all obligatory parameters are transferred. Methods can also perform a consistency check and raise an exception if an error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Disadvantage&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;Assigning values to attributes through methods instead of direct assignment &lt;/P&gt;&lt;P&gt;(for public attributes) require slightly more runtime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if found useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Indrajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 12:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encapsulation/m-p/2436153#M544958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T12:22:36Z</dc:date>
    </item>
  </channel>
</rss>

