public class DatabaseProperties extends DataStoreProperties
| Constructor and Description |
|---|
DatabaseProperties()
Default constructor
|
DatabaseProperties(DatabaseProperties template)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getDatabaseImportedFrom()
Return the source (typically connection name) of the database information.
|
String |
getDatabaseInstance()
Return the name of this database instance - useful if the same schemas are deployed to multiple database instances.
|
String |
getDatabaseType()
Return a description of the database type.
|
String |
getDatabaseVersion()
Return the version of the database - often this is related to the version of its schemas.
|
int |
hashCode()
Return has code based on properties.
|
void |
setDatabaseImportedFrom(String databaseImportedFrom)
Set up the the source (typically connection name) of the database information.
|
void |
setDatabaseInstance(String databaseInstance)
Set up the name of this database instance - useful if the same schemas are deployed to multiple database instances.
|
void |
setDatabaseType(String databaseType)
Set up a description of the database type.
|
void |
setDatabaseVersion(String databaseVersion)
Set up the version of the database - often this is related to the version of its schemas.
|
String |
toString()
Standard toString method.
|
getCreateTime, getEncodingDescription, getEncodingLanguage, getEncodingProperties, getEncodingType, getModifiedTime, getPathName, setCreateTime, setEncodingDescription, setEncodingLanguage, setEncodingProperties, setEncodingType, setModifiedTime, setPathNamegetDescription, getDisplayName, setDescription, setDisplayNamegetAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorPropertiespublic DatabaseProperties()
public DatabaseProperties(DatabaseProperties template)
template - object to copypublic String getDatabaseType()
public void setDatabaseType(String databaseType)
databaseType - string type namepublic String getDatabaseVersion()
public void setDatabaseVersion(String databaseVersion)
databaseVersion - version namepublic String getDatabaseInstance()
public void setDatabaseInstance(String databaseInstance)
databaseInstance - instance namepublic String getDatabaseImportedFrom()
public void setDatabaseImportedFrom(String databaseImportedFrom)
databaseImportedFrom - source namepublic String toString()
toString in class DataStorePropertiespublic boolean equals(Object objectToCompare)
equals in class DataStorePropertiesobjectToCompare - supplied objectpublic int hashCode()
hashCode in class DataStorePropertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.