001/* 002 * Copyright 2019 Anyware Services 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.ametys.runtime.model.compare; 017 018/** 019 * Details of type of data change 020 */ 021public enum DataChangeTypeDetail 022{ 023 /** 024 * No particular detail 025 */ 026 NONE, 027 /** 028 * New (int/bool/long) is bigger than old 029 */ 030 MORE, 031 /** 032 * New (int/bool/long) is smaller than old 033 */ 034 LESS, 035 /** 036 * Same data, but order changed 037 */ 038 ORDER, 039 /** 040 * New (date) is before old 041 */ 042 BEFORE, 043 /** 044 * New (date) is after old 045 */ 046 AFTER, 047 /** 048 * More content in new field 049 */ 050 MORE_CONTENT, 051 /** 052 * More content at the start of the new field 053 */ 054 MORE_CONTENT_START, 055 /** 056 * More content at the end of the new field 057 */ 058 MORE_CONTENT_END, 059 /** 060 * Less content in the new field 061 */ 062 LESS_CONTENT, 063 /** 064 * Less content at the start of the new field 065 */ 066 LESS_CONTENT_START, 067 /** 068 * Less content at the end of the new field 069 */ 070 LESS_CONTENT_END, 071 /** 072 * MetadataType changed (reference file to binary file for example) 073 */ 074 TYPE 075}