Class AtlasEntityWithExtInfo

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

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

    • AtlasEntityWithExtInfo

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

    • getReferredEntities

      public Map<String,AtlasEntity> getReferredEntities()
      Get the referredEntities property: The referred entities.
      Returns:
      the referredEntities value.
    • setReferredEntities

      public AtlasEntityWithExtInfo setReferredEntities(Map<String,AtlasEntity> referredEntities)
      Set the referredEntities property: The referred entities.
      Parameters:
      referredEntities - the referredEntities value to set.
      Returns:
      the AtlasEntityWithExtInfo object itself.
    • getEntity

      public AtlasEntity getEntity()
      Get the entity property: An instance of an entity - like hive_table, hive_database.
      Returns:
      the entity value.
    • setEntity

      public AtlasEntityWithExtInfo setEntity(AtlasEntity entity)
      Set the entity property: An instance of an entity - like hive_table, hive_database.
      Parameters:
      entity - the entity value to set.
      Returns:
      the AtlasEntityWithExtInfo 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<AtlasEntityWithExtInfo>
      Throws:
      IOException
    • fromJson

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