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

com.googlecode.jmapper.operations.complex.StringEnumOperation 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
package com.googlecode.jmapper.operations.complex;

public class StringEnumOperation extends AComplexOperation {

	@Override
	protected StringBuilder existingField() {
		return sharedMapping();
	}

	@Override
	protected StringBuilder fieldToCreate() {
		return sharedMapping();
	}

	private StringBuilder sharedMapping(){
		return write(setDestination(getSource().append(".toString()")));
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy