Class ModelElement
- java.lang.Object
-
- org.odpi.openmetadata.archiveutilities.designmodels.owlcanonicalglossarymodel.properties.ModelElement
-
- Direct Known Subclasses:
Concept
public abstract class ModelElement extends Object
The Owl RDF Canonical Glossary models are jsonld files. This content is parsed and mapped into ModelElements. These model elements contain identifying information, a description and a version. This ModelElement is subclassed
-
-
Constructor Summary
Constructors Constructor Description ModelElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)StringgetDescription()Get the description for this elementStringgetDisplayName()Get the display name for this elementStringgetId()Get the unique Name for this elementStringgetVersion()Get the version of this elementinthashCode()voidsetId(String id)Set the unique Name for this elementStringtoString()
-
-
-
Method Detail
-
getId
public String getId()
Get the unique Name for this element- Returns:
- uniqueName
-
setId
public void setId(String id)
Set the unique Name for this element- Parameters:
id- unique name to set
-
getDisplayName
public String getDisplayName()
Get the display name for this element- Returns:
- the display name
-
getDescription
public String getDescription()
Get the description for this element- Returns:
- the description
-
getVersion
public String getVersion()
Get the version of this element- Returns:
- version
-
-