Open topic with navigation

TIBCO® Enterprise Administrator 2.4.2

# Modeling Members in Annotation Style

To model a managed object that contains other managed objects, implement a method that returns an array or java.util.Collection 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.
Before you beginThe 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 either an array or java.util.Collection of AgentObjectIdentifier instances.

        @TeaGetMembers
        AgentObjectIdentifier[] getMembers(@KeyParam final String key) {
            ...
            }

        @TeaGetMembers
        Collection<AgentObjectIdentifier> getMembers(@KeyParam final String key) {
            ...
            }

com.tibco.tea.agent.types.AgentObjectIdentifier is a standard format for virtual objects within agents.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Enterprise Administrator

Copyright © 1996-2025. Cloud Software Group, Inc. All Rights Reserved.