/** * Sets user data for the next attribute added to the feature type. * * <p>This value is reset after a call to {@link #add(String, Class)} * * @param key The key of the user data. * @param value The value of the user data. */ public SimpleFeatureTypeBuilder userData(Object key, Object value) { attributeBuilder.addUserData(key, value); return this; }
public AttributeTypeBuilder userData(Object key, Object value) { addUserData(key, value); return this; }
/** * Sets user data for the next attribute added to the feature type. * <p> * This value is reset after a call to {@link #add(String, Class)} * </p> * @param key The key of the user data. * @param value The value of the user data. */ public SimpleFeatureTypeBuilder userData( Object key, Object value ) { attributeBuilder.addUserData( key, value ); return this; }
public AttributeTypeBuilder userData( Object key, Object value ) { addUserData( key, value ); return this; }
name = origional + count; build.addUserData(ShapefileDataStore.ORIGINAL_FIELD_NAME, origional); build.addUserData(ShapefileDataStore.ORIGINAL_FIELD_DUPLICITY_COUNT, count);
ab.addUserData(JDBCDataStore.JDBC_NATIVE_TYPENAME, column.typeName); ab.addUserData(JDBCDataStore.JDBC_NATIVE_TYPE, column.sqlType); ab.setCRS(crs); if (srid != null) { ab.addUserData(JDBCDataStore.JDBC_NATIVE_SRID, srid); ab.addUserData(Hints.COORDINATE_DIMENSION, dimension); att = ab.buildDescriptor(name, ab.buildGeometryType()); } else {
name = origional + count; build.addUserData(ORIGINAL_FIELD_NAME, origional); build.addUserData(ORIGINAL_FIELD_DUPLICITY_COUNT, count);
name = origional + count; build.addUserData(ORIGINAL_FIELD_NAME, origional); build.addUserData(ORIGINAL_FIELD_DUPLICITY_COUNT, count);
ab.setCRS(crs); if(srid != null) ab.addUserData(JDBCDataStore.JDBC_NATIVE_SRID, srid); tb.add(ab.buildDescriptor(name, ab.buildGeometryType())); } else {
ab.addUserData(JDBCDataStore.JDBC_NATIVE_TYPENAME, column.typeName); ab.setCRS(crs); if(srid != null) ab.addUserData(JDBCDataStore.JDBC_NATIVE_SRID, srid); att = ab.buildDescriptor(name, ab.buildGeometryType()); } else {