Class Field

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.Field
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Field
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object that contains field details.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  Field.Type
    The type of the field.
  • Constructor Summary

    Constructors
    Constructor Description
    Field()  
  • Method Summary

    Modifier and Type Method Description
    String getCollectionId()
    Gets the collectionId.
    String getField()
    Gets the field.
    String getType()
    Gets the type.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Field

      public Field()
  • Method Details

    • getField

      public String getField()
      Gets the field.

      The name of the field.

      Returns:
      the field
    • getType

      public String getType()
      Gets the type.

      The type of the field.

      Returns:
      the type
    • getCollectionId

      public String getCollectionId()
      Gets the collectionId.

      The collection Id of the collection where the field was found.

      Returns:
      the collectionId