0% found this document useful (0 votes)
40 views3 pages

PRPC Class Structure Overview

The document discusses class structure in Pega. There are two types of classes: abstract and concrete. Abstract classes are not initialized and used for inheritance and reusable rules. Concrete classes are initialized and used to create work objects. There are three types of concrete classes: is a class group (parent class), belongs to class group (child class), and doesn't belong to class group (data table classes). The super most base class in Pega is @baseclass, with direct subclasses of work, data, and int. Class groups allow grouping of classes into a single database table.

Uploaded by

AjayKumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views3 pages

PRPC Class Structure Overview

The document discusses class structure in Pega. There are two types of classes: abstract and concrete. Abstract classes are not initialized and used for inheritance and reusable rules. Concrete classes are initialized and used to create work objects. There are three types of concrete classes: is a class group (parent class), belongs to class group (child class), and doesn't belong to class group (data table classes). The super most base class in Pega is @baseclass, with direct subclasses of work, data, and int. Class groups allow grouping of classes into a single database table.

Uploaded by

AjayKumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Class Structure

In PRPC every rule is an instance of a class


A class is an instance of Rule-Object-class
Each class contains diff categories of rules like sysadmin,organization
,application Definition
The class created by us will be saved under the given rules.
In PRPC two types of classes are available they are: Abstract class, Concrete
class
In PRPC @baseclass is the super most base class
The immediate sub classes of @ base class are work-,Data-,Int-, History.
The classes those are derived from work- are called work classes, Data- are
called as Data classes.
.PYID is the key of the table

Abstract Class:
Abstract classes are not initialized this means it cannot be used to create the
objects.
Abstract classes can be used to define the re-usable rules. Class name should
end with
Abstract class should be derived from @base class or from its super classes.
Concrete class:
Concrete classes are initialized classes. The concrete classes can be used to
specialized rules.
Used to create work objects. Should not end with
Concrete classes should be derived from work-, or work-object-.
The concrete classs instances saved in a Data Base.
Class is going to store in the ruleset.
Types of Concrete Class3 Types
Is a Class group( Parent Class)
Belongs to Class group ( Sub/Child Class)
Doesnt belongs to Class group ( Data Tables)
Class Group/Work pool
A class group is nothing but grouping individual concrete classes together to
store the instances in a single data base table.
The class group should be inherited from work Work pool is a collection of work class until creating a class group we need to
specify a class as class group and you need to supply primary key.
There is one class group for one application.

What is Super class in Pega?

@baseclass
What are subclasses under @baseclass?

Work-, Data-, IntClass Types: Concrete & Abstract


Concrete 3 types
Under Work Classes we have:
Is a Class groupParent Classes
Belongs to class groupChild/Subclasses
Under Data Classes we have
Doesnt belongs to class group Data Table classes
Abstract--- Non Initialized
Used for Inheritance
Integrations
Concrete- Initialized
Adding New Rules in Application
Work Class Concrete
Is a Class group-- Parent /Work Class
Belongs to Class groupSub Class
Data Class Concrete Tables
Doesnt belongs to class group--- Data Classes
Int Class--- Abstract
3 Types of Concrete Classes
Work Class( Concrete)
Data ClassesTables

Super Class in PEGA -- @baseclass


WorkDataIntInheritance
Direct User Defined
PatternSystem defined

You might also like