de.smartics.properties.tutorial.property.list
Class ListPropertyConstraintsTutorial

Package class diagram package ListPropertyConstraintsTutorial
java.lang.Object
  extended by de.smartics.properties.tutorial.property.list.ListPropertyConstraintsTutorial

@Document(title="List Properties Constraints",
          sortKey="basics0110")
@DocCategory(value="basics")
public class ListPropertyConstraintsTutorial
     
     
extends Object

This tutorial provides information about putting constraints on lists and list elements.


Constructor Summary
ListPropertyConstraintsTutorial()
           
 
Method Summary
 void listConstraintsAtWork()
           This example simply shows, that the constraint on a list as whole works.
 void listElementConstraintsAtWork()
           And this example simply shows, that the constraints on the elements work.
 void propertiesWithConstraints()
           Constraints on lists and their elements are declared like this: Accessing a list of values is straight forward.
 void setUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListPropertyConstraintsTutorial

public ListPropertyConstraintsTutorial()
Method Detail

setUp

public void setUp()

propertiesWithConstraints

@DocChapter
public void propertiesWithConstraints()

Constraints on lists and their elements are declared like this:

Accessing a list of values is straight forward.


listConstraintsAtWork

@DocSection
public void listConstraintsAtWork()

This example simply shows, that the constraint on a list as whole works.


listElementConstraintsAtWork

@DocSection
public void listElementConstraintsAtWork()

And this example simply shows, that the constraints on the elements work.



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