Class UniqueNameFeatureTypeFactoryImpl

  • All Implemented Interfaces:
    FeatureTypeFactory
    Direct Known Subclasses:
    ComplexFeatureTypeFactoryImpl

    public class UniqueNameFeatureTypeFactoryImpl
    extends FeatureTypeFactoryImpl
    A specialisation of FeatureTypeFactoryImpl that returns UniqueNameFeatureTypeImpl instead of FeatureTypeImpl to avoid equality tests on types with cyclic definitions.

    Users of this factory must not use it to create multiple FeatureType instances with the same name unless they represent the same type, because other parts of the implementation will assume they are equal, and if they are not, Bad Things Will Happen.

    Author:
    Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)