com.redhat.rhevm.api.model.Permit 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: 2011.09.04 at 05:40:00 PM IDT
//
package com.redhat.rhevm.api.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Permit complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Permit">
* <complexContent>
* <extension base="{}BaseResource">
* <sequence>
* <element name="administrative" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="role" type="{}Role" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Permit", propOrder = {
"administrative",
"role"
})
public class Permit
extends BaseResource
{
protected boolean administrative;
protected Role role;
/**
* Gets the value of the administrative property.
*
*/
public boolean isAdministrative() {
return administrative;
}
/**
* Sets the value of the administrative property.
*
*/
public void setAdministrative(boolean value) {
this.administrative = value;
}
public boolean isSetAdministrative() {
return true;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link Role }
*
*/
public Role getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link Role }
*
*/
public void setRole(Role value) {
this.role = value;
}
public boolean isSetRole() {
return (this.role!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy