Modeling Members in Annotation Style

To model a managed object that contains other managed objects, implement a method the returns an array of members, and annotate that method as @TeaGetMembers.

Members indicates a containment relationship. Model any other type of relationship using @TeaReference. See also References Aspect.

Prerequisites

The container object and the member object are both defined in annotation style.

Procedure

Implement a method to get the members. Annotate it as @TeaGetMembers. The method must return an array of AgentObjectIdentifier instances.
    @TeaGetMembers
    AgentObjectIdentifier[] getMembers(String key) {
        ...
        }
com.tibco.tea.agent.types.AgentObjectIdentifier is a standard format for virtual objects within agents.