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

Package class diagram package ConstraintsProperties

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

A sample property set for the PropertyConstraintsTutorial.


Method Summary
 int happiness()
          A value with a minimum level.
 de.smartics.properties.api.core.domain.PropertyKey happinessPropertyKey()
           
 String host()
          The property must not be blank.
 de.smartics.properties.api.core.domain.PropertyKey hostPropertyKey()
           
 Priority priority()
          A value picked from an enumeration.
 de.smartics.properties.api.core.domain.PropertyKey priorityPropertyKey()
           
 int realHappiness()
          A value with a minimum and maximum level.
 de.smartics.properties.api.core.domain.PropertyKey realHappinessPropertyKey()
           
 URL server()
          The property must not be null.
 de.smartics.properties.api.core.domain.PropertyKey serverPropertyKey()
           
 Integer storyPoint()
          A value to be picked from a range of values.
 de.smartics.properties.api.core.domain.PropertyKey storyPointPropertyKey()
           
 

Method Detail

host

@NotBlank
@PropertyLifecycle(access=READ_WRITE)
String host()
The property must not be blank.


hostPropertyKey

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

server

@NotNull
@PropertyLifecycle(access=READ_WRITE)
URL server()
The property must not be null.


serverPropertyKey

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

storyPoint

@PropertyIntValueRange(value={0,1,2,3,5,8,13,21,50,100},
                       defaultValue=8)
@NotNull
@PropertyLifecycle(access=READ_WRITE)
Integer storyPoint()
A value to be picked from a range of values.


storyPointPropertyKey

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

priority

@PropertyExpression(value="required")
@PropertyLifecycle(access=READ_WRITE)
Priority priority()
A value picked from an enumeration.


priorityPropertyKey

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

happiness

@PropertyExpression(value="0")
@Min(value=0L)
@PropertyLifecycle(access=READ_WRITE)
int happiness()
A value with a minimum level.


happinessPropertyKey

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

realHappiness

@PropertyExpression(value="0")
@RealHappiness
@PropertyLifecycle(access=READ_WRITE)
int realHappiness()
A value with a minimum and maximum level.


realHappinessPropertyKey

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


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