Class DatabaseElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.DatabaseElement
- All Implemented Interfaces:
MetadataElement
DatabaseElement contains the properties and header for a database entity retrieved from the metadata repository.
-
Constructor Summary
ConstructorDescriptionDefault constructorDatabaseElement
(DatabaseElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return details of the databaseReturn the element header associated with the properties.int
hashCode()
Return hash code for this objectvoid
setDatabaseProperties
(DatabaseProperties databaseProperties) Set up database propertiesvoid
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.toString()
JSON-style toString
-
Constructor Details
-
DatabaseElement
public DatabaseElement()Default constructor -
DatabaseElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getDatabaseProperties
Return details of the database- Returns:
- database properties
-
setDatabaseProperties
Set up database properties- Parameters:
databaseProperties
- database properties
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-