io.atlasmap.v2.ConvertMassUnit Maven / Gradle / Ivy
package io.atlasmap.v2;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
public class ConvertMassUnit extends Action implements Serializable {
private static final long serialVersionUID = 1L;
protected MassUnitType fromUnit;
protected MassUnitType toUnit;
/**
* Gets the value of the fromUnit property.
*
* @return
* possible object is
* {@link MassUnitType }
*
*/
public MassUnitType getFromUnit() {
return fromUnit;
}
/**
* Sets the value of the fromUnit property.
*
* @param value
* allowed object is
* {@link MassUnitType }
*
*/
@JsonPropertyDescription("The mass unit to convert from")
@AtlasActionProperty(title = "From", type = FieldType.STRING)
public void setFromUnit(MassUnitType value) {
this.fromUnit = value;
}
/**
* Gets the value of the toUnit property.
*
* @return
* possible object is
* {@link MassUnitType }
*
*/
public MassUnitType getToUnit() {
return toUnit;
}
/**
* Sets the value of the toUnit property.
*
* @param value
* allowed object is
* {@link MassUnitType }
*
*/
@JsonPropertyDescription("The mass unit to convert to")
@AtlasActionProperty(title = "To", type = FieldType.STRING)
public void setToUnit(MassUnitType value) {
this.toUnit = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy