Class NamingCollectionServiceProvider


  • public class NamingCollectionServiceProvider
    extends Object
    Class provides name of the special platform types - NamingCollections. NamingCollections is Type which contains all properties with equals returning types and properties returning types equals collection element types
    • Constructor Detail

      • NamingCollectionServiceProvider

        public NamingCollectionServiceProvider()
    • Method Detail

      • isNamingCollectionTypeName

        public boolean isNamingCollectionTypeName​(String typeName,
                                                  Version version)
        Checks that name of the TypeItem corresponding to the "NamingCollection" platform type
        Parameters:
        typeName - checking TypeItem name, cannot be null
        version - actual version for getting platform types, cannot be null
        Returns:
        true if TypeItem corresponding to the "NamingCollection" platform type , false otherwise
      • getNamingCollectionElementTypes

        public Collection<TypeItem> getNamingCollectionElementTypes​(String typeName,
                                                                    Version version)
        Gets element type of NamingCollection platform type
        Parameters:
        typeName - name of NamingCollection type, cannot be null
        version - actual version for getting NamingCollection type, cannot be null
        Returns:
        collection of element type of NamingCollection as proxy TypeItems, cannot be null, but can be empty if no NamingCollection with name typeName