org.jtransfo.DomainClassDelegate Maven / Gradle / Ivy
/*
* This file is part of jTransfo, a library for converting to and from transfer objects.
* Copyright (c) PROGS bvba, Belgium
*
* The program is available in open source according to the Apache License, Version 2.0.
* For full licensing details, see LICENSE.txt in the project root.
*/
package org.jtransfo;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to specify the real transfer objects and their links to domain classes. This can be applied on an
* abstract base transfer object.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface DomainClassDelegate {
/**
* Classes for the transfer object which contains the references to the real domain objects.
*/
Class[] delegates();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy