// overriden for backwards compatibility. // before schema name was not imported. @Override public String getSchemaName() { String schemaName = super.getSchemaName(); if (StringUtils.isBlank(schemaName)) { Category category = hierarchy.getCategory(); Workspace workspace = category.getWorkspace(); schemaName = workspace.getInputSchema(); } return schemaName; }
public void setWorkspace(Workspace workspace) { this.workspace = workspace; setWorkspaceId(workspace.getId()); }