de.smartics.properties.tutorial.property.constraints
Interface GroupConstraintsProperties

Package class diagram package GroupConstraintsProperties

@PropertySet(value="tutorial.property.constraints.group")
public interface GroupConstraintsProperties

A sample property set for the PropertyConstraintsWithGroupsTutorial.


Method Summary
 int defaultGroup()
          Min and Max are active in the default group.
 de.smartics.properties.api.core.domain.PropertyKey defaultGroupPropertyKey()
           
 int startupGroup()
          A value with a minimum and maximum level, but this time the constraint that checks the value is associated with the Startup constraint group.
 de.smartics.properties.api.core.domain.PropertyKey startupGroupPropertyKey()
           
 

Method Detail

startupGroup

@Min(value=3L)
@Max(value=10L,
     groups=de.smartics.validation.constraints.groups.Startup.class)
@PropertyLifecycle(access=READ_WRITE)
int startupGroup()
A value with a minimum and maximum level, but this time the constraint that checks the value is associated with the Startup constraint group.

The minimum value is 3, but the maximum value is only set in the startup.


startupGroupPropertyKey

de.smartics.properties.api.core.domain.PropertyKey startupGroupPropertyKey()

defaultGroup

@Min(value=3L)
@Max(value=10L,
     groups=javax.validation.groups.Default.class)
@PropertyLifecycle(access=READ_WRITE)
int defaultGroup()
Min and Max are active in the default group.


defaultGroupPropertyKey

de.smartics.properties.api.core.domain.PropertyKey defaultGroupPropertyKey()


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.