com.vmware.vim25.Relation Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Relation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Relation">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="constraint" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Relation", propOrder = {
"constraint",
"name",
"version"
})
public class Relation
extends DynamicData
{
protected String constraint;
@XmlElement(required = true)
protected String name;
protected String version;
/**
* Gets the value of the constraint property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getConstraint() {
return constraint;
}
/**
* Sets the value of the constraint property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setConstraint(String value) {
this.constraint = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
}