Package org.openengsb.core.api.model.annotation

Examples of org.openengsb.core.api.model.annotation.OpenEngSBForeignKey.modelVersion()


    /**
     * Generates the model description of a field which is annotated with the OpenEngSBForeignKey annotation.
     */
    private ModelDescription getModelDescriptionFromField(Field field) {
        OpenEngSBForeignKey key = field.getAnnotation(OpenEngSBForeignKey.class);
        ModelDescription description = new ModelDescription(key.modelType(), key.modelVersion());
        return description;
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.