Class DatabaseSchemaElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.DatabaseSchemaElement
- All Implemented Interfaces:
MetadataElement
DatabaseSchemaElement contains the properties and header for a deployed database schema asset entity
retrieved from the metadata repository.
-
Constructor Summary
ConstructorDescriptionDefault constructorDatabaseSchemaElement
(DatabaseSchemaElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties for the database schema.Return the element header associated with the properties.int
hashCode()
Return hash code for this objectvoid
setDatabaseSchemaProperties
(DatabaseSchemaProperties databaseSchemaProperties) Set up the database schema properties.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.toString()
JSON-style toString
-
Constructor Details
-
DatabaseSchemaElement
public DatabaseSchemaElement()Default constructor -
DatabaseSchemaElement
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
-
getDatabaseSchemaProperties
Return the properties for the database schema.- Returns:
- schema properties
-
setDatabaseSchemaProperties
Set up the database schema properties.- Parameters:
databaseSchemaProperties
- schema 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
-