Class Annotation

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class Annotation
    extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
    Annotation.
    • Constructor Summary

      Constructors 
      Constructor Description
      Annotation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String key)
      Returns the value from Annotation by specified key.
      java.lang.Long getBegin()
      Gets the begin.
      java.lang.String getCoveredText()
      Gets the coveredText.
      java.lang.Long getEnd()
      Gets the end.
      java.lang.String getId()
      Gets the id.
      java.lang.String getType()
      Gets the type.
      java.lang.Long getUid()
      Gets the uid.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.DynamicModel

        equals, getAdditionalPropertyTypeToken, getProperties, getPropertyNames, hashCode, put, removeProperties, removeProperty, setProperties, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Annotation

        public Annotation()
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the id.
        Returns:
        the id
      • getType

        public java.lang.String getType()
        Gets the type.
        Returns:
        the type
      • getUid

        public java.lang.Long getUid()
        Gets the uid.
        Returns:
        the uid
      • getBegin

        public java.lang.Long getBegin()
        Gets the begin.
        Returns:
        the begin
      • getEnd

        public java.lang.Long getEnd()
        Gets the end.
        Returns:
        the end
      • getCoveredText

        public java.lang.String getCoveredText()
        Gets the coveredText.
        Returns:
        the coveredText
      • get

        public java.lang.Object get​(java.lang.String key)
        Returns the value from Annotation by specified key.
        Overrides:
        get in class com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
        Parameters:
        key - the name of the field to get