public BedSpaceStateStatusVo getBedSpaceStateStatus(BedSpaceStateStatusRefVo bedSpaceStateStatus) { if(bedSpaceStateStatus == null || bedSpaceStateStatus.getID_BedSpaceStateStatus() == null) throw new CodingRuntimeException("bedSpaceStateStatus is null or id not provided in method getBedSpaceStateStatus"); return BedSpaceStateStatusVoAssembler.create((BedSpaceStateStatus) getDomainFactory().getDomainObject(bedSpaceStateStatus)); }