Class AbstractAnnotation<T extends AbstractAnnotation>

java.lang.Object
de.fraunhofer.iosb.ilt.frostclient.model.csdl.annotation.AbstractAnnotation<T>
Type Parameters:
T - The exact type of the annotation.
All Implemented Interfaces:
Annotation
Direct Known Subclasses:
AnnotationGenericBoolean, AnnotationGenericString

public abstract class AbstractAnnotation<T extends AbstractAnnotation> extends Object implements Annotation
Author:
hylke
  • Constructor Details

    • AbstractAnnotation

      protected AbstractAnnotation()
    • AbstractAnnotation

      protected AbstractAnnotation(SourceNamespaceName snn)
  • Method Details

    • getSourceUrl

      public final String getSourceUrl(Annotation.DocType docType)
      Description copied from interface: Annotation
      The URL of the document that defines the annotation.
      Specified by:
      getSourceUrl in interface Annotation
      Parameters:
      docType - the
      Returns:
      The URL of the document that defines the annotation.
    • setSourceUrlBase

      public final T setSourceUrlBase(String sourceUrlBase)
    • getNameSpace

      public final String getNameSpace()
      Description copied from interface: Annotation
      The namespace of the annotation Term.
      Specified by:
      getNameSpace in interface Annotation
      Returns:
      The name space of the annotation Term.
    • setNameSpace

      public final T setNameSpace(String nameSpace)
    • getName

      public final String getName()
      Description copied from interface: Annotation
      The name of the annotation Term.
      Specified by:
      getName in interface Annotation
      Returns:
      The name of the annotation Term.
    • setName

      public final T setName(String name)
    • getThis

      public abstract T getThis()