public class FeatureCollection extends AbstractFeature implements Iterable<AbstractFeature>
Modifier and Type | Field and Description |
---|---|
private SortedMap<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 |
---|---|
FeatureCollection |
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
|
copyTo, getDefaultElementEncoding, isSetDefaultElementEncoding, setDefaultElementEncoding
addName, addName, addName, copyTo, equals, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getName, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetName, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setName, setName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
private static final long serialVersionUID
private SortedMap<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 FeatureCollection 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-2015 52north.org. All Rights Reserved.