SlideShare a Scribd company logo
Sharing Objects and Code
http://ebiztechnics.blogspot.com
Objectives
• Describe the various methods for reusing objects and code
• Inherit properties from property classes
• Group related objects for reuse
• Reuse objects from an object library
• Reuse PL/SQL code
http://ebiztechnics.blogspot.com
Sharing & Reusing Code
• Increases productivity
• Decreases maintenance
• Increases modularity
• Maintains standards
http://ebiztechnics.blogspot.com
Property Classes
Canvas
properties
Window
properties
Item
properties
Alert
properties
LOV
properties
http://ebiztechnics.blogspot.com
Inherit Properties
• Set the Subclass Information property.
• Convert an inherited property to a variant property.
• Convert a variant property to an inherited property.
Inherited Property
Variant Property
http://ebiztechnics.blogspot.com
Object Group
• Is a logical container
• Enables you to:
– Group related objects
– Copy multiple objects in one operation
http://ebiztechnics.blogspot.com
Using Object Groups
• Blocks include:
– Items
– Item-level triggers
– Block-level triggers
– Relations
• Object groups cannot include other object groups
• Deleting:
– An object group does not affect the objects
– An object affects the object group
http://ebiztechnics.blogspot.com
Subclassing
Ability to
make exact
copy of object
Ability to add
to object
Ability
to alter
properties
A/C No:
Branch:
Balance:
A/C Type:
Open Date:
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
http://ebiztechnics.blogspot.com
Copying Objects
Ability to
make exact
copy of object
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
http://ebiztechnics.blogspot.com
Inheriting Changes
Ability to
Inherit changes
Ability to
Inherit changes
Ability to
Inherit changes
A/C No:
Branch:
Balance:
A/C Type:
Open Date:
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
Make changes
To Parent
http://ebiztechnics.blogspot.com
An Object Library
• Is a convenient container of objects for reuse
• Simplifies reuse in complex environments
• Supports corporate, project, and personal standards
• Simplifies the sharing of reusable components
• Appear in the Navigator if they are open
• Are used with a simple tabbed interface
• Are saved to .olb file or to database
http://ebiztechnics.blogspot.com
Advantages of Object Library
• Simplifies the sharing and reuse of objects
• Provides control and enforcement of standards
• Eliminates the need to maintain multiple referenced forms
http://ebiztechnics.blogspot.com
Smart Class
• Is an object in an object
library that is frequently
used as a class
• Can be applied easily and
rapidly to existing objects
• Can be defined in many
object libraries
You can have many
Smart Classes of a given object type.
Note: Green check indicates
smart class
http://ebiztechnics.blogspot.com
Working with Smart Classes
1. Select an object in the
Layout Editor or
Navigator.
2. Click Right Mouse Button,
From the pop-up menu,
select Smart Classes.
3. Select a class from the list.
http://ebiztechnics.blogspot.com
Reusing PL/SQL
• Triggers:
– Copy and paste text
– Copy and paste within a module
– Copy to or subclass from another module
– Move to an object library
• PL/SQL program units:
– Copy and paste text
– Copy and paste within a module
– Copy to or subclass in another module
– Create a library module
– Move to an object library
http://ebiztechnics.blogspot.com
PL/SQL Libraries
Procedures
Functions
Packages
PL/SQL
Library
.pll or
DatabaseForm Module
Menu Module
Report Module
Graphics Module
http://ebiztechnics.blogspot.com
Writing Code for Libraries
• A library is a separate module, holding procedures, functions, and
packages.
• Direct references to bind variables are not allowed.
• Use subprogram parameters for passing bind variables.
• Use functions, where appropriate,
to return values.
http://ebiztechnics.blogspot.com
Creating PL/SQL Library
http://ebiztechnics.blogspot.com
Attaching PL/SQL Library
http://ebiztechnics.blogspot.com
Calling Subprograms
procedure p1( );
...function...
pack1.p2 ( );
Attached Libraries
Database
P1
P2
Calls
http://ebiztechnics.blogspot.com
Summary
• Reasons to share objects and code:
– Increased productivity
– Increased modularity
– Decreased maintenance
– Maintaining standards
• Property Class
• Object Group
• Object Library
• PL/SQL Library
http://ebiztechnics.blogspot.com

More Related Content

PPT
Oracle Forms : Validation Triggers
PPT
Oracle Forms Triggers
PPT
Oracle Forms: create debug triggers
PPT
Oracle Forms: Introduction to multiple Forms
PPT
Oracle Forms: Non input Items
PPT
Oracle Forms: Messages
PPT
Oracle Forms : Query Triggers
PPT
Oracle Forms : Coding ..
Oracle Forms : Validation Triggers
Oracle Forms Triggers
Oracle Forms: create debug triggers
Oracle Forms: Introduction to multiple Forms
Oracle Forms: Non input Items
Oracle Forms: Messages
Oracle Forms : Query Triggers
Oracle Forms : Coding ..

