REPOSITORY paragraph
The REPOSITORY paragraph is used in a program or class definition to identify all the object-oriented classes that are intended to be referenced in that program or class definition. Optionally, the REPOSITORY paragraph defines associations between class-names and external class-names.
- class-name-1
- A user-defined word that identifies the class.
- external-class-name-1
- An alphanumeric literal containing a name that enables a COBOL program to define or access classes with class-names that are defined using Java™ rules of formation.
- java-array-class-reference
- A reference that enables a COBOL program to access a class that
represents an array object, where the elements of the array are themselves
objects. java-array-class-reference must be an
alphanumeric literal with content in the following format:
- jobjectArray
- Specifies a Java object array class.
- :
- A required separator when external-class-name-2 is specified. The colon must not be preceded or followed by space characters.
- external-class-name-2
- The external class-name of the type of the elements of the array. external-class-name-2 must follow the same rules of formation as external-class-name-1.
When the repository entry specifies jobjectArray without the colon separator and external-class-name-2, the elements of the object array are of type java.lang.Object.