public class FeatureCollection extends AbstractFeature implements Iterable<AbstractFeature>
Modifier and Type | Field and Description |
---|---|
private Map<String,AbstractFeature> |
members
members of this feature collection
|
private static long |
serialVersionUID |
Constructor and Description |
---|
FeatureCollection()
constructor
|
FeatureCollection(Map<String,AbstractFeature> members)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addMember(AbstractFeature member) |
Map<String,AbstractFeature> |
getMembers()
Get features
|
boolean |
isSetMembers()
Check whether members are set
|
Iterator<AbstractFeature> |
iterator() |
AbstractFeature |
removeMember(String featureIdentifier) |
void |
setMembers(Map<String,AbstractFeature> members)
Set features
|
addName, addName, equals, getDescription, getFirstName, getGmlId, getIdentifier, getName, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetIdentifier, isSetNames, setDescription, setGmlId, setIdentifier, setIdentifier, setName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
private static final long serialVersionUID
private Map<String,AbstractFeature> members
public FeatureCollection()
public FeatureCollection(Map<String,AbstractFeature> members)
members
- collection with feature members of this collectionpublic Map<String,AbstractFeature> getMembers()
public void setMembers(Map<String,AbstractFeature> members)
members
- the members to setpublic void addMember(AbstractFeature member)
public AbstractFeature removeMember(String featureIdentifier)
featureIdentifier
- the idMap.remove(Object)
public boolean isSetMembers()
true
, if members are setpublic Iterator<AbstractFeature> iterator()
iterator
in interface Iterable<AbstractFeature>
Copyright © 2012-2014 52north.org. All Rights Reserved.