protected ListType toUnwrappedModel(ListType listType) {
    if (listType instanceof ListTypeImpl) {
      return listType;
    }

    ListTypeImpl listTypeImpl = new ListTypeImpl();

    listTypeImpl.setNew(listType.isNew());
    listTypeImpl.setPrimaryKey(listType.getPrimaryKey());

    listTypeImpl.setMvccVersion(listType.getMvccVersion());
    listTypeImpl.setListTypeId(listType.getListTypeId());
    listTypeImpl.setName(listType.getName());
    listTypeImpl.setType(listType.getType());

    return listTypeImpl;
  }