code: public PropertyData[] getAggregatedPropertyStates(NodeData nodeState) throws RepositoryException
     {
        if (nodeState.getPrimaryTypeName().equals(nodeTypeName))
        {
           List<PropertyData> propStates = new ArrayList<PropertyData>();
           for (int i = 0; i < propertyIncludes.length; i++)
           {
              propStates.addAll(Arrays.asList(propertyIncludes[i].resolvePropertyStates(nodeState)));
           }
           if (propStates.size() > 0)
           {
              return (PropertyData[])propStates.toArray(new PropertyData[propStates.size()]);
           }
        }
        return null;
     }
docs: {@inheritDoc}
  @throws RepositoryException