PeopleCode is an (ool) object-oriented proprietary (case-insensitive) language used to express business logic for PeopleSoft applications. In its fundamentals, PeopleCode syntax resembles other programming languages. Some aspects of the PeopleCode language, however, are specifically related to the PeopleTools environment. However, the basic fundamentals of objects and classes are the same as in Java language.
| Property | Value |
| p:abstract
| - PeopleCode is an (ool) object-oriented proprietary (case-insensitive) language used to express business logic for PeopleSoft applications. In its fundamentals, PeopleCode syntax resembles other programming languages. Some aspects of the PeopleCode language, however, are specifically related to the PeopleTools environment. However, the basic fundamentals of objects and classes are the same as in Java language. Definition name references, for example, enable you to refer to PeopleTools definitions, such as record definitions or pages, without using hard-coded string literals. Other language features, such as PeopleCode data types and metastrings, reflect the close interaction of PeopleTools and Structured Query Language (SQL). Dot notation, classes and methods in PeopleCode are similar to other object oriented languages, like Java.
Supported Functions
PeopleCode supports the following types of functions:
Built-in: The standard set of PeopleCode functions. These can be called without being declared.
Internal: Functions that are defined (using the Function statement) within the PeopleCode program in which they are called.
External PeopleCode: PeopleCode functions defined outside the calling program. These are generally contained in record definitions that serve as function libraries.
External non-PeopleCode: Functions stored in external (C-callable) libraries.
In addition, PeopleCode supports methods. The main differences between a built-in function and a method are:
-A built-in function, in your code, is on a line by itself, and does not (generally) have any dependencies.
-You do not have to instantiate an object before you can use the function.
-A method can only be executed by an object (using dot notation).
-You must instantiate the object first.
Describing Application Class Structure
* Import any classes that will be used by a class, including the superclass this class extends
Import PackageName:Superclassname;
* A class is defined using the Class construct.
Class Classname [Extends SuperClassname]
[Method_declarations]
[Property_declarations]
[Private
[Method_declaration]
[Instance_decalarion]
[Constant_declaration]]
End-class;
* The first set if declarations are the properties and methods that are part of the public, external interface.
Property datatype PropertyName [get][set];
Method MethodName ([parameter_list])
* The private instance variables, constants, and the methods are declared following the keyword Private.
Private
Instance DataType &InstanceName;
Constant &Constant = {Number | String | True | False | Null };
* The keyword end-class follows the declarations of properties, methods, instances, and constants.
* After the end-class keyword and before get and set definitions or method definitions, decclare any variable and functions that will be used my methods. (en)
|
| p:hasPhotoCollection
| |
| rdfs:comment
| - PeopleCode is an (ool) object-oriented proprietary (case-insensitive) language used to express business logic for PeopleSoft applications. In its fundamentals, PeopleCode syntax resembles other programming languages. Some aspects of the PeopleCode language, however, are specifically related to the PeopleTools environment. However, the basic fundamentals of objects and classes are the same as in Java language. (en)
|
| rdfs:label
| |
| skos:subject
| |
| foaf:page
| |