public SimpleFeatureType createSimpleFeatureType( Name name, List<AttributeDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) { return new SimpleFeatureTypeImpl( name, schema, defaultGeometry, isAbstract, restrictions, superType, description); } }
new SimpleFeatureTypeImpl( new NameImpl( dataStore.getNamespace() == null
public SimpleFeatureType createSimpleFeatureType(Name name, List<AttributeDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) { return new SimpleFeatureTypeImpl(name,schema,defaultGeometry,isAbstract, restrictions,superType,description); } }
@BeforeClass public static void setUpOnce() { List<AttributeDescriptor> schema = new ArrayList<AttributeDescriptor>(); schema.add( new AttributeDescriptorImpl( XSSchema.DOUBLE_TYPE, Types.typeName("pointOne"), 0, 1, false, null)); schema.add( new AttributeDescriptorImpl( XSSchema.DOUBLE_TYPE, Types.typeName("pointTwo"), 0, 1, false, null)); SimpleFeatureType type = new SimpleFeatureTypeImpl( Types.typeName("GeometryContainer"), schema, null, false, null, GMLSchema.ABSTRACTFEATURETYPE_TYPE, null); feature = SimpleFeatureBuilder.build(type, new Object[] {5.0, 2.5}, null); pointOne = ff.property("pointOne"); pointTwo = ff.property("pointTwo"); }
.getGeomPropertyName()); featureTyp = new SimpleFeatureTypeImpl(new NameImpl( dataStore.getNamespace() == null ? null : dataStore.getNamespace().toString(), info.getFeatureName()), attrDescrs, geomDescr, false, null, null, baseType
if (revFeatureType.type() instanceof SimpleFeatureType) { SimpleFeatureType sft = (SimpleFeatureType) revFeatureType.type(); return new SimpleFeatureTypeImpl(new NameImpl(tableName), sft.getAttributeDescriptors(), sft.getGeometryDescriptor(), sft.isAbstract(), sft.getRestrictions(), sft.getSuper(),
@BeforeClass public static void setUpOnce() { List<AttributeDescriptor> schema = new ArrayList<AttributeDescriptor>(); schema.add(new AttributeDescriptorImpl(XSSchema.DOUBLE_TYPE, Types.typeName("pointOne"), 0, 1, false, null)); schema.add(new AttributeDescriptorImpl(XSSchema.DOUBLE_TYPE, Types.typeName("pointTwo"), 0, 1, false, null)); SimpleFeatureType type = new SimpleFeatureTypeImpl(Types.typeName("GeometryContainer"), schema, null, false, null, GMLSchema.ABSTRACTFEATURETYPE_TYPE, null); feature = SimpleFeatureBuilder.build(type, new Object[] { 5.0, 2.5 }, null); pointOne = ff.property("pointOne"); pointTwo = ff.property("pointTwo"); }
if (revFeatureType.type() instanceof SimpleFeatureType) { SimpleFeatureType sft = (SimpleFeatureType) revFeatureType.type(); return new SimpleFeatureTypeImpl(new NameImpl(tableName), sft.getAttributeDescriptors(), sft.getGeometryDescriptor(), sft.isAbstract(), sft.getRestrictions(), sft.getSuper(),
if (revFeatureType.type() instanceof SimpleFeatureType) { SimpleFeatureType sft = (SimpleFeatureType) revFeatureType.type(); return new SimpleFeatureTypeImpl(new NameImpl(tableName), sft.getAttributeDescriptors(), sft.getGeometryDescriptor(), sft.isAbstract(), sft.getRestrictions(), sft.getSuper(),
SimpleFeatureType marcoType = new SimpleFeatureTypeImpl(new NameImpl("MarcoType"), Arrays.asList(gd1, ad2), gd1,