net.sf.jsefa.flr.annotation
Annotation Type FlrDataType


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface FlrDataType

An annotation declaring a FLR data type.

Author:
Norman Lahme-Huetig

Optional Element Summary
 String defaultPrefix
          The default prefix of the FLR the annotated class describes.
 Class<? extends Validator> defaultValidatorType
          Specifies the validator type to be used for the default case.
 String name
          The name of the data type.
 

name

public abstract String name
The name of the data type. The name must be unique within the set of data types used within one FLR document. If it is not explicitly set it will be generated automatically from the class name.

Default:
""

defaultPrefix

public abstract String defaultPrefix
The default prefix of the FLR the annotated class describes. The prefix is used to determine the EntryPoint during deserialization or serialization. By defining prefixes one can write different record types into the same stream.

Default:
""

defaultValidatorType

public abstract Class<? extends Validator> defaultValidatorType
Specifies the validator type to be used for the default case.

Default:
net.sf.jsefa.common.annotation.NoValidatorType.class


Copyright © 2014. All rights reserved.