wt.annotation
Class AnnotationHelper

java.lang.Object
  extended by wt.annotation.AnnotationHelper

public class AnnotationHelper
extends Object



Supported API: true

Extendable: false


Method Summary
static AnnotationSet applyAnnotationSet(AnnotationSet annotationSet)
          

Supported API: true
static AnnotationSet createAnnotationSet(String annotationSetName, Persistable annotationTarget, String description, ConfigSpec configSpec)
          Return a newly created StructuredAnnotationSet

Supported API: true
static TypeInstanceIdentifier[] getRevisedObjects(TypeInstanceIdentifier annotationSetTII)
          For a given AnnotationSet TypeInstanceIdentifier, return an arrary of TypeInstanceIdentifiers that represent all "Revised" objects in the AnnotationSet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

applyAnnotationSet

public static AnnotationSet applyAnnotationSet(AnnotationSet annotationSet)
                                        throws WTException


Supported API: true

Parameters:
annotationSet -
Returns:
AnnotationSet
Throws:
WTException

getRevisedObjects

public static TypeInstanceIdentifier[] getRevisedObjects(TypeInstanceIdentifier annotationSetTII)
                                                  throws WTException
For a given AnnotationSet TypeInstanceIdentifier, return an arrary of TypeInstanceIdentifiers that represent all "Revised" objects in the AnnotationSet.

Supported API: true

Parameters:
annotationSetTII -
Returns:
TypeInstanceIdentifier[]
Throws:
WTException

createAnnotationSet

public static AnnotationSet createAnnotationSet(String annotationSetName,
                                                Persistable annotationTarget,
                                                String description,
                                                ConfigSpec configSpec)
                                         throws WTException
Return a newly created StructuredAnnotationSet

Supported API: true

Parameters:
annotationSetName -
annotationTarget -
description -
configSpec -
Returns:
AnnotationSet
Throws:
WTException