org.gcube.data.analysis.tabulardata.operation.column
Class ChangeLabelFactory

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory
      extended by org.gcube.data.analysis.tabulardata.operation.factories.types.ColumnTransformationWorkerFactory
          extended by org.gcube.data.analysis.tabulardata.operation.column.ChangeLabelFactory
All Implemented Interfaces:
org.gcube.data.analysis.tabulardata.operation.factories.scopes.ColumnScopedWorkerFactory, org.gcube.data.analysis.tabulardata.operation.worker.WorkerFactory

@Singleton
public class ChangeLabelFactory
extends org.gcube.data.analysis.tabulardata.operation.factories.types.ColumnTransformationWorkerFactory


Field Summary
static String NEW_LABEL_ID
           
static String TARGET_LABEL_ID
           
 
Constructor Summary
ChangeLabelFactory()
           
 
Method Summary
 List<org.gcube.data.analysis.tabulardata.operation.parameters.Parameter> createParameters(List<org.gcube.data.analysis.tabulardata.model.metadata.common.LocalizedText> labels)
           
 org.gcube.data.analysis.tabulardata.operation.worker.Worker createWorker(org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation invocation)
           
 org.gcube.data.analysis.tabulardata.operation.worker.EligibleOperation getEligibleOperation(org.gcube.data.analysis.tabulardata.model.table.Table table, org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId)
           
 org.gcube.data.analysis.tabulardata.operation.worker.EligibleOperation getEligibleOperation(org.gcube.data.analysis.tabulardata.model.table.TableId tableId, org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId)
           
protected  String getOperationDescription()
           
protected  String getOperationName()
           
 
Methods inherited from class org.gcube.data.analysis.tabulardata.operation.factories.types.ColumnTransformationWorkerFactory
getOperationScope, getOperationType
 
Methods inherited from class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory
checkColumnIdPresence, checkParameterValue, checkTableIdPresence, getOperationDescriptor, getOperationId, getParameterValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.data.analysis.tabulardata.operation.worker.WorkerFactory
getOperationDescriptor
 

Field Detail

NEW_LABEL_ID

public static final String NEW_LABEL_ID
See Also:
Constant Field Values

TARGET_LABEL_ID

public static final String TARGET_LABEL_ID
See Also:
Constant Field Values
Constructor Detail

ChangeLabelFactory

public ChangeLabelFactory()
Method Detail

getEligibleOperation

public org.gcube.data.analysis.tabulardata.operation.worker.EligibleOperation getEligibleOperation(org.gcube.data.analysis.tabulardata.model.table.TableId tableId,
                                                                                                   org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId)
                                                                                            throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationNotEligibleException
Throws:
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationNotEligibleException

getEligibleOperation

public org.gcube.data.analysis.tabulardata.operation.worker.EligibleOperation getEligibleOperation(org.gcube.data.analysis.tabulardata.model.table.Table table,
                                                                                                   org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId)
                                                                                            throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationNotEligibleException
Throws:
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationNotEligibleException

createParameters

public List<org.gcube.data.analysis.tabulardata.operation.parameters.Parameter> createParameters(List<org.gcube.data.analysis.tabulardata.model.metadata.common.LocalizedText> labels)

createWorker

public org.gcube.data.analysis.tabulardata.operation.worker.Worker createWorker(org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation invocation)
                                                                         throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.InvalidInvocationException
Throws:
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.InvalidInvocationException

getOperationName

protected String getOperationName()
Specified by:
getOperationName in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory

getOperationDescription

protected String getOperationDescription()
Specified by:
getOperationDescription in class org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory


Copyright © 2013. All Rights Reserved.