Composite Data Types

Composite types can be thought of as templates which contain fields. Field has a name and type. To use the complex type, one has to create its object or “instantiate” it. Whenever, an object is created, it receives its own copy of all fields.  Field could be viewed as a special variable which is allocated automatically with every object of composite type.

Composite types in Codejig Builder are similar to classes in Java language but there is no one-to-one correspondence.  Besides of basic structure, they store also important meta-information and represented by more than one class in generated code.