
org.xlcloud.service.CookbookDependency Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2012 AMG.lab, a Bull Group Company
*
* Licensed 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.xlcloud.service;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Class represents cookbook dependency as cookbook name and version
*
* @author Michał Kamiński, AMG.net
*/
@XmlAccessorType( XmlAccessType.FIELD )
@XmlRootElement( name = "cookbookDependency" )
public class CookbookDependency implements Serializable {
/**
* TODO Documentation serialVersionUID
*/
private static final long serialVersionUID = -9171268900209091759L;
@XmlAttribute
private String dependencyName;
@XmlAttribute
private String dependencyVersion;
@XmlAttribute
private boolean satisfied;
/**
* Gets the value of {@link #dependencyName}.
*
* @return value of {@link #dependencyName}
*/
public String getDependencyName() {
return dependencyName;
}
/**
* Sets the value of {@link #dependencyName}.
*
* @param dependencyName
* - value
*/
public void setDependencyName(String dependencyName) {
this.dependencyName = dependencyName;
}
/**
* Gets the value of {@link #dependencyVersion}.
*
* @return value of {@link #dependencyVersion}
*/
public String getDependencyVersion() {
return dependencyVersion;
}
/**
* Sets the value of {@link #dependencyVersion}.
*
* @param dependencyVersion
* - value
*/
public void setDependencyVersion(String dependencyVersion) {
this.dependencyVersion = dependencyVersion;
}
/**
* Gets the value of {@link #satisfied}.
* @return value of {@link #satisfied}
*/
public boolean isSatisfied() {
return satisfied;
}
/**
* Sets the value of {@link #satisfied}.
* @param satisfied - value
*/
public void setSatisfied(boolean satisfied) {
this.satisfied = satisfied;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy