code: public CmsEntity getEntityById(String entityId) {
  
          CmsEntity result = null;
          if (m_id.equals(entityId)) {
              result = this;
          } else {
              for (List<CmsEntity> children : m_entityAttributes.values()) {
                  for (CmsEntity child : children) {
                      result = child.getEntityById(entityId);
                      if (result != null) {
                          break;
                      }
                  }
                  if (result != null) {
                      break;
                  }
              }
          }
          return result;
      }
docs: Returns this or a child entity with the given id.<p>
  Will return <code>null</code> if no entity with the given id is present.<p>
  
  @param entityId the entity id
  
  @return the entity