add(ComplexFeatureConstants.FEATURE_CHAINING_LINK); }; },
/** * Constructor for complex feature type with fake feature type descriptor provided. * * @param name * Name of feature type * @param schema * Schema property descriptors * @param defaultGeometry * Default geometry * @param isAbstract * True if this type is abstract * @param restrictions * List of restrictions * @param superType * Super type * @param description * Feature description * @param featureLink * System attribute used to link between features */ public ComplexFeatureTypeImpl(Name name, Collection<PropertyDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) { super(name, new ArrayList<PropertyDescriptor>(schema) { { add(ComplexFeatureConstants.FEATURE_CHAINING_LINK); }; }, defaultGeometry, isAbstract, restrictions, superType, description); this.schema = schema; }