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 Summary
ConstructorsConstructorDescriptionCreates an instance of AtlasRelatedTermHeader class. -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasRelatedTermHeaderfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasRelatedTermHeader from the JsonReader.Get the description property: The description of the related term.Get the displayText property: The display text.Get the expression property: The expression of the term.Get the relationGuid property: The GUID of the relationship.Get the status property: The status of term relationship.Get the steward property: The steward of the term.Get the termGuid property: The GUID of the term.setDescription(String description) Set the description property: The description of the related term.setDisplayText(String displayText) Set the displayText property: The display text.setExpression(String expression) Set the expression property: The expression of the term.setRelationGuid(String relationGuid) Set the relationGuid property: The GUID of the relationship.setStatus(AtlasTermRelationshipStatus status) Set the status property: The status of term relationship.setSteward(String steward) Set the steward property: The steward of the term.setTermGuid(String termGuid) Set the termGuid property: The GUID of the term.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
-
AtlasRelatedTermHeader
public AtlasRelatedTermHeader()Creates an instance of AtlasRelatedTermHeader class.
-
-
Method Details
-
getDescription
Get the description property: The description of the related term.- Returns:
- the description value.
-
setDescription
Set the description property: The description of the related term.- Parameters:
description- the description value to set.- Returns:
- the AtlasRelatedTermHeader 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 AtlasRelatedTermHeader object itself.
-
getExpression
Get the expression property: The expression of the term.- Returns:
- the expression value.
-
setExpression
Set the expression property: The expression of the term.- Parameters:
expression- the expression value to set.- Returns:
- the AtlasRelatedTermHeader object itself.
-
getRelationGuid
Get the relationGuid property: The GUID of the relationship.- Returns:
- the relationGuid value.
-
setRelationGuid
Set the relationGuid property: The GUID of the relationship.- Parameters:
relationGuid- the relationGuid value to set.- Returns:
- the AtlasRelatedTermHeader object itself.
-
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
Get the steward property: The steward of the term.- Returns:
- the steward value.
-
setSteward
Set the steward property: The steward of the term.- Parameters:
steward- the steward value to set.- Returns:
- the AtlasRelatedTermHeader object itself.
-
getTermGuid
Get the termGuid property: The GUID of the term.- Returns:
- the termGuid value.
-
setTermGuid
Set the termGuid property: The GUID of the term.- Parameters:
termGuid- the termGuid value to set.- Returns:
- the AtlasRelatedTermHeader object itself.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-