Class DatabaseViewElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.metadataelements.DatabaseViewElement
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class DatabaseViewElement extends Object implements MetadataElement, Serializable
DatabaseViewElement contains the properties and header for a database view entity retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseViewElement()Default constructorDatabaseViewElement(DatabaseViewElement 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.DatabaseViewPropertiesgetDatabaseViewProperties()Return the properties of the database view.ElementHeadergetElementHeader()Return the element header associated with the properties.inthashCode()Return hash code for this objectvoidsetDatabaseViewProperties(DatabaseViewProperties databaseViewProperties)Set up the properties of the database view.voidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
DatabaseViewElement
public DatabaseViewElement()
Default constructor
-
DatabaseViewElement
public DatabaseViewElement(DatabaseViewElement 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
-
getDatabaseViewProperties
public DatabaseViewProperties getDatabaseViewProperties()
Return the properties of the database view.- Returns:
- properties bean
-
setDatabaseViewProperties
public void setDatabaseViewProperties(DatabaseViewProperties databaseViewProperties)
Set up the properties of the database view.- Parameters:
databaseViewProperties- properties bean
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-