class MarkScaleValueConverter extends AbstractConverter<MarkScaleValue, MarkScaleValueResource> {

	@Override
	public MarkScaleValueResource convert(final MarkScaleValue source, final MarkScaleValueResource target) {
		
		if (source.getMarkScale() != null) {
			target.setMarkScaleId(source.getMarkScale().getId());
		}
		
		target.setStrValue(source.getStrValue());
		target.setId(source.getId());
		
		return target;
	}

}