Column.java :  » OSGi » antilia » com » antilia » ibatis » Java Open Source

Java Open Source » OSGi » antilia 
antilia » com » antilia » ibatis » Column.java
package com.antilia.ibatis;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;


/**
 * Annotation used to convey information 
 *
 */
@Target({FIELD})
@Retention(RUNTIME)
@Inherited
@Documented
public @interface Column {

  /**
   * 
   * @return
   */
  String name() default "";
  
  /**
   * 
   * @return
   */
  boolean defaultorder() default false;
  
    
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.