@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
|
boolean |
sharedOwnership
Shared ownership indicates that instances of this object type are managed by multiple agents.
|
public abstract TeaConcept concept
TeaConcept
public abstract String description
public abstract String name
public abstract String developerNotes
public abstract boolean sharedOwnership
Copyright © 2015 TIBCO Software Inc.. All Rights Reserved.