Class UniqueNameFeatureTypeFactoryImpl

  • All Implemented Interfaces:
    Direct Known Subclasses:

    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.

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