4.2 Jolt Object Relationships

The following figure illustrates the relationship between the instantiated objects of the Jolt Class Library classes.

Figure 4-2 Jolt Object Relationships

Jolt Object Relationships Diagram

As objects, the Jolt classes interact in various relationships with each other. In the previous figure, the relationships are divided into three basic categories:

  • Contains-a relationship at the class level an object can contain other objects. For example, a JoltTransaction stores (or contains) a JoltSession object.
  • Is-a relationship the is-a relationship usually occurs at the class instance or sub-object level and denotes that the object is an instance of a particular object.
  • Uses-a relationship an object can use another object without containing it. For example, a JoltSession can use the JoltSessionAttributes object to obtain the host and port information.