package org.qi4j.tutorials.composites.tutorial5; import org.qi4j.api.mixin.Mixins; /** * This interface contains only the state * of the HelloWorld object. *

* It declares what Mixin to use as default implementation. */ @Mixins( HelloWorldStateMixin.class ) public interface HelloWorldState { void setPhrase(String phrase) throws IllegalArgumentException; String getPhrase(); void setName(String name) throws IllegalArgumentException; String getName(); }