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

org.jvnet.hyperjaxb3.ejb.strategy.mapping.TransientMapping Maven / Gradle / Ivy

There is a newer version: 4.0.8
Show newest version
package org.jvnet.hyperjaxb3.ejb.strategy.mapping;

import jakarta.xml.ns.persistence.orm.Transient;
import com.sun.tools.xjc.Options;
import com.sun.tools.xjc.outline.FieldOutline;

public class TransientMapping implements FieldOutlineMapping {

	public Transient process(Mapping context, FieldOutline fieldOutline,
			Options options) {

		// TODO
		final Transient _transient = new Transient();
		// context.getCustomizations().getTransient(fieldOutline);

		createTransient(context, fieldOutline, _transient);
		return _transient;
	}

	public void createTransient(Mapping context, FieldOutline fieldOutline,
			Transient _transient) {
		createTransient$Name(context, fieldOutline, _transient);
	}

	public void createTransient$Name(Mapping context,
			FieldOutline fieldOutline, final Transient _transient) {
		_transient.setName(context.getNaming().getPropertyName(context, fieldOutline));
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy