olg.csv.bean.annotations.processor
Enum RowBeanProcessor.ODSPropertyType

Package class diagram package RowBeanProcessor.ODSPropertyType
java.lang.Object
  extended by java.lang.Enum<RowBeanProcessor.ODSPropertyType>
      extended by olg.csv.bean.annotations.processor.RowBeanProcessor.ODSPropertyType
All Implemented Interfaces:
Serializable, Comparable<RowBeanProcessor.ODSPropertyType>
Enclosing class:
RowBeanProcessor<T>

private static enum RowBeanProcessor.ODSPropertyType
extends Enum<RowBeanProcessor.ODSPropertyType>

ODS Property list.


Enum Constant Summary
BEGIN_AT_COLUMN
           
BEGIN_AT_ROW
           
END_AT_COLUMN
           
END_AT_ROW
           
HEADERS
           
SHEETNAME
           
SHEETNUM
           
 
Field Summary
private  String code
          param name.
private  AbstractParser<?> parser
          param value parser.
private  String property
          the property this option sets.
private  Method setter
          Method to set the property.
 
Method Summary
(package private) static RowBeanProcessor.ODSPropertyType getByCode(String code)
          Identify the Property by its code.
(package private)  ODSSettings setParam(ODSSettings settings, String value)
          Set the ODSSettings.
static RowBeanProcessor.ODSPropertyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RowBeanProcessor.ODSPropertyType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HEADERS

public static final RowBeanProcessor.ODSPropertyType HEADERS

SHEETNUM

public static final RowBeanProcessor.ODSPropertyType SHEETNUM

SHEETNAME

public static final RowBeanProcessor.ODSPropertyType SHEETNAME

BEGIN_AT_ROW

public static final RowBeanProcessor.ODSPropertyType BEGIN_AT_ROW

END_AT_ROW

public static final RowBeanProcessor.ODSPropertyType END_AT_ROW

BEGIN_AT_COLUMN

public static final RowBeanProcessor.ODSPropertyType BEGIN_AT_COLUMN

END_AT_COLUMN

public static final RowBeanProcessor.ODSPropertyType END_AT_COLUMN
Field Detail

code

private String code
param name.


parser

private AbstractParser<?> parser
param value parser.


setter

private Method setter
Method to set the property.


property

private String property
the property this option sets.

Method Detail

values

public static RowBeanProcessor.ODSPropertyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RowBeanProcessor.ODSPropertyType c : RowBeanProcessor.ODSPropertyType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RowBeanProcessor.ODSPropertyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getByCode

static RowBeanProcessor.ODSPropertyType getByCode(String code)
Identify the Property by its code.

Parameters:
code - the code
Returns:
the property

setParam

ODSSettings setParam(ODSSettings settings,
                     String value)
               throws AnnotationProcessorException
Set the ODSSettings.

Parameters:
settings - the settings to set.
value - the value.
Returns:
the ODSSettings setted.
Throws:
AnnotationProcessorException - if an error occurs during parsing the value.


Copyright © 2014. All rights reserved.