public function getStateCode()
    {
        $code = $this->isOnline(true) ? '1' : '0';
        $code .= null !== $this->_workflow_state
            ? '_'.$this->_workflow_state->getCode()
            : ''
        ;

        return $code;
    }
public function getStateCode()
    {
        $code = $this->isOnline(true) ? '1' : '0';
        $code .= null !== $this->_workflow_state
            ? '_'.$this->_workflow_state->getCode()
            : ''
        ;

        return $code;
    }
public function getStateCode ( ) { $ code = $ this -> isOnline ( true ) ? '1' : '0' ; $ code .= null !== $ this -> _workflow_state ? '_' . $ this -> _workflow_state -> getCode ( ) : '' ; return $ code ; }
Returns the code of the workflow state.

@return integer

@Serializer\VirtualProperty
@Serializer\Type("string")
Returns the code of the workflow state .