Package org.n52.shetland.ogc.om
Class AbstractPhenomenon
- java.lang.Object
-
- org.n52.shetland.ogc.gml.AbstractGML
-
- org.n52.shetland.ogc.gml.AbstractFeature
-
- org.n52.shetland.ogc.om.AbstractPhenomenon
-
- All Implemented Interfaces:
Comparable<AbstractPhenomenon>,HasDefaultEncoding<AbstractFeature>
- Direct Known Subclasses:
OmCompositePhenomenon,OmObservableProperty
public abstract class AbstractPhenomenon extends AbstractFeature implements Comparable<AbstractPhenomenon>
Abstract class for phenomena- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description AbstractPhenomenon(String identifier)constructorAbstractPhenomenon(String identifier, String description)constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OmCompositePhenomenonasCompositePhenomenon()OmObservablePropertyasObservableProperty()intcompareTo(AbstractPhenomenon o)booleanequals(Object paramObject)inthashCode()abstract booleanisComposite()abstract booleanisObservableProperty()StringtoString()-
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
-
-
-
-
Constructor Detail
-
AbstractPhenomenon
public AbstractPhenomenon(String identifier)
constructor- Parameters:
identifier- Phenomenon identifier
-
-
Method Detail
-
equals
public boolean equals(Object paramObject)
- Overrides:
equalsin classAbstractGML
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractGML
-
compareTo
public int compareTo(AbstractPhenomenon o)
- Specified by:
compareToin interfaceComparable<AbstractPhenomenon>
-
isComposite
public abstract boolean isComposite()
-
isObservableProperty
public abstract boolean isObservableProperty()
-
asObservableProperty
public OmObservableProperty asObservableProperty()
-
asCompositePhenomenon
public OmCompositePhenomenon asCompositePhenomenon()
-
-