Class AtlasRelatedTermHeader

java.lang.Object
com.azure.analytics.purview.datamap.models.AtlasRelatedTermHeader
All Implemented Interfaces:
com.azure.json.JsonSerializable<AtlasRelatedTermHeader>

public final class AtlasRelatedTermHeader extends Object implements com.azure.json.JsonSerializable<AtlasRelatedTermHeader>
The header of the related term.
  • Constructor Details

    • AtlasRelatedTermHeader

      public AtlasRelatedTermHeader()
      Creates an instance of AtlasRelatedTermHeader class.
  • Method Details

    • getDescription

      public String getDescription()
      Get the description property: The description of the related term.
      Returns:
      the description value.
    • setDescription

      public AtlasRelatedTermHeader setDescription(String description)
      Set the description property: The description of the related term.
      Parameters:
      description - the description value to set.
      Returns:
      the AtlasRelatedTermHeader object itself.
    • getDisplayText

      public String getDisplayText()
      Get the displayText property: The display text.
      Returns:
      the displayText value.
    • setDisplayText

      public AtlasRelatedTermHeader setDisplayText(String displayText)
      Set the displayText property: The display text.
      Parameters:
      displayText - the displayText value to set.
      Returns:
      the AtlasRelatedTermHeader object itself.
    • getExpression

      public String getExpression()
      Get the expression property: The expression of the term.
      Returns:
      the expression value.
    • setExpression

      public AtlasRelatedTermHeader setExpression(String expression)
      Set the expression property: The expression of the term.
      Parameters:
      expression - the expression value to set.
      Returns:
      the AtlasRelatedTermHeader object itself.
    • getRelationGuid

      public String getRelationGuid()
      Get the relationGuid property: The GUID of the relationship.
      Returns:
      the relationGuid value.
    • setRelationGuid

      public AtlasRelatedTermHeader setRelationGuid(String relationGuid)
      Set the relationGuid property: The GUID of the relationship.
      Parameters:
      relationGuid - the relationGuid value to set.
      Returns:
      the AtlasRelatedTermHeader object itself.
    • getStatus

      public AtlasTermRelationshipStatus getStatus()
      Get the status property: The status of term relationship.
      Returns:
      the status value.
    • setStatus

      Set the status property: The status of term relationship.
      Parameters:
      status - the status value to set.
      Returns:
      the AtlasRelatedTermHeader object itself.
    • getSteward

      public String getSteward()
      Get the steward property: The steward of the term.
      Returns:
      the steward value.
    • setSteward

      public AtlasRelatedTermHeader setSteward(String steward)
      Set the steward property: The steward of the term.
      Parameters:
      steward - the steward value to set.
      Returns:
      the AtlasRelatedTermHeader object itself.
    • getTermGuid

      public String getTermGuid()
      Get the termGuid property: The GUID of the term.
      Returns:
      the termGuid value.
    • setTermGuid

      public AtlasRelatedTermHeader setTermGuid(String termGuid)
      Set the termGuid property: The GUID of the term.
      Parameters:
      termGuid - the termGuid value to set.
      Returns:
      the AtlasRelatedTermHeader object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AtlasRelatedTermHeader>
      Throws:
      IOException
    • fromJson

      public static AtlasRelatedTermHeader fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AtlasRelatedTermHeader from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AtlasRelatedTermHeader if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the AtlasRelatedTermHeader.