/**
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.airavata.registry.core.experiment.catalog.resources;
import org.apache.airavata.registry.core.experiment.catalog.ExperimentCatResource;
import org.apache.airavata.registry.core.experiment.catalog.ResourceType;
import org.apache.airavata.registry.cpi.RegistryException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.el.MethodNotFoundException;
import java.sql.Timestamp;
import java.util.List;
public class ExperimentSummaryResource extends AbstractExpCatResource {
private final static Logger logger = LoggerFactory.getLogger(ExperimentSummaryResource.class);
private String experimentId;
private String projectId;
private String gatewayId;
private String userName;
private String executionId;
private String experimentName;
private Timestamp creationTime;
private String description;
private String state;
private String resourceHostId;
private Timestamp timeOfStateChange;
@Override
public ExperimentCatResource create(ResourceType type) throws RegistryException {
throw new MethodNotFoundException();
}
@Override
public void remove(ResourceType type, Object name) throws RegistryException {
throw new MethodNotFoundException();
}
@Override
public ExperimentCatResource get(ResourceType type, Object name) throws RegistryException {
throw new MethodNotFoundException();
}
@Override
public List<ExperimentCatResource> get(ResourceType type) throws RegistryException {
throw new MethodNotFoundException();
}
@Override
public void save() throws RegistryException {
throw new MethodNotFoundException();
}
public String getExperimentId() {
return experimentId;
}
public void setExperimentId(String experimentId) {
this.experimentId = experimentId;
}
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
public String getGatewayId() {
return gatewayId;
}
public void setGatewayId(String gatewayId) {
this.gatewayId = gatewayId;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getExecutionId() {
return executionId;
}
public void setExecutionId(String executionId) {
this.executionId = executionId;
}
public String getExperimentName() {
return experimentName;
}
public void setExperimentName(String experimentName) {
this.experimentName = experimentName;
}
public Timestamp getCreationTime() {
return creationTime;
}
public void setCreationTime(Timestamp creationTime) {
this.creationTime = creationTime;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getResourceHostId() {
return resourceHostId;
}
public void setResourceHostId(String resourceHostId) {
this.resourceHostId = resourceHostId;
}
public Timestamp getTimeOfStateChange() {
return timeOfStateChange;
}
public void setTimeOfStateChange(Timestamp timeOfStateChange) {
this.timeOfStateChange = timeOfStateChange;
}
}