com.redhat.rhevm.api.model.Version Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.09.27 at 07:29:49 PM IST
//
package com.redhat.rhevm.api.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Version complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Version">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* <attribute name="major" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
* <attribute name="minor" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Version")
@XmlSeeAlso({
VersionCaps.class
})
public class Version {
@XmlAttribute
@XmlSchemaType(name = "unsignedShort")
protected Integer major;
@XmlAttribute
@XmlSchemaType(name = "unsignedShort")
protected Integer minor;
/**
* Gets the value of the major property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getMajor() {
return major;
}
/**
* Sets the value of the major property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMajor(int value) {
this.major = value;
}
public boolean isSetMajor() {
return (this.major!= null);
}
public void unsetMajor() {
this.major = null;
}
/**
* Gets the value of the minor property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getMinor() {
return minor;
}
/**
* Sets the value of the minor property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMinor(int value) {
this.minor = value;
}
public boolean isSetMinor() {
return (this.minor!= null);
}
public void unsetMinor() {
this.minor = null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy