blob: fe922f49eb903704b8a9059a9203942f961a3083 [file] [log] [blame]
package org.eclipse.basyx.submodel.types.digitalnameplate.enums;
import org.eclipse.basyx.submodel.metamodel.enumhelper.StandardizedLiteralEnum;
import org.eclipse.basyx.submodel.metamodel.enumhelper.StandardizedLiteralEnumHelper;
/**
* characterization of the fax according its location or usage
* as described in the AAS Digital Nameplate template
* @author haque
*
*/
public enum FaxType implements StandardizedLiteralEnum {
/**
* (office, 0173-1#07-AAS754#001)
*/
OFFICE("1"),
/**
* (secretary, 0173-1#07-AAS756#001)
*/
SECRETARY("3"),
/**
* (home, 0173-1#07-AAS758#001)
*/
HOME("5");
private String standardizedLiteral;
private FaxType(String standardizedLiteral) {
this.standardizedLiteral = standardizedLiteral;
}
@Override
public String getStandardizedLiteral() {
return standardizedLiteral;
}
@Override
public String toString() {
return standardizedLiteral;
}
public static FaxType fromString(String str) {
return StandardizedLiteralEnumHelper.fromLiteral(FaxType.class, str);
}
}