What's hot (20)

PPT
Oracle Forms- key triggers
PPT
Oracle Forms : Transnational Triggers
PPT
Oracle Forms : Multiple Forms
PPT
Oracle Forms Mouse triggers
PPT
Oracle Forms Triggers
PPT
Oracle Forms: Record Groups
PPT
Oracle Forms-Canvas types
PPT
Oracle Forms Creation
PPT
Oracle Forms: Data Blocks on Different Sources
PPT
Oracle Forms: Master Detail form
PPT
Oracle Forms: Menu
PPT
Oracle Forms Tutorial (www.aboutoracleapps.com)
PPT
Oracle Forms Introduction
PPT
Oracle Forms :Window and Canvases
PPT
Oracle Forms Creation-List of Values (LOV)
PPT
Oracle Apps - Forms
PDF
Object Oriented Programming with Real World Examples
PPTX
Angular Data Binding
PDF
Http methods
PDF
The New JavaScript: ES6
Oracle Forms- key triggers
Oracle Forms : Transnational Triggers
Oracle Forms : Multiple Forms
Oracle Forms Mouse triggers
Oracle Forms Triggers
Oracle Forms: Record Groups
Oracle Forms-Canvas types
Oracle Forms Creation
Oracle Forms: Data Blocks on Different Sources
Oracle Forms: Master Detail form
Oracle Forms: Menu
Oracle Forms Tutorial (www.aboutoracleapps.com)
Oracle Forms Introduction
Oracle Forms :Window and Canvases
Oracle Forms Creation-List of Values (LOV)
Oracle Apps - Forms
Object Oriented Programming with Real World Examples
Angular Data Binding
Http methods
The New JavaScript: ES6
Ad

Similar to Oracle Forms : Reusable Components (20)

