refs #200: Create accouting-lib library
https://support.d4science.org/issues/200 Implementing library git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115266 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ecda3255a9
commit
4f52f0ce85
|
@ -6,11 +6,11 @@ import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
import org.gcube.accounting.datamodel.decorators.ValidatorField;
|
import org.gcube.accounting.datamodel.decorators.ValidatorField;
|
||||||
import org.gcube.accounting.datamodel.deprecationmanagement.validators.MoveToAggregatedUsageRecordIdValidator;
|
import org.gcube.accounting.datamodel.deprecationmanagement.validators.MoveToOperationResultValidator;
|
||||||
|
|
||||||
@Target(ElementType.FIELD)
|
@Target(ElementType.FIELD)
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@ValidatorField(managed=MoveToAggregatedUsageRecordIdValidator.class)
|
@ValidatorField(managed=MoveToOperationResultValidator.class)
|
||||||
public @interface MoveToOperationResult {
|
public @interface MoveToOperationResult {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ import org.gcube.accounting.exception.InvalidValueException;
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MoveToOperationResutlValidator implements ValidatorAction {
|
public class MoveToOperationResultValidator implements ValidatorAction {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
Loading…
Reference in New Issue