pl.edu.agh.cast.model.mapper.annotation
Annotation Type MapLink
@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
@Inherited
public @interface MapLink
Map link between two objects to metamodel link. Attributes:
 
 - name - the name of the link - must be the same at both sides
 
 - direction - Direction.SRC (def.)/ Direction.DST - indicates if this is source or destination of the link
 
 - load - the class used to load the link (only special cases)
 
 - save - the class used to save the link (only special cases)
 
 
- Author:
 
  - AGH CAST Team
 
 
 
name
public abstract String name
 
direction
public abstract Direction direction
 
- Default:
 - pl.edu.agh.cast.model.mapper.Direction.SRC
 
load
public abstract Class load
 
- Default:
 - java.lang.Object.class
 
save
public abstract Class save
 
- Default:
 - java.lang.Object.class
 
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.