dk.vajhoej.record
Annotation Type Selector


@Retention(value=RUNTIME)
public @interface Selector

Annotation for selection of sub types.


Required Element Summary
 SubType[] subtypes
          Available sub types.
 
Optional Element Summary
 boolean pad
          Pad all sub types to same length.
 

Element Detail

subtypes

public abstract SubType[] subtypes
Available sub types.

Returns:
array of sub types

pad

public abstract boolean pad
Pad all sub types to same length.

Returns:
true=pad, false=no pad
Default:
false