Class SamplingFeatureComplex
- java.lang.Object
-
- org.n52.shetland.ogc.om.features.samplingFeatures.SamplingFeatureComplex
-
public class SamplingFeatureComplex extends Object
Implementation for sam:SamplingFeatureComplex- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SamplingFeatureComplex(String relatedSamplingFeatureRole, SamplingFeature relatedSamplingFeature)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SamplingFeaturegetRelatedSamplingFeature()Get related sampling featureStringgetRelatedSamplingFeatureRole()Get Related sampling feature role
-
-
-
Constructor Detail
-
SamplingFeatureComplex
public SamplingFeatureComplex(String relatedSamplingFeatureRole, SamplingFeature relatedSamplingFeature)
constructor- Parameters:
relatedSamplingFeatureRole- Related sampling feature rolerelatedSamplingFeature- Related sampling feature- Throws:
IllegalArgumentException- IfrelatedSamplingFeatureRoleis null or empty andrelatedSamplingFeatureis null or empty
-
-
Method Detail
-
getRelatedSamplingFeatureRole
public String getRelatedSamplingFeatureRole()
Get Related sampling feature role- Returns:
- Related sampling feature role
-
getRelatedSamplingFeature
public SamplingFeature getRelatedSamplingFeature()
Get related sampling feature- Returns:
- Related sampling feature
-
-