com.minlessika.membership.integration.MeasureUnit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of membership-integration Show documentation
Show all versions of membership-integration Show documentation
It's a library to help developers to integration membership services to another project.
package com.minlessika.membership.integration;
import java.util.UUID;
public interface MeasureUnit {
UUID id();
String shortname();
String fullName();
MeasureUnitType type();
void update(String shortName, String fullName, MeasureUnitType type);
MeasureUnit EMPTY = new MeasureUnit() {
@Override
public UUID id() {
return null;
}
@Override
public String shortname() {
return null;
}
@Override
public String fullName() {
return null;
}
@Override
public MeasureUnitType type() {
return null;
}
@Override
public void update(String shortName, String fullName, MeasureUnitType type) {
}
};
}