Updated Javadoc for CollectionAttributeType and fixed type comparisons.