com.mysema.query.apt
Enum VisitorConfig

java.lang.Object
  extended by java.lang.Enum<VisitorConfig>
      extended by com.mysema.query.apt.VisitorConfig
All Implemented Interfaces:
Serializable, Comparable<VisitorConfig>

public enum VisitorConfig
extends Enum<VisitorConfig>

VisitorConfig defines the entity type specific visiting configuration

Author:
tiwe

Enum Constant Summary
ALL
          visit both fields and getters
FIELDS_ONLY
          visit fields only
METHODS_ONLY
          visit methods only
NONE
          visit none
 
Method Summary
static VisitorConfig valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VisitorConfig[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 boolean visitConstructors()
           
 boolean visitFieldProperties()
           
 boolean visitMethodProperties()
           
 
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

ALL

public static final VisitorConfig ALL
visit both fields and getters


FIELDS_ONLY

public static final VisitorConfig FIELDS_ONLY
visit fields only


METHODS_ONLY

public static final VisitorConfig METHODS_ONLY
visit methods only


NONE

public static final VisitorConfig NONE
visit none

Method Detail

values

public static VisitorConfig[] 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 (VisitorConfig c : VisitorConfig.values())
    System.out.println(c);

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

valueOf

public static VisitorConfig 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

visitConstructors

public boolean visitConstructors()

visitFieldProperties

public boolean visitFieldProperties()

visitMethodProperties

public boolean visitMethodProperties()


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.