Class ResponseContainerDatabaseSchema
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.model.ResponseContainer
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.model.ResponseContainerDatabaseSchema
-
public class ResponseContainerDatabaseSchema extends ResponseContainer
Response container for Analytics Modeling schema representation.
The container has following attributes:
catalog - name of the schema catalog.
schema - name of the schema.
schemaType - this can be 'user' or 'system'. It is always set to 'user' now.
The type of the container is 'schema'.
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_SCHEMA
-
Constructor Summary
Constructors Constructor Description ResponseContainerDatabaseSchema()Constructor defines 'schema' type and sets schemaType to 'user'
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildId()Build id based on names of catalog and schema.StringgetCatalog()Get catalog name.StringgetSchema()Get schema name.StringgetSchemaType()Get schema typevoidsetCatalog(String value)Set catalog name.voidsetSchema(String name)Set schema name.-
Methods inherited from class org.odpi.openmetadata.accessservices.analyticsmodeling.model.ResponseContainer
getId, getType, setId
-
-
-
-
Field Detail
-
TYPE_SCHEMA
public static final String TYPE_SCHEMA
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSchema
public String getSchema()
Get schema name.- Returns:
- schema name.
-
setSchema
public void setSchema(String name)
Set schema name.- Parameters:
name- of the schema.
-
getCatalog
public String getCatalog()
Get catalog name.- Returns:
- catalog name.
-
setCatalog
public void setCatalog(String value)
Set catalog name.- Parameters:
value- catalog name.
-
getSchemaType
public String getSchemaType()
Get schema type- Returns:
- schema type.
-
buildId
public String buildId()
Build id based on names of catalog and schema.- Returns:
- id as "catalog/schema"
-
-