Package org.n52.shetland.ogc.om
Class OmObservationContext
- java.lang.Object
-
- org.n52.shetland.ogc.om.OmObservationContext
-
public class OmObservationContext extends Object
Representation of OGC O&M 2.0 ObservationContext- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description OmObservationContext(ReferenceType role, ReferenceType relatedObservation)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ReferenceTypegetRelatedObservation()ReferenceTypegetRole()inthashCode()
-
-
-
Constructor Detail
-
OmObservationContext
public OmObservationContext(ReferenceType role, ReferenceType relatedObservation)
constructor- Parameters:
role- Role of the related observationrelatedObservation- Reference to related observation
-
-
Method Detail
-
getRole
public ReferenceType getRole()
- Returns:
- the role
-
getRelatedObservation
public ReferenceType getRelatedObservation()
- Returns:
- the relatedObservation
-
-