
com.github.javaclub.jorm.annotation.OneToOne Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jorm Show documentation
Show all versions of jorm Show documentation
This is a java JDBC ORM Framework
/*
* @(#)OneToOne.java 2011-9-4
*
* Copyright (c) 2011. All Rights Reserved.
*
*/
package com.github.javaclub.jorm.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* OneToOne
*
* @author Gerald Chen
* @version $Id: OneToOne.java 2011-9-4 下午07:36:15 Exp $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface OneToOne {
/**
* Presents the one-to-one field entity's mapped ids.
*
* @return selField names
*/
String[] selField() default {};
/**
* Presents the owner entity's mapped ids.
*
* @return ownerField names
*/
String[] ownerField() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy