code: public List<CmsEntityAttribute> getAttributes() {
  
          List<CmsEntityAttribute> result = new ArrayList<CmsEntityAttribute>();
          for (String name : m_simpleAttributes.keySet()) {
              result.add(getAttribute(name));
          }
          for (String name : m_entityAttributes.keySet()) {
              result.add(getAttribute(name));
          }
          return result;
      }
docs: Returns all entity attributes.<p>
  
  @return the entity attributes