public void setState(String state)
    {
        state = state.trim();

        if ( state.isEmpty() ) {
            throw new RuntimeException( "'state' should not be empty" );
        }

        this.state = state;
    }