Class Database
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
-
- org.odpi.openmetadata.accessservices.dataengine.model.Asset
-
- org.odpi.openmetadata.accessservices.dataengine.model.DataStore
-
- org.odpi.openmetadata.accessservices.dataengine.model.Database
-
- All Implemented Interfaces:
Serializable
public class Database extends DataStore
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Database()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetDatabaseImportedFrom()Return the source (typically connection name) of the database information.StringgetDatabaseInstance()Return the name of this database instance - useful if the same schemas are deployed to multiple database instances.DatabaseSchemagetDatabaseSchema()Get database schemaStringgetDatabaseType()Return a description of the database type.StringgetDatabaseVersion()Return the version of the database - often this is related to the version of its schemas.StringgetNetworkAddress()Get an Endpoint network addressStringgetProtocol()Get an Endpoint protocolinthashCode()voidsetDatabaseImportedFrom(String databaseImportedFrom)Set up the the source (typically connection name) of the database information.voidsetDatabaseInstance(String databaseInstance)Set up the name of this database instance - useful if the same schemas are deployed to multiple database instances.voidsetDatabaseSchema(DatabaseSchema databaseSchema)Set up the database schema for the databasevoidsetDatabaseType(String databaseType)Set up a description of the database type.voidsetDatabaseVersion(String databaseVersion)Set up the version of the database - often this is related to the version of its schemas.voidsetNetworkAddress(String networkAddress)Sets the network address.voidsetProtocol(String protocol)Sets the protocol.StringtoString()-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.DataStore
getCreateTime, getEncodingDescription, getEncodingLanguage, getEncodingProperties, getEncodingType, getModifiedTime, getPathName, setCreateTime, setEncodingDescription, setEncodingLanguage, setEncodingProperties, setEncodingType, setModifiedTime, setPathName
-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Asset
getDescription, getDisplayName, getGUID, getOriginBusinessCapabilityGUID, getOriginOrganizationGUID, getOtherOriginValues, getOwner, getOwnerType, getZoneMembership, setDescription, setDisplayName, setGUID, setOriginBusinessCapabilityGUID, setOriginOrganizationGUID, setOtherOriginValues, setOwner, setOwnerType, setZoneMembership
-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
-
-
-
Method Detail
-
getDatabaseType
public String getDatabaseType()
Return a description of the database type.- Returns:
- string type name
-
getDatabaseVersion
public String getDatabaseVersion()
Return the version of the database - often this is related to the version of its schemas.- Returns:
- version name
-
getDatabaseInstance
public String getDatabaseInstance()
Return the name of this database instance - useful if the same schemas are deployed to multiple database instances.- Returns:
- instance name
-
getDatabaseImportedFrom
public String getDatabaseImportedFrom()
Return the source (typically connection name) of the database information.- Returns:
- source name
-
getDatabaseSchema
public DatabaseSchema getDatabaseSchema()
Get database schema- Returns:
- the database schema for the database
-
getProtocol
public String getProtocol()
Get an Endpoint protocol- Returns:
- network address
-
getNetworkAddress
public String getNetworkAddress()
Get an Endpoint network address- Returns:
- network address
-
setDatabaseType
public void setDatabaseType(String databaseType)
Set up a description of the database type.- Parameters:
databaseType- string type name
-
setDatabaseVersion
public void setDatabaseVersion(String databaseVersion)
Set up the version of the database - often this is related to the version of its schemas.- Parameters:
databaseVersion- version name
-
setDatabaseInstance
public void setDatabaseInstance(String databaseInstance)
Set up the name of this database instance - useful if the same schemas are deployed to multiple database instances.- Parameters:
databaseInstance- instance name
-
setDatabaseImportedFrom
public void setDatabaseImportedFrom(String databaseImportedFrom)
Set up the the source (typically connection name) of the database information.- Parameters:
databaseImportedFrom- source name
-
setDatabaseSchema
public void setDatabaseSchema(DatabaseSchema databaseSchema)
Set up the database schema for the database- Parameters:
databaseSchema- DatabaseSchema object
-
setProtocol
public void setProtocol(String protocol)
Sets the protocol. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user- Parameters:
protocol- protocol
-
setNetworkAddress
public void setNetworkAddress(String networkAddress)
Sets the network address. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user- Parameters:
networkAddress- network address
-
-