Package org.n52.shetland.ogc.om
Class OmCompositePhenomenon
java.lang.Object
org.n52.shetland.ogc.gml.AbstractGML
org.n52.shetland.ogc.gml.AbstractFeature
org.n52.shetland.ogc.om.AbstractPhenomenon
org.n52.shetland.ogc.om.OmCompositePhenomenon
- All Implemented Interfaces:
Comparable<AbstractPhenomenon>,Iterable<OmObservableProperty>,HasDefaultEncoding<AbstractFeature>
public class OmCompositePhenomenon
extends AbstractPhenomenon
implements Iterable<OmObservableProperty>
-
Constructor Summary
ConstructorsConstructorDescriptionOmCompositePhenomenon(String identifier) OmCompositePhenomenon(String identifier, String description) OmCompositePhenomenon(String compPhenId, String compPhenDesc, Collection<OmObservableProperty> phenomenonComponents) standard constructor -
Method Summary
Modifier and TypeMethodDescriptionaddPhenomenonComponent(OmObservableProperty observableProperty) Get observablePropertiesbooleanbooleaniterator()setPhenomenonComponents(Collection<OmObservableProperty> phenomenonComponents) Set observablePropertiesMethods inherited from class org.n52.shetland.ogc.om.AbstractPhenomenon
asCompositePhenomenon, asObservableProperty, compareTo, equals, hashCode, toStringMethods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncodedMethods inherited from class org.n52.shetland.ogc.gml.AbstractGML
addMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
OmCompositePhenomenon
public OmCompositePhenomenon(String compPhenId, String compPhenDesc, Collection<OmObservableProperty> phenomenonComponents) standard constructor- Parameters:
compPhenId- id of the composite phenomenoncompPhenDesc- description of the composite phenomenonphenomenonComponents- components of the composite phenomenon
-
OmCompositePhenomenon
-
OmCompositePhenomenon
-
-
Method Details
-
getPhenomenonComponents
Get observableProperties- Returns:
- Returns the phenomenonComponents.
-
setPhenomenonComponents
public OmCompositePhenomenon setPhenomenonComponents(Collection<OmObservableProperty> phenomenonComponents) Set observableProperties- Parameters:
phenomenonComponents- The phenomenonComponents to set.- Returns:
- this
-
addPhenomenonComponent
-
iterator
- Specified by:
iteratorin interfaceIterable<OmObservableProperty>
-
isComposite
public boolean isComposite()- Specified by:
isCompositein classAbstractPhenomenon
-
isObservableProperty
public boolean isObservableProperty()- Specified by:
isObservablePropertyin classAbstractPhenomenon
-