@Retention(value=RUNTIME) @Target(value=TYPE) public @interface TeaObjectType
Declare TEA Object Type on the class. It is possible to declare many types on one class using TeaObjectTypes.
Each Type have to have define one method with TeaGetInfo annotation, and optionally:
TeaGetConfig - in case object has configuration
TeaGetMembers - in case object has members
TeaGetStatus - in case object has status
TeaOperation that describe operations available on the type.
Following additional annotation can be applied to the class with type:
Customize - UI customizations for objects of this type
TeaRole - Roles defined by Agent, not related to Object type directly, but can coexists.
TeaPermission - Permissions defined by Agent, not related to Object type directly, but can coexists.| Modifier and Type | Required Element and Description |
|---|---|
TeaConcept |
concept
the concept -
TeaConcept |
String |
description
Description of the type
|
String |
name
Name of the type.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
developerNotes
Developer notes
|
String |
parentObjectType
Name of the type of the parent of a given ObjectType
|
boolean |
sharedOwnership
Shared ownership indicates that instances of this object type are managed by multiple agents.
|
boolean |
showInstancesInUI
Show instances in the UI indicates that should the instances of this object
type be shown in the permission assignment page or not
|
public abstract TeaConcept concept
TeaConceptpublic abstract String description
public abstract String name
public abstract String developerNotes
public abstract boolean sharedOwnership
public abstract String parentObjectType
Copyright © 2022 TIBCO Software Inc.. All Rights Reserved.