io.github.wujun728.online.convert.OnlineTableConvertImpl Maven / Gradle / Ivy
The newest version!
/*
* Decompiled with CFR 0.152.
*/
package io.github.wujun728.online.convert;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import io.github.wujun728.online.entity.OnlineTableEntity;
import io.github.wujun728.online.vo.OnlineTableVO;
public class OnlineTableConvertImpl
implements OnlineTableConvert {
@Override
public List convertList(List Cfsb) {
if (OnlineTableConvertImpl.wm(Cfsb)) {
return null;
}
ArrayList bfsb = new ArrayList(Cfsb.size());
Iterator XEsb = Cfsb.iterator();
while (OnlineTableConvertImpl.Xm(XEsb.hasNext() ? 1 : 0)) {
OnlineTableConvertImpl Afsb = this;
OnlineTableEntity Efsb = XEsb.next();
bfsb.add(Afsb.convert(Efsb));
"".length();
"".length();
if ((0x10 ^ 0x3E ^ (0x19 ^ 0x32)) != 0) continue;
return null;
}
return bfsb;
}
@Override
public OnlineTableVO convert(OnlineTableEntity Nfsb) {
if (OnlineTableConvertImpl.wm(Nfsb)) {
return null;
}
OnlineTableVO ofsb = new OnlineTableVO();
ofsb.setId(Nfsb.getId());
ofsb.setName(Nfsb.getName());
ofsb.setComments(Nfsb.getComments());
ofsb.setFormLayout(Nfsb.getFormLayout());
ofsb.setTree(Nfsb.getTree());
ofsb.setTreePid(Nfsb.getTreePid());
ofsb.setTreeLabel(Nfsb.getTreeLabel());
ofsb.setTableType(Nfsb.getTableType());
ofsb.setVersion(Nfsb.getVersion());
ofsb.setCreateTime(Nfsb.getCreateTime());
return ofsb;
}
public OnlineTableConvertImpl() {
OnlineTableConvertImpl dGsb;
}
private static boolean wm(Object object) {
return object == null;
}
@Override
public OnlineTableEntity convert(OnlineTableVO Vfsb) {
if (OnlineTableConvertImpl.wm(Vfsb)) {
return null;
}
OnlineTableEntity wfsb = new OnlineTableEntity();
wfsb.setId(Vfsb.getId());
wfsb.setName(Vfsb.getName());
wfsb.setComments(Vfsb.getComments());
wfsb.setFormLayout(Vfsb.getFormLayout());
wfsb.setTree(Vfsb.getTree());
wfsb.setTreePid(Vfsb.getTreePid());
wfsb.setTreeLabel(Vfsb.getTreeLabel());
wfsb.setTableType(Vfsb.getTableType());
wfsb.setCreateTime(Vfsb.getCreateTime());
wfsb.setVersion(Vfsb.getVersion());
return wfsb;
}
private static boolean Xm(int n) {
return n != 0;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy