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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasEntityHeaderfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasEntityHeader from the JsonReader.Get the attributes property: The attributes of the struct.Get the classificationNames property: An array of classification names.Get the classifications property: An array of classifications.Get the displayText property: The display text.getGuid()Get the guid property: The GUID of the record.Get the labels property: labels.Get the lastModifiedTS property: ETag for concurrency control.Get the meaningNames property: An array of meanings.Get the meanings property: An array of term assignment headers.Get the status property: Status of the entity - can be active or deleted.Get the typeName property: The name of the type.Get the isIncomplete property: Whether it is a shell entity.setAttributes(Map<String, com.azure.core.util.BinaryData> attributes) Set the attributes property: The attributes of the struct.setClassificationNames(List<String> classificationNames) Set the classificationNames property: An array of classification names.setClassifications(List<AtlasClassification> classifications) Set the classifications property: An array of classifications.setDisplayText(String displayText) Set the displayText property: The display text.Set the guid property: The GUID of the record.setIsIncomplete(Boolean isIncomplete) Set the isIncomplete property: Whether it is a shell entity.Set the labels property: labels.setLastModifiedTS(String lastModifiedTS) Set the lastModifiedTS property: ETag for concurrency control.setMeaningNames(List<String> meaningNames) Set the meaningNames property: An array of meanings.setMeanings(List<AtlasTermAssignmentHeader> meanings) Set the meanings property: An array of term assignment headers.setStatus(EntityStatus status) Set the status property: Status of the entity - can be active or deleted.setTypeName(String typeName) Set the typeName property: The name of the type.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AtlasEntityHeader
public AtlasEntityHeader()Creates an instance of AtlasEntityHeader class.
-
-
Method Details
-
getAttributes
Get the attributes property: The attributes of the struct.- Returns:
- the attributes value.
-
setAttributes
Set the attributes property: The attributes of the struct.- Parameters:
attributes- the attributes value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getTypeName
Get the typeName property: The name of the type.- Returns:
- the typeName value.
-
setTypeName
Set the typeName property: The name of the type.- Parameters:
typeName- the typeName value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getLastModifiedTS
Get the lastModifiedTS property: ETag for concurrency control.- Returns:
- the lastModifiedTS value.
-
setLastModifiedTS
Set the lastModifiedTS property: ETag for concurrency control.- Parameters:
lastModifiedTS- the lastModifiedTS value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getClassificationNames
Get the classificationNames property: An array of classification names.- Returns:
- the classificationNames value.
-
setClassificationNames
Set the classificationNames property: An array of classification names.- Parameters:
classificationNames- the classificationNames value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getClassifications
Get the classifications property: An array of classifications.- Returns:
- the classifications value.
-
setClassifications
Set the classifications property: An array of classifications.- Parameters:
classifications- the classifications value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getDisplayText
Get the displayText property: The display text.- Returns:
- the displayText value.
-
setDisplayText
Set the displayText property: The display text.- Parameters:
displayText- the displayText value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getGuid
Get the guid property: The GUID of the record.- Returns:
- the guid value.
-
setGuid
Set the guid property: The GUID of the record.- Parameters:
guid- the guid value to set.- Returns:
- the AtlasEntityHeader object itself.
-
isIncomplete
Get the isIncomplete property: Whether it is a shell entity.- Returns:
- the isIncomplete value.
-
setIsIncomplete
Set the isIncomplete property: Whether it is a shell entity.- Parameters:
isIncomplete- the isIncomplete value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getLabels
Get the labels property: labels.- Returns:
- the labels value.
-
setLabels
Set the labels property: labels.- Parameters:
labels- the labels value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getMeaningNames
Get the meaningNames property: An array of meanings.- Returns:
- the meaningNames value.
-
setMeaningNames
Set the meaningNames property: An array of meanings.- Parameters:
meaningNames- the meaningNames value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getMeanings
Get the meanings property: An array of term assignment headers.- Returns:
- the meanings value.
-
setMeanings
Set the meanings property: An array of term assignment headers.- Parameters:
meanings- the meanings value to set.- Returns:
- the AtlasEntityHeader object itself.
-
getStatus
Get the status property: Status of the entity - can be active or deleted. Deleted entities are not removed.- Returns:
- the status value.
-
setStatus
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AtlasEntityHeader>- Throws:
IOException
-
fromJson
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.
-