com.softwareag.centrasite.appl.framework.persistence.mapper.annotations
Annotation Type Slot


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Slot

Annotation for mapping the return value of a (getter) method of a bean to slot with a given name.


Required Element Summary
 java.lang.String name
          The fully qualified name of the slot.
 
Optional Element Summary
 java.lang.Class<?> targetType
           
 Slot.Type type
          The this slot values map to.
 

Element Detail

name

public abstract java.lang.String name
The fully qualified name of the slot.

targetType

public abstract java.lang.Class<?> targetType
Returns:
The type of the mapped property.
Default:
java.lang.Object.class

type

public abstract Slot.Type type
The this slot values map to.

Returns:
Slot.Type
Default:
com.softwareag.centrasite.appl.framework.persistence.mapper.annotations.Slot.Type.AUTO