code: public static CmsEntityAttribute createEntityAttribute(String name, List<CmsEntity> values) {
  
          CmsEntityAttribute result = new CmsEntityAttribute();
          result.m_name = name;
          result.m_entityValues = Collections.unmodifiableList(values);
          return result;
      }
docs: Creates a entity type attribute.<p>
  
  @param name the attribute name
  @param values the attribute values
  
  @return the newly created attribute