@@ -0,0 +1,2318 @@
+package sg.ncl.service.realization.web;%0A%0Aimport sg.ncl.service.realization.data.jpa.RealizationEntity;%0Aimport sg.ncl.service.realization.domain.Realization;%0A%0A/**%0A * Created by Desmond.%0A */%0Apublic class RealizationInfo implements Realization %7B%0A%0A    private Long id;%0A    private Long experimentId;%0A    private String userId;%0A    private String teamId;%0A    private int numberOfNodes;%0A    private long idleMinutes;%0A    private long runningMinutes;%0A%0A    public RealizationInfo(final Long id, final Long experimentId, final String userId,%0A                            final String teamId, final int numberOfNodes, final long idleMinutes,%0A                            final long runningMinutes) %7B%0A%0A        this.id = id;%0A        this.experimentId = experimentId;%0A        this.userId = userId;%0A        this.teamId = teamId;%0A        this.numberOfNodes = numberOfNodes;%0A        this.idleMinutes = idleMinutes;%0A        this.runningMinutes = runningMinutes;%0A    %7D%0A%0A    public RealizationInfo(final RealizationEntity realizationEntity) %7B%0A        this(realizationEntity.getId(),%0A                realizationEntity.getExperimentId(),%0A                realizationEntity.getUserId(),%0A                realizationEntity.getTeamId(),%0A                realizationEntity.getNumberOfNodes(),%0A                realizationEntity.getIdleMinutes(),%0A                realizationEntity.getRunningMinutes());%0A    %7D%0A%0A    public RealizationInfo(final Realization realization) %7B%0A        this(realization.getId(),%0A                realization.getExperimentId(),%0A                realization.getUserId(),%0A                realization.getTeamId(),%0A                realization.getNumberOfNodes(),%0A                realization.getIdleMinutes(),%0A                realization.getRunningMinutes());%0A    %7D%0A%0A    @Override%0A    public Long getId() %7B%0A        return id;%0A    %7D%0A%0A    @Override%0A    public Long getExperimentId() %7B%0A        return experimentId;%0A    %7D%0A%0A    @Override%0A    public String getUserId() %7B%0A        return userId;%0A    %7D%0A%0A    @Override%0A    public String getTeamId() %7B%0A        return teamId;%0A    %7D%0A%0A    @Override%0A    public int getNumberOfNodes() %7B%0A        return numberOfNodes;%0A    %7D%0A%0A    @Override%0A    public long getIdleMinutes() %7B%0A        return idleMinutes;%0A    %7D%0A%0A    @Override%0A    public long getRunningMinutes() %7B%0A        return runningMinutes;%0A    %7D%0A%7D%0A

Add RealizationInfo