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
Constructors Constructor Description OmCompositePhenomenon(String identifier)OmCompositePhenomenon(String identifier, String description)OmCompositePhenomenon(String compPhenId, String compPhenDesc, Collection<OmObservableProperty> phenomenonComponents)standard constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OmCompositePhenomenonaddPhenomenonComponent(OmObservableProperty observableProperty)List<OmObservableProperty>getPhenomenonComponents()Get observablePropertiesbooleanisComposite()booleanisObservableProperty()Iterator<OmObservableProperty>iterator()OmCompositePhenomenonsetPhenomenonComponents(Collection<OmObservableProperty> phenomenonComponents)Set observableProperties-
Methods inherited from class org.n52.shetland.ogc.om.AbstractPhenomenon
asCompositePhenomenon, asObservableProperty, compareTo, equals, hashCode, toString
-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncoded
-
Methods 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, setName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
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
public OmCompositePhenomenon(String identifier)
-
-
Method Detail
-
getPhenomenonComponents
public List<OmObservableProperty> 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
public OmCompositePhenomenon addPhenomenonComponent(OmObservableProperty observableProperty)
-
iterator
public Iterator<OmObservableProperty> iterator()
- Specified by:
iteratorin interfaceIterable<OmObservableProperty>
-
isComposite
public boolean isComposite()
- Specified by:
isCompositein classAbstractPhenomenon
-
isObservableProperty
public boolean isObservableProperty()
- Specified by:
isObservablePropertyin classAbstractPhenomenon
-
-