PPT
Oracle forms les23
PPT
PPTX
AngularJS
PDF
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
PPTX
Design patterns
PPTX
Developing Complex WordPress Sites without Fear of Failure (with MVC)
PPTX
Design patterns
PDF
Integrating the Solr search engine
PDF
SystemVerilog_Classes.pdf
PPTX
BackboneJS
PPTX
Unit - I Intro. to OOP Concepts and Control Structure -OOP and CG (2024 Patte...
PPTX
Design Pattern
PPTX
dmBridge & dmMonocle
PPTX
Creational Design Patterns.pptx
PDF
Metaprogramming ruby
PPTX
Cs 1023 lec 8 design pattern (week 2)
PPT
SE2016 - Java EE revisits design patterns 2016
PPTX
UNIT IV DESIGN PATTERNS.pptx
PPT
Introducing object oriented programming (oop)
Oracle forms les23
AngularJS
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Design patterns
Developing Complex WordPress Sites without Fear of Failure (with MVC)
Design patterns
Integrating the Solr search engine
SystemVerilog_Classes.pdf
BackboneJS
Unit - I Intro. to OOP Concepts and Control Structure -OOP and CG (2024 Patte...
Design Pattern
dmBridge & dmMonocle
Creational Design Patterns.pptx
Metaprogramming ruby
Cs 1023 lec 8 design pattern (week 2)
SE2016 - Java EE revisits design patterns 2016
UNIT IV DESIGN PATTERNS.pptx
Introducing object oriented programming (oop)
Ad

More from Sekhar Byna (8)

PPT
Oracle Applications R12 architecture
DOCX
oracle APPS: Weekly Update
PPT
Oracle APPS :Receivables Auto Invoice
RTF
Oracle apps online training
PPT
Oracle Forms : Timers
PPT
Oracle Forms: Oracle Server features
PPT
Oracle Forms :Object Features In forms
PPT
Oracle Forms Creation part 3
Oracle Applications R12 architecture
oracle APPS: Weekly Update
Oracle APPS :Receivables Auto Invoice
Oracle apps online training
Oracle Forms : Timers
Oracle Forms: Oracle Server features
Oracle Forms :Object Features In forms
Oracle Forms Creation part 3

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Transform Your Business with a Software ERP System
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
history of c programming in notes for students .pptx
PDF
System and Network Administration Chapter 2
PDF
Digital Strategies for Manufacturing Companies
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Reimagine Home Health with the Power of Agentic AI​
Odoo POS Development Services by CandidRoot Solutions
Wondershare Filmora 15 Crack With Activation Key [2025
Upgrade and Innovation Strategies for SAP ERP Customers
wealthsignaloriginal-com-DS-text-... (1).pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Softaken Excel to vCard Converter Software.pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Transform Your Business with a Software ERP System
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PTS Company Brochure 2025 (1).pdf.......
Adobe Illustrator 28.6 Crack My Vision of Vector Design
history of c programming in notes for students .pptx
System and Network Administration Chapter 2
Digital Strategies for Manufacturing Companies
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx

Oracle Forms : Reusable Components

  • 1. Sharing Objects and Code http://ebiztechnics.blogspot.com
  • 2. Objectives • Describe the various methods for reusing objects and code • Inherit properties from property classes • Group related objects for reuse • Reuse objects from an object library • Reuse PL/SQL code http://ebiztechnics.blogspot.com
  • 3. Sharing & Reusing Code • Increases productivity • Decreases maintenance • Increases modularity • Maintains standards http://ebiztechnics.blogspot.com
  • 5. Inherit Properties • Set the Subclass Information property. • Convert an inherited property to a variant property. • Convert a variant property to an inherited property. Inherited Property Variant Property http://ebiztechnics.blogspot.com
  • 6. Object Group • Is a logical container • Enables you to: – Group related objects – Copy multiple objects in one operation http://ebiztechnics.blogspot.com
  • 7. Using Object Groups • Blocks include: – Items – Item-level triggers – Block-level triggers – Relations • Object groups cannot include other object groups • Deleting: – An object group does not affect the objects – An object affects the object group http://ebiztechnics.blogspot.com
  • 8. Subclassing Ability to make exact copy of object Ability to add to object Ability to alter properties A/C No: Branch: Balance: A/C Type: Open Date: A/C No: Branch: Balance: A/C No: Branch: Balance: A/C No: Branch: Balance: http://ebiztechnics.blogspot.com
  • 9. Copying Objects Ability to make exact copy of object A/C No: Branch: Balance: A/C No: Branch: Balance: http://ebiztechnics.blogspot.com
  • 10. Inheriting Changes Ability to Inherit changes Ability to Inherit changes Ability to Inherit changes A/C No: Branch: Balance: A/C Type: Open Date: A/C No: Branch: Balance: A/C No: Branch: Balance: A/C No: Branch: Balance: Make changes To Parent http://ebiztechnics.blogspot.com
  • 11. An Object Library • Is a convenient container of objects for reuse • Simplifies reuse in complex environments • Supports corporate, project, and personal standards • Simplifies the sharing of reusable components • Appear in the Navigator if they are open • Are used with a simple tabbed interface • Are saved to .olb file or to database http://ebiztechnics.blogspot.com
  • 12. Advantages of Object Library • Simplifies the sharing and reuse of objects • Provides control and enforcement of standards • Eliminates the need to maintain multiple referenced forms http://ebiztechnics.blogspot.com
  • 13. Smart Class • Is an object in an object library that is frequently used as a class • Can be applied easily and rapidly to existing objects • Can be defined in many object libraries You can have many Smart Classes of a given object type. Note: Green check indicates smart class http://ebiztechnics.blogspot.com
  • 14. Working with Smart Classes 1. Select an object in the Layout Editor or Navigator. 2. Click Right Mouse Button, From the pop-up menu, select Smart Classes. 3. Select a class from the list. http://ebiztechnics.blogspot.com
  • 15. Reusing PL/SQL • Triggers: – Copy and paste text – Copy and paste within a module – Copy to or subclass from another module – Move to an object library • PL/SQL program units: – Copy and paste text – Copy and paste within a module – Copy to or subclass in another module – Create a library module – Move to an object library http://ebiztechnics.blogspot.com
  • 16. PL/SQL Libraries Procedures Functions Packages PL/SQL Library .pll or DatabaseForm Module Menu Module Report Module Graphics Module http://ebiztechnics.blogspot.com
  • 17. Writing Code for Libraries • A library is a separate module, holding procedures, functions, and packages. • Direct references to bind variables are not allowed. • Use subprogram parameters for passing bind variables. • Use functions, where appropriate, to return values. http://ebiztechnics.blogspot.com
  • 20. Calling Subprograms procedure p1( ); ...function... pack1.p2 ( ); Attached Libraries Database P1 P2 Calls http://ebiztechnics.blogspot.com
  • 21. Summary • Reasons to share objects and code: – Increased productivity – Increased modularity – Decreased maintenance – Maintaining standards • Property Class • Object Group • Object Library • PL/SQL Library http://ebiztechnics.blogspot.com

Editor's Notes

  • #8: Note: The objects in the object group are not duplicates, but pointers to the source objects.
  • #12: Note: Form Builder opens all libraries that were open when you last closed Form Builder.