3
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 class’s instances saved in a Data Base. Class is going to store in the ruleset. Types of Concrete Class—3 Types Is a Class group—( Parent Class) Belongs to Class group ( Sub/Child Class) Doesn’t 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.

classstructure-Pega

Embed Size (px)

DESCRIPTION

classstructure-Pega

Citation preview

Page 1: classstructure-Pega

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 class’s instances saved in a Data Base.• Class is going to store in the ruleset.

Types of Concrete Class—3 Types Is a Class group—( Parent Class) Belongs to Class group ( Sub/Child Class) Doesn’t 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-, Int-

Page 2: classstructure-Pega

Class Types: Concrete & Abstract

Concrete —3 types

Under Work Classes we have:

Is a Class group—Parent Classes

Belongs to class group—Child/Subclasses

Under Data Classes we have

Doesn’t belongs to class group— Data Table classes