01: package org.geotools.feature.iso.type;
02:
03: import java.util.Collection;
04: import java.util.HashSet;
05: import java.util.Set;
06:
07: import org.opengis.feature.type.AttributeDescriptor;
08: import org.opengis.feature.type.AttributeType;
09: import org.opengis.feature.type.FeatureCollectionType;
10: import org.opengis.feature.type.Name;
11: import org.opengis.referencing.crs.CoordinateReferenceSystem;
12: import org.opengis.util.InternationalString;
13:
14: public class FeatureCollectionTypeImpl extends FeatureTypeImpl
15: implements FeatureCollectionType {
16:
17: final protected Set MEMBERS;
18:
19: public FeatureCollectionTypeImpl(Name name, Collection schema,
20: Collection members, AttributeDescriptor defaultGeom,
21: CoordinateReferenceSystem crs, boolean isAbstract,
22: Set/* <Filter> */restrictions, AttributeType super Type,
23: InternationalString description
24:
25: ) {
26: super (name, schema, defaultGeom, crs, isAbstract, restrictions,
27: super Type, description);
28: this .MEMBERS = new HashSet(members);
29: }
30:
31: public Set getMembers() {
32: return MEMBERS;
33: }
34:
35: }
|