ASNA.QSys.Runtime Interfaces

Estimated reading time: 4 minutes

Remarks

The ASNA.QSys.Runtime assembly contains a collection of interfaces that are used throughout the ASNA QSys system. These interfaces define a contract of operations, properties, and events that classes can implement, providing a way to achieve polymorphism and increase the flexibility and interoperability of the system.

These interfaces cover a wide range of functionalities, from defining date/time formats and separators, to identifying classes that participate in the ActivationGroup logic, to defining functionality for files that participate in the RPG cycle.

Here are some key points to remember when working with these interfaces:

  • Polymorphism: By defining a common interface, different classes can implement the same interface in different ways. This allows you to write code that can work with objects of any class that implements a particular interface.
  • Flexibility: Interfaces allow you to create systems that are flexible and easily extensible. You can add new classes that implement these interfaces without having to change the existing code that uses the interfaces.
  • Interoperability: These interfaces provide a consistent way to interact with different parts of the ASNA QSys system, increasing the interoperability of your code.

Remember to refer to the individual interface documentation for specific details about each interface’s contract and usage.

Type Description
_Blank Describes the Blank as date/time separator in the declaration of date/time types.
_Colon Describes the Colon (:) as date/time separator in the declaration of date/time types.
_Comma Describes the Comma (,) as date/time separator in the declaration of date/time types.
_Default Describes the Default date/time separator in the declaration of date/time types.
_DMY Describes the DMY date/time format in the declaration of date/time types.
_Dot Describes the Dot (.) as date/time separator in the declaration of date/time types.
_EUR Describes the EUR date/time format in the declaration of date/time types.
_HMS Describes the HMS date/time format in the declaration of date/time types.
_ISO Describes the ISO date/time format in the declaration of date/time types.
_JIS Describes the JIS date/time format in the declaration of date/time types.
_JUL Describes the JUL date/time format in the declaration of date/time types.
_MDY Describes the MDY date/time format in the declaration of date/time types.
_Minus Describes the Minus sign (-) as date/time separator in the declaration of date/time types.
_None Describes the Slash (/) as date/time separator in the declaration of date/time types.
_Slash Describes the Slash (/) as date/time separator in the declaration of date/time types.
_USA Describes the USA date/time format in the declaration of date/time types.
_YMD Describes the YMD date/time format in the declaration of date/time types.
ICaller Identifies a class that participates in the ActivationGroup logic. A class that uses CALLD must implement this interface.
ICycleFile Defines functionality that a file which participates in the RPG cycle must provide.
IDateTimeFormat Base interface for interfaces used as date/time formats in the declaration of date/time types.
IDateTimeSeparator Base interface for interfaces used as date/time separators in the declaration of date/time types.
IDigit Interface that identifies a subset of length type arguments that represent digits, from 0 to 9.
IDim Interface that identifies types to be used as dimension type arguments in fixed array declarations.
IDisplayFile Defines the interface for display files, providing methods and properties for interacting with display file records and formats.
IDS Defines the basic set of operations for a data structure.
IDSArrayField Describes the common operations for an array field in a Data Structure.
IDSCallParm This interface should be implemented by any DataStructure class if an object of its type will be passed as a parameter to a program in the IBMi.
IDSDataArea Describes a data structure that can be stored in a data area.
IDSField Describes the common operations over a field in a Data Structure.
IFixedArray<T1, T2> Describes the minimum functionality of a free-standing fixed sized array.
IFixedArrayBase<T1, T2> Base interface for all fixed sized arrays in the fixed-sized type framework. These arrays are unidimensional.
IFixedArrayInDS<T1, T2> Describes minimum operations for a fixed size array contained in a DataStructure.
IFixedDateTime Declares the basic functionality of a fixed datetime type.
IFixedSizeType Declares the basic functionality of a fixed-size type.
IFixedSizeType<T> Declares the basic functionality of a fixed-size generic type.
ILayout Defines operations for objects describing fields in a data structure.
ILen Interface that identifies types to be used as length type arguments in fixed type declarations.
IMODS Describes the set of operations of a multi-occurrence data structure.
INumber Interface that identifies a subset of length type arguments, fron 0 to 29.
IWebDisplayFileProvider Web Display File Provider Interface. It contains methods to handle all Input and Output operations on the file.