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.
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.
Copyright © Cloud Software Group, Inc. All Rights Reserved.