Beispiel #1
0
 // 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;
 }
Beispiel #2
0
 public void setWorkspace(Workspace workspace) {
   this.workspace = workspace;
   setWorkspaceId(workspace.getId());
 }