code: private void writeValueToEntity(CmsDataViewValue val, CmsEntity entity) {
  
          String prefix = entity.getTypeName() + "/";
          entity.setAttributeValue(prefix + CmsDataViewConstants.VALUE_ID, val.getId());
          entity.setAttributeValue(prefix + CmsDataViewConstants.VALUE_TITLE, val.getTitle());
          entity.setAttributeValue(prefix + CmsDataViewConstants.VALUE_DESCRIPTION, val.getDescription());
          entity.setAttributeValue(prefix + CmsDataViewConstants.VALUE_DATA, val.getData());
      }
docs: Writes the value to the given entity.<p>
  
  @param val the value
  @param entity the entity