Class AtlasEntityHeader

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

public final class AtlasEntityHeader extends Object implements com.azure.json.JsonSerializable<AtlasEntityHeader>
An instance of an entity - like hive_table, hive_database.
  • Constructor Details

    • AtlasEntityHeader

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

    • getAttributes

      public Map<String,com.azure.core.util.BinaryData> getAttributes()
      Get the attributes property: The attributes of the struct.
      Returns:
      the attributes value.
    • setAttributes

      public AtlasEntityHeader setAttributes(Map<String,com.azure.core.util.BinaryData> attributes)
      Set the attributes property: The attributes of the struct.
      Parameters:
      attributes - the attributes value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getTypeName

      public String getTypeName()
      Get the typeName property: The name of the type.
      Returns:
      the typeName value.
    • setTypeName

      public AtlasEntityHeader setTypeName(String typeName)
      Set the typeName property: The name of the type.
      Parameters:
      typeName - the typeName value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getLastModifiedTS

      public String getLastModifiedTS()
      Get the lastModifiedTS property: ETag for concurrency control.
      Returns:
      the lastModifiedTS value.
    • setLastModifiedTS

      public AtlasEntityHeader setLastModifiedTS(String lastModifiedTS)
      Set the lastModifiedTS property: ETag for concurrency control.
      Parameters:
      lastModifiedTS - the lastModifiedTS value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getClassificationNames

      public List<String> getClassificationNames()
      Get the classificationNames property: An array of classification names.
      Returns:
      the classificationNames value.
    • setClassificationNames

      public AtlasEntityHeader setClassificationNames(List<String> classificationNames)
      Set the classificationNames property: An array of classification names.
      Parameters:
      classificationNames - the classificationNames value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getClassifications

      public List<AtlasClassification> getClassifications()
      Get the classifications property: An array of classifications.
      Returns:
      the classifications value.
    • setClassifications

      public AtlasEntityHeader setClassifications(List<AtlasClassification> classifications)
      Set the classifications property: An array of classifications.
      Parameters:
      classifications - the classifications value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getDisplayText

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

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

      public String getGuid()
      Get the guid property: The GUID of the record.
      Returns:
      the guid value.
    • setGuid

      public AtlasEntityHeader setGuid(String guid)
      Set the guid property: The GUID of the record.
      Parameters:
      guid - the guid value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • isIncomplete

      public Boolean isIncomplete()
      Get the isIncomplete property: Whether it is a shell entity.
      Returns:
      the isIncomplete value.
    • setIsIncomplete

      public AtlasEntityHeader setIsIncomplete(Boolean isIncomplete)
      Set the isIncomplete property: Whether it is a shell entity.
      Parameters:
      isIncomplete - the isIncomplete value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getLabels

      public List<String> getLabels()
      Get the labels property: labels.
      Returns:
      the labels value.
    • setLabels

      public AtlasEntityHeader setLabels(List<String> labels)
      Set the labels property: labels.
      Parameters:
      labels - the labels value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getMeaningNames

      public List<String> getMeaningNames()
      Get the meaningNames property: An array of meanings.
      Returns:
      the meaningNames value.
    • setMeaningNames

      public AtlasEntityHeader setMeaningNames(List<String> meaningNames)
      Set the meaningNames property: An array of meanings.
      Parameters:
      meaningNames - the meaningNames value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getMeanings

      public List<AtlasTermAssignmentHeader> getMeanings()
      Get the meanings property: An array of term assignment headers.
      Returns:
      the meanings value.
    • setMeanings

      public AtlasEntityHeader setMeanings(List<AtlasTermAssignmentHeader> meanings)
      Set the meanings property: An array of term assignment headers.
      Parameters:
      meanings - the meanings value to set.
      Returns:
      the AtlasEntityHeader object itself.
    • getStatus

      public EntityStatus getStatus()
      Get the status property: Status of the entity - can be active or deleted. Deleted entities are not removed.
      Returns:
      the status value.
    • setStatus

      public AtlasEntityHeader setStatus(EntityStatus status)
      Set the status property: Status of the entity - can be active or deleted. Deleted entities are not removed.
      Parameters:
      status - the status value to set.
      Returns:
      the AtlasEntityHeader 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<AtlasEntityHeader>
      Throws:
      IOException
    • fromJson

      public static AtlasEntityHeader fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AtlasEntityHeader from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AtlasEntityHeader 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 AtlasEntityHeader.