/*
* Copyright [2013] [Cloud4SOA, www.cloud4soa.eu]
*
*
* 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 eu.cloud4soa.adapter.rest.response.model;
import java.io.Serializable;
/**
*
* @author Denis Neuling (dn@cloudcontrol.de)
*/
public class Deployment implements Serializable{
private static final long serialVersionUID = -6822918079947700356L;
private String applicationName;
private String deploymentName;
private String subDomain;
private String state;
/*
* (non-javadoc)
* the following 2 fields are technically from type date,
* but i prefer to use string because parsing dates is not very funny
*/
private String created;
private String modified;
public Deployment(){
}
public String getApplicationName() {
return applicationName;
}
public void setApplicationName(String applicationName) {
this.applicationName = applicationName;
}
public String getDeploymentName() {
return deploymentName;
}
public void setDeploymentName(String deploymentName) {
this.deploymentName = deploymentName;
}
public String getSubDomain() {
return subDomain;
}
public void setSubDomain(String subDomain) {
this.subDomain = subDomain;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getCreated() {
return created;
}
public void setCreated(String created) {
this.created = created;
}
public String getModified() {
return modified;
}
public void setModified(String modified) {
this.modified = modified;
}
@Override
public String toString() {
return "Deployment [applicationName=" + applicationName + ", deploymentName=" + deploymentName + ", subDomain=" + subDomain + ", state=" + state
+ ", created=" + created + ", modified=" + modified + "]";
}
}