
de.digitalcollections.iiif.presentation.model.impl.v2.PhysicalDimensionsServiceImpl Maven / Gradle / Ivy
The newest version!
package de.digitalcollections.iiif.presentation.model.impl.v2;
public class PhysicalDimensionsServiceImpl extends ServiceImpl {
private double physicalScale;
private String physicalUnits;
public PhysicalDimensionsServiceImpl() {}
public PhysicalDimensionsServiceImpl(double physicalScale, String physicalUnits) {
this.physicalScale = physicalScale;
this.physicalUnits = physicalUnits;
}
@Override
public String getContext() {
return "http://iiif.io/api/annex/services/physdim/1/context.json";
}
@Override
public String getProfile() {
return "http://iiif.io/api/annex/services/physdim";
}
public Double getPhysicalScale() {
return physicalScale;
}
public String getPhysicalUnits() {
return physicalUnits;
}
public void setPhysicalScale(double physicalScale) {
this.physicalScale = physicalScale;
}
public void setPhysicalUnits(String physicalUnits) {
this.physicalUnits = physicalUnits;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy