package org.qi4j.tutorials.composites.tutorial3; /** * This interface contains only the state * of the HelloWorld Composite. * The exceptions will be thrown by Qi4j automatically if * null is sent in as values. The parameters would have to be declared * as @Optional if null is allowed. */ public interface HelloWorldState { void setPhrase( String phrase ) throws IllegalArgumentException; String getPhrase(); void setName( String name ) throws IllegalArgumentException; String getName(); }