@Override public String toString() { String s = "- Feature collection type '" + getName() + "', abstract: " + isAbstract(); for ( PropertyType pt : getPropertyDeclarations() ) { s += "\n" + pt; } return s; } }
private FeatureType buildFeatureType( XSElementDeclaration elDecl ) { final GMLObjectType type = objectTypeFactory.build( elDecl ); final List<XSElementDeclaration> fcDecls = gmlSchema.getFeatureCollectionElementDeclarations( null, false ); if ( fcDecls.contains( elDecl ) ) { return new GenericFeatureCollectionType( type.getName(), type.getPropertyDeclarations(), elDecl.getAbstract() ); } return new GenericFeatureType( type.getName(), type.getPropertyDeclarations(), elDecl.getAbstract() ); }