net.sf.oval.configuration.pojo.elements
Class ClassConfiguration

java.lang.Object
  extended by net.sf.oval.configuration.pojo.elements.ConfigurationElement
      extended by net.sf.oval.configuration.pojo.elements.ClassConfiguration
All Implemented Interfaces:
Serializable

public class ClassConfiguration
extends ConfigurationElement

Author:
Sebastian Thomschke
See Also:
Serialized Form

Field Summary
 Boolean applyFieldConstraintsToConstructors
          Automatically apply field constraints to the corresponding parameters of constructors declared within the same class.
 Boolean applyFieldConstraintsToSetters
          Automatically apply field constraints to the parameters of the corresponding setter methods declared within the same class.
 Boolean assertParametersNotNull
          Declares if parameter values of constructors and methods are expected to be not null.
 Boolean checkInvariants
          Specifies if invariants are checked prior and after calls to non-private methods and constructors.
 Set<ConstructorConfiguration> constructorConfigurations
          constructor constraints configuration
 Set<FieldConfiguration> fieldConfigurations
          field constraints configuration
 Boolean inspectInterfaces
          Specifies whether annotations can be applied to interfaces that this class implements, supporting a documentation function
 Set<MethodConfiguration> methodConfigurations
          method constraints configuration
 ObjectConfiguration objectConfiguration
          object level constraints configuration
 Class<?> type
          class type
 
Fields inherited from class net.sf.oval.configuration.pojo.elements.ConfigurationElement
overwrite
 
Constructor Summary
ClassConfiguration()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public Class<?> type
class type


objectConfiguration

public ObjectConfiguration objectConfiguration
object level constraints configuration


fieldConfigurations

public Set<FieldConfiguration> fieldConfigurations
field constraints configuration


constructorConfigurations

public Set<ConstructorConfiguration> constructorConfigurations
constructor constraints configuration


methodConfigurations

public Set<MethodConfiguration> methodConfigurations
method constraints configuration


applyFieldConstraintsToConstructors

public Boolean applyFieldConstraintsToConstructors
Automatically apply field constraints to the corresponding parameters of constructors declared within the same class. A corresponding parameter is a parameter with the same name and type as the field.


applyFieldConstraintsToSetters

public Boolean applyFieldConstraintsToSetters
Automatically apply field constraints to the parameters of the corresponding setter methods declared within the same class. A corresponding setter method is a method following the JavaBean convention and its parameter has as the same type as the field.


assertParametersNotNull

public Boolean assertParametersNotNull
Declares if parameter values of constructors and methods are expected to be not null. This can be weakened by using the @net.sf.oval.constraint.exclusion.Nullable annotation on specific parameters.


checkInvariants

public Boolean checkInvariants
Specifies if invariants are checked prior and after calls to non-private methods and constructors.


inspectInterfaces

public Boolean inspectInterfaces
Specifies whether annotations can be applied to interfaces that this class implements, supporting a documentation function

Constructor Detail

ClassConfiguration

public ClassConfiguration()


Copyright © 2005–2015 The OVal Development Team. All rights reserved.