Class AtlasEntityDef

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

public final class AtlasEntityDef extends Object implements com.azure.json.JsonSerializable<AtlasEntityDef>
class that captures details of a entity-type.
  • Constructor Details

    • AtlasEntityDef

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

    • getCategory

      public TypeCategory getCategory()
      Get the category property: The enum of type category.
      Returns:
      the category value.
    • setCategory

      public AtlasEntityDef setCategory(TypeCategory category)
      Set the category property: The enum of type category.
      Parameters:
      category - the category value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getCreateTime

      public Long getCreateTime()
      Get the createTime property: The created time of the record.
      Returns:
      the createTime value.
    • setCreateTime

      public AtlasEntityDef setCreateTime(Long createTime)
      Set the createTime property: The created time of the record.
      Parameters:
      createTime - the createTime value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getCreatedBy

      public String getCreatedBy()
      Get the createdBy property: The user who created the record.
      Returns:
      the createdBy value.
    • setCreatedBy

      public AtlasEntityDef setCreatedBy(String createdBy)
      Set the createdBy property: The user who created the record.
      Parameters:
      createdBy - the createdBy value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getDateFormatter

      public DateFormat getDateFormatter()
      Get the dateFormatter property: The date format.
      Returns:
      the dateFormatter value.
    • setDateFormatter

      public AtlasEntityDef setDateFormatter(DateFormat dateFormatter)
      Set the dateFormatter property: The date format.
      Parameters:
      dateFormatter - the dateFormatter value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getDescription

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

      public AtlasEntityDef setDescription(String description)
      Set the description property: The description of the type definition.
      Parameters:
      description - the description value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getGuid

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

      public AtlasEntityDef setGuid(String guid)
      Set the guid property: The GUID of the type definition.
      Parameters:
      guid - the guid value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getName

      public String getName()
      Get the name property: The name of the type definition.
      Returns:
      the name value.
    • setName

      public AtlasEntityDef setName(String name)
      Set the name property: The name of the type definition.
      Parameters:
      name - the name value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getOptions

      public Map<String,String> getOptions()
      Get the options property: The options for the type definition.
      Returns:
      the options value.
    • setOptions

      public AtlasEntityDef setOptions(Map<String,String> options)
      Set the options property: The options for the type definition.
      Parameters:
      options - the options value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getServiceType

      public String getServiceType()
      Get the serviceType property: The service type.
      Returns:
      the serviceType value.
    • setServiceType

      public AtlasEntityDef setServiceType(String serviceType)
      Set the serviceType property: The service type.
      Parameters:
      serviceType - the serviceType value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getTypeVersion

      public String getTypeVersion()
      Get the typeVersion property: The version of the type.
      Returns:
      the typeVersion value.
    • setTypeVersion

      public AtlasEntityDef setTypeVersion(String typeVersion)
      Set the typeVersion property: The version of the type.
      Parameters:
      typeVersion - the typeVersion value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getUpdateTime

      public Long getUpdateTime()
      Get the updateTime property: The update time of the record.
      Returns:
      the updateTime value.
    • setUpdateTime

      public AtlasEntityDef setUpdateTime(Long updateTime)
      Set the updateTime property: The update time of the record.
      Parameters:
      updateTime - the updateTime value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getUpdatedBy

      public String getUpdatedBy()
      Get the updatedBy property: The user who updated the record.
      Returns:
      the updatedBy value.
    • setUpdatedBy

      public AtlasEntityDef setUpdatedBy(String updatedBy)
      Set the updatedBy property: The user who updated the record.
      Parameters:
      updatedBy - the updatedBy value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getVersion

      public Long getVersion()
      Get the version property: The version of the record.
      Returns:
      the version value.
    • setVersion

      public AtlasEntityDef setVersion(Long version)
      Set the version property: The version of the record.
      Parameters:
      version - the version value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getLastModifiedTS

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

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

      public List<AtlasAttributeDef> getAttributeDefs()
      Get the attributeDefs property: An array of attribute definitions.
      Returns:
      the attributeDefs value.
    • setAttributeDefs

      public AtlasEntityDef setAttributeDefs(List<AtlasAttributeDef> attributeDefs)
      Set the attributeDefs property: An array of attribute definitions.
      Parameters:
      attributeDefs - the attributeDefs value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getSubTypes

      public List<String> getSubTypes()
      Get the subTypes property: An array of sub types.
      Returns:
      the subTypes value.
    • setSubTypes

      public AtlasEntityDef setSubTypes(List<String> subTypes)
      Set the subTypes property: An array of sub types.
      Parameters:
      subTypes - the subTypes value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getSuperTypes

      public List<String> getSuperTypes()
      Get the superTypes property: An array of super types.
      Returns:
      the superTypes value.
    • setSuperTypes

      public AtlasEntityDef setSuperTypes(List<String> superTypes)
      Set the superTypes property: An array of super types.
      Parameters:
      superTypes - the superTypes value to set.
      Returns:
      the AtlasEntityDef object itself.
    • getRelationshipAttributeDefs

      public List<AtlasRelationshipAttributeDef> getRelationshipAttributeDefs()
      Get the relationshipAttributeDefs property: An array of relationship attributes.
      Returns:
      the relationshipAttributeDefs value.
    • setRelationshipAttributeDefs

      public AtlasEntityDef setRelationshipAttributeDefs(List<AtlasRelationshipAttributeDef> relationshipAttributeDefs)
      Set the relationshipAttributeDefs property: An array of relationship attributes.
      Parameters:
      relationshipAttributeDefs - the relationshipAttributeDefs value to set.
      Returns:
      the AtlasEntityDef 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<AtlasEntityDef>
      Throws:
      IOException
    • fromJson

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