All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.jmapper.operations.info.InfoMapOperation Maven / Gradle / Ivy

Go to download

JMapper Framework is a java bean mapper based on javassist. JMapper exposes interesting features as relational mapping, dynamic conversions and more

There is a newer version: 1.6.4
Show newest version
/**
 * Copyright (C) 2012 - 2016 Alessandro Vurro.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.googlecode.jmapper.operations.info;

import com.googlecode.jmapper.enums.ChooseConfig;
import com.googlecode.jmapper.enums.ConversionType;
import com.googlecode.jmapper.enums.OperationType;

/**
 * InfoMapOperation represents the operation to be performed, taking with him such information as:
* the key type of operation.
* the key conversion type.
* the key configuration to be analyzed.
* the value type of operation.
* the value conversion type.
* the value configuration to be analyzed.
* * @author Alessandro Vurro * */ public class InfoMapOperation extends InfoOperation{ private OperationType keyInstructionType; private ConversionType keyConversionType; private ChooseConfig keyConfigChosen; private OperationType valueInstructionType; private ConversionType valueConversionType; private ChooseConfig valueConfigChosen; public void keyValueUndefined(){ keyInstructionType = OperationType.UNDEFINED; keyConversionType = ConversionType.UNDEFINED; valueInstructionType = OperationType.UNDEFINED; valueConversionType = ConversionType.UNDEFINED; } public OperationType getKeyInstructionType() { return keyInstructionType; } public InfoMapOperation setKeyInstructionType(OperationType keyInstructionType) { this.keyInstructionType = keyInstructionType;return this; } public ConversionType getKeyConversionType() { return keyConversionType; } public InfoMapOperation setKeyConversionType(ConversionType keyConversionType) { this.keyConversionType = keyConversionType;return this; } public ChooseConfig getKeyConfigChosen() { return keyConfigChosen; } public InfoMapOperation setKeyConfigChosen(ChooseConfig keyConfigChosen) { this.keyConfigChosen = keyConfigChosen;return this; } public OperationType getValueInstructionType() { return valueInstructionType; } public InfoMapOperation setValueInstructionType(OperationType valueInstructionType) { this.valueInstructionType = valueInstructionType;return this; } public ConversionType getValueConversionType() { return valueConversionType; } public InfoMapOperation setValueConversionType(ConversionType valueConversionType) { this.valueConversionType = valueConversionType;return this; } public ChooseConfig getValueConfigChosen() { return valueConfigChosen; } public InfoMapOperation setValueConfigChosen(ChooseConfig valueConfigChosen) { this.valueConfigChosen = valueConfigChosen;return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy