org.hyphenType.datastructure.annotations
Annotation Type OptionValue


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

Author:
Aurelio Akira M. Matsui

Required Element Summary
 String option
           
 
Optional Element Summary
 String arraySeparator
          The separator that a user can use to separate elements of arrays, if the type of this option value is an array.
 boolean arrayUseFileSeparator
          If true and if the type of this option value is an array, hyphenType will use File.pathSeparator despite of the value of arraySeparator().
 boolean mandatory
           
 String name
           
 

Element Detail

option

public abstract String option

name

public abstract String name
Default:
""

mandatory

public abstract boolean mandatory
Default:
false

arraySeparator

public abstract String arraySeparator
The separator that a user can use to separate elements of arrays, if the type of this option value is an array. This parameter will be ignored if the type of this option value is not an array.

Returns:
The separator for array values.
Default:
","

arrayUseFileSeparator

public abstract boolean arrayUseFileSeparator
If true and if the type of this option value is an array, hyphenType will use File.pathSeparator despite of the value of arraySeparator(). Setting this parameter to true makes it easy to build arrays that behave accordingly to the platform.

Returns:
Default:
false


Copyright © 2013. All Rights Reserved.