Class DatabaseSchemaElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.metadataelements.DatabaseSchemaElement
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class DatabaseSchemaElement extends Object implements MetadataElement, Serializable
DatabaseSchemaElement contains the properties and header for a deployed database schema asset entity retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseSchemaElement()Default constructorDatabaseSchemaElement(DatabaseSchemaElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.DatabaseSchemaPropertiesgetDatabaseSchemaProperties()Return the properties for the database schema.ElementHeadergetElementHeader()Return the element header associated with the properties.inthashCode()Return hash code for this objectvoidsetDatabaseSchemaProperties(DatabaseSchemaProperties databaseSchemaProperties)Set up the database schema properties.voidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
DatabaseSchemaElement
public DatabaseSchemaElement()
Default constructor
-
DatabaseSchemaElement
public DatabaseSchemaElement(DatabaseSchemaElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getDatabaseSchemaProperties
public DatabaseSchemaProperties getDatabaseSchemaProperties()
Return the properties for the database schema.- Returns:
- schema properties
-
setDatabaseSchemaProperties
public void setDatabaseSchemaProperties(DatabaseSchemaProperties databaseSchemaProperties)
Set up the database schema properties.- Parameters:
databaseSchemaProperties- schema properties
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-