Class AtlasGlossaryTerm
java.lang.Object
com.azure.analytics.purview.datamap.models.AtlasGlossaryTerm
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AtlasGlossaryTerm>
public final class AtlasGlossaryTerm
extends Object
implements com.azure.json.JsonSerializable<AtlasGlossaryTerm>
The glossary term.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasGlossaryTermfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasGlossaryTerm from the JsonReader.Get the abbreviation property: The abbreviation of the term.Get the anchor property: The glossary header with basic information.Get the antonyms property: An array of related term headers as antonyms.Get the assignedEntities property: An array of related object IDs.Get the attributes property: The custom attributes of the term, which is map<string,map<string,object>>.Get the categories property: An array of term categorization headers.Get the classifications property: An array of classifications.Get the classifies property: An array of related term headers.Get the contacts property: The dictionary of contacts for terms.Get the createdBy property: The user who created the record.Get the createTime property: The created time of the record.Get the examples property: An array of examples.getGuid()Get the guid property: The GUID of the object.Get the hierarchyInfo property: The hierarchy information of the term.getIsA()Get the isA property: An array of related term headers indicating the is-a relationship.Get the lastModifiedTS property: ETag for concurrency control.Get the longDescription property: The long version description.getName()Get the name property: The name of the glossary object.Get the nickName property: The nick name of the term.Get the preferredTerms property: An array of preferred related term headers.Get the preferredToTerms property: An array of related term headers that are preferred to.Get the qualifiedName property: The qualified name of the glossary object.Get the replacedBy property: An array of related term headers that are replaced by.Get the replacementTerms property: An array of related term headers for replacement.Get the resources property: An array of resource link for term.Get the seeAlso property: An array of related term headers for see also.Get the shortDescription property: The short version of description.Get the status property: Status of the AtlasGlossaryTerm.Get the synonyms property: An array of related term headers as synonyms.List<com.azure.core.util.BinaryData> Get the templateName property: The name of the template.Get the translatedTerms property: An array of translated related term headers.Get the translationTerms property: An array of related term headers for translation.Get the updatedBy property: The user who updated the record.Get the updateTime property: The update time of the record.getUsage()Get the usage property: The usage of the term.Get the validValues property: An array of related term headers as valid values.Get the validValuesFor property: An array of related term headers as valid values for other records.setAbbreviation(String abbreviation) Set the abbreviation property: The abbreviation of the term.setAnchor(AtlasGlossaryHeader anchor) Set the anchor property: The glossary header with basic information.setAntonyms(List<AtlasRelatedTermHeader> antonyms) Set the antonyms property: An array of related term headers as antonyms.setAssignedEntities(List<AtlasRelatedObjectId> assignedEntities) Set the assignedEntities property: An array of related object IDs.setAttributes(Map<String, Map<String, com.azure.core.util.BinaryData>> attributes) Set the attributes property: The custom attributes of the term, which is map<string,map<string,object>>.setCategories(List<AtlasTermCategorizationHeader> categories) Set the categories property: An array of term categorization headers.setClassifications(List<AtlasClassification> classifications) Set the classifications property: An array of classifications.setClassifies(List<AtlasRelatedTermHeader> classifies) Set the classifies property: An array of related term headers.setContacts(Map<String, List<ContactInfo>> contacts) Set the contacts property: The dictionary of contacts for terms.setCreatedBy(String createdBy) Set the createdBy property: The user who created the record.setCreateTime(Long createTime) Set the createTime property: The created time of the record.setExamples(List<String> examples) Set the examples property: An array of examples.Set the guid property: The GUID of the object.setHierarchyInfo(List<PurviewObjectId> hierarchyInfo) Set the hierarchyInfo property: The hierarchy information of the term.setIsA(List<AtlasRelatedTermHeader> isA) Set the isA property: An array of related term headers indicating the is-a relationship.setLastModifiedTS(String lastModifiedTS) Set the lastModifiedTS property: ETag for concurrency control.setLongDescription(String longDescription) Set the longDescription property: The long version description.Set the name property: The name of the glossary object.setNickName(String nickName) Set the nickName property: The nick name of the term.setPreferredTerms(List<AtlasRelatedTermHeader> preferredTerms) Set the preferredTerms property: An array of preferred related term headers.setPreferredToTerms(List<AtlasRelatedTermHeader> preferredToTerms) Set the preferredToTerms property: An array of related term headers that are preferred to.setQualifiedName(String qualifiedName) Set the qualifiedName property: The qualified name of the glossary object.setReplacedBy(List<AtlasRelatedTermHeader> replacedBy) Set the replacedBy property: An array of related term headers that are replaced by.setReplacementTerms(List<AtlasRelatedTermHeader> replacementTerms) Set the replacementTerms property: An array of related term headers for replacement.setResources(List<ResourceLink> resources) Set the resources property: An array of resource link for term.setSeeAlso(List<AtlasRelatedTermHeader> seeAlso) Set the seeAlso property: An array of related term headers for see also.setShortDescription(String shortDescription) Set the shortDescription property: The short version of description.setStatus(TermStatus status) Set the status property: Status of the AtlasGlossaryTerm.setSynonyms(List<AtlasRelatedTermHeader> synonyms) Set the synonyms property: An array of related term headers as synonyms.setTemplateName(List<com.azure.core.util.BinaryData> templateName) Set the templateName property: The name of the template.setTranslatedTerms(List<AtlasRelatedTermHeader> translatedTerms) Set the translatedTerms property: An array of translated related term headers.setTranslationTerms(List<AtlasRelatedTermHeader> translationTerms) Set the translationTerms property: An array of related term headers for translation.setUpdatedBy(String updatedBy) Set the updatedBy property: The user who updated the record.setUpdateTime(Long updateTime) Set the updateTime property: The update time of the record.Set the usage property: The usage of the term.setValidValues(List<AtlasRelatedTermHeader> validValues) Set the validValues property: An array of related term headers as valid values.setValidValuesFor(List<AtlasRelatedTermHeader> validValuesFor) Set the validValuesFor property: An array of related term headers as valid values for other records.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
-
AtlasGlossaryTerm
public AtlasGlossaryTerm()Creates an instance of AtlasGlossaryTerm class.
-
-
Method Details
-
getGuid
Get the guid property: The GUID of the object.- Returns:
- the guid value.
-
setGuid
Set the guid property: The GUID of the object.- Parameters:
guid- the guid value to set.- Returns:
- the AtlasGlossaryTerm 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 AtlasGlossaryTerm object itself.
-
getLongDescription
Get the longDescription property: The long version description.- Returns:
- the longDescription value.
-
setLongDescription
Set the longDescription property: The long version description.- Parameters:
longDescription- the longDescription value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getName
Get the name property: The name of the glossary object.- Returns:
- the name value.
-
setName
Set the name property: The name of the glossary object.- Parameters:
name- the name value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getQualifiedName
Get the qualifiedName property: The qualified name of the glossary object.- Returns:
- the qualifiedName value.
-
setQualifiedName
Set the qualifiedName property: The qualified name of the glossary object.- Parameters:
qualifiedName- the qualifiedName value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getShortDescription
Get the shortDescription property: The short version of description.- Returns:
- the shortDescription value.
-
setShortDescription
Set the shortDescription property: The short version of description.- Parameters:
shortDescription- the shortDescription value to set.- Returns:
- the AtlasGlossaryTerm 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 AtlasGlossaryTerm object itself.
-
getCreateTime
Get the createTime property: The created time of the record.- Returns:
- the createTime value.
-
setCreateTime
Set the createTime property: The created time of the record.- Parameters:
createTime- the createTime value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getCreatedBy
Get the createdBy property: The user who created the record.- Returns:
- the createdBy value.
-
setCreatedBy
Set the createdBy property: The user who created the record.- Parameters:
createdBy- the createdBy value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getUpdateTime
Get the updateTime property: The update time of the record.- Returns:
- the updateTime value.
-
setUpdateTime
Set the updateTime property: The update time of the record.- Parameters:
updateTime- the updateTime value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getUpdatedBy
Get the updatedBy property: The user who updated the record.- Returns:
- the updatedBy value.
-
setUpdatedBy
Set the updatedBy property: The user who updated the record.- Parameters:
updatedBy- the updatedBy value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getAbbreviation
Get the abbreviation property: The abbreviation of the term.- Returns:
- the abbreviation value.
-
setAbbreviation
Set the abbreviation property: The abbreviation of the term.- Parameters:
abbreviation- the abbreviation value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getTemplateName
Get the templateName property: The name of the template.- Returns:
- the templateName value.
-
setTemplateName
Set the templateName property: The name of the template.- Parameters:
templateName- the templateName value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getAnchor
Get the anchor property: The glossary header with basic information.- Returns:
- the anchor value.
-
setAnchor
Set the anchor property: The glossary header with basic information.- Parameters:
anchor- the anchor value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getAntonyms
Get the antonyms property: An array of related term headers as antonyms.- Returns:
- the antonyms value.
-
setAntonyms
Set the antonyms property: An array of related term headers as antonyms.- Parameters:
antonyms- the antonyms value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getStatus
Get the status property: Status of the AtlasGlossaryTerm.- Returns:
- the status value.
-
setStatus
Set the status property: Status of the AtlasGlossaryTerm.- Parameters:
status- the status value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getNickName
Get the nickName property: The nick name of the term.- Returns:
- the nickName value.
-
setNickName
Set the nickName property: The nick name of the term.- Parameters:
nickName- the nickName value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getHierarchyInfo
Get the hierarchyInfo property: The hierarchy information of the term.- Returns:
- the hierarchyInfo value.
-
setHierarchyInfo
Set the hierarchyInfo property: The hierarchy information of the term.- Parameters:
hierarchyInfo- the hierarchyInfo value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getResources
Get the resources property: An array of resource link for term.- Returns:
- the resources value.
-
setResources
Set the resources property: An array of resource link for term.- Parameters:
resources- the resources value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getContacts
Get the contacts property: The dictionary of contacts for terms. Key could be Expert or Steward.- Returns:
- the contacts value.
-
setContacts
Set the contacts property: The dictionary of contacts for terms. Key could be Expert or Steward.- Parameters:
contacts- the contacts value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getAttributes
Get the attributes property: The custom attributes of the term, which is map<string,map<string,object>>. The key of the first layer map is term template name.- Returns:
- the attributes value.
-
setAttributes
public AtlasGlossaryTerm setAttributes(Map<String, Map<String, com.azure.core.util.BinaryData>> attributes) Set the attributes property: The custom attributes of the term, which is map<string,map<string,object>>. The key of the first layer map is term template name.- Parameters:
attributes- the attributes value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getAssignedEntities
Get the assignedEntities property: An array of related object IDs.- Returns:
- the assignedEntities value.
-
setAssignedEntities
Set the assignedEntities property: An array of related object IDs.- Parameters:
assignedEntities- the assignedEntities value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getCategories
Get the categories property: An array of term categorization headers.- Returns:
- the categories value.
-
setCategories
Set the categories property: An array of term categorization headers.- Parameters:
categories- the categories value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getClassifies
Get the classifies property: An array of related term headers.- Returns:
- the classifies value.
-
setClassifies
Set the classifies property: An array of related term headers.- Parameters:
classifies- the classifies value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getExamples
Get the examples property: An array of examples.- Returns:
- the examples value.
-
setExamples
Set the examples property: An array of examples.- Parameters:
examples- the examples value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getIsA
Get the isA property: An array of related term headers indicating the is-a relationship.- Returns:
- the isA value.
-
setIsA
Set the isA property: An array of related term headers indicating the is-a relationship.- Parameters:
isA- the isA value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getPreferredTerms
Get the preferredTerms property: An array of preferred related term headers.- Returns:
- the preferredTerms value.
-
setPreferredTerms
Set the preferredTerms property: An array of preferred related term headers.- Parameters:
preferredTerms- the preferredTerms value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getPreferredToTerms
Get the preferredToTerms property: An array of related term headers that are preferred to.- Returns:
- the preferredToTerms value.
-
setPreferredToTerms
Set the preferredToTerms property: An array of related term headers that are preferred to.- Parameters:
preferredToTerms- the preferredToTerms value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getReplacedBy
Get the replacedBy property: An array of related term headers that are replaced by.- Returns:
- the replacedBy value.
-
setReplacedBy
Set the replacedBy property: An array of related term headers that are replaced by.- Parameters:
replacedBy- the replacedBy value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getReplacementTerms
Get the replacementTerms property: An array of related term headers for replacement.- Returns:
- the replacementTerms value.
-
setReplacementTerms
Set the replacementTerms property: An array of related term headers for replacement.- Parameters:
replacementTerms- the replacementTerms value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getSeeAlso
Get the seeAlso property: An array of related term headers for see also.- Returns:
- the seeAlso value.
-
setSeeAlso
Set the seeAlso property: An array of related term headers for see also.- Parameters:
seeAlso- the seeAlso value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getSynonyms
Get the synonyms property: An array of related term headers as synonyms.- Returns:
- the synonyms value.
-
setSynonyms
Set the synonyms property: An array of related term headers as synonyms.- Parameters:
synonyms- the synonyms value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getTranslatedTerms
Get the translatedTerms property: An array of translated related term headers.- Returns:
- the translatedTerms value.
-
setTranslatedTerms
Set the translatedTerms property: An array of translated related term headers.- Parameters:
translatedTerms- the translatedTerms value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getTranslationTerms
Get the translationTerms property: An array of related term headers for translation.- Returns:
- the translationTerms value.
-
setTranslationTerms
Set the translationTerms property: An array of related term headers for translation.- Parameters:
translationTerms- the translationTerms value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getUsage
Get the usage property: The usage of the term.- Returns:
- the usage value.
-
setUsage
Set the usage property: The usage of the term.- Parameters:
usage- the usage value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getValidValues
Get the validValues property: An array of related term headers as valid values.- Returns:
- the validValues value.
-
setValidValues
Set the validValues property: An array of related term headers as valid values.- Parameters:
validValues- the validValues value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
getValidValuesFor
Get the validValuesFor property: An array of related term headers as valid values for other records.- Returns:
- the validValuesFor value.
-
setValidValuesFor
Set the validValuesFor property: An array of related term headers as valid values for other records.- Parameters:
validValuesFor- the validValuesFor value to set.- Returns:
- the AtlasGlossaryTerm object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AtlasGlossaryTerm>- Throws:
IOException
-
fromJson
Reads an instance of AtlasGlossaryTerm from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AtlasGlossaryTerm 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 AtlasGlossaryTerm.
-