001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2015.08.26 at 05:38:23 AM CEST 006// 007 008 009package org.opends.dsml.protocol; 010 011import javax.xml.bind.annotation.XmlAccessType; 012import javax.xml.bind.annotation.XmlAccessorType; 013import javax.xml.bind.annotation.XmlAttribute; 014import javax.xml.bind.annotation.XmlElement; 015import javax.xml.bind.annotation.XmlType; 016 017 018/** 019 * <p>Java class for Control complex type. 020 * 021 * <p>The following schema fragment specifies the expected content contained within this class. 022 * 023 * <pre> 024 * <complexType name="Control"> 025 * <complexContent> 026 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 027 * <sequence> 028 * <element name="controlValue" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> 029 * </sequence> 030 * <attribute name="type" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}NumericOID" /> 031 * <attribute name="criticality" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> 032 * </restriction> 033 * </complexContent> 034 * </complexType> 035 * </pre> 036 * 037 * 038 */ 039@XmlAccessorType(XmlAccessType.FIELD) 040@XmlType(name = "Control", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = { 041 "controlValue" 042}) 043public class Control { 044 045 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core") 046 protected Object controlValue; 047 @XmlAttribute(name = "type", required = true) 048 protected String type; 049 @XmlAttribute(name = "criticality") 050 protected Boolean criticality; 051 052 /** 053 * Gets the value of the controlValue property. 054 * 055 * @return 056 * possible object is 057 * {@link Object } 058 * 059 */ 060 public Object getControlValue() { 061 return controlValue; 062 } 063 064 /** 065 * Sets the value of the controlValue property. 066 * 067 * @param value 068 * allowed object is 069 * {@link Object } 070 * 071 */ 072 public void setControlValue(Object value) { 073 this.controlValue = value; 074 } 075 076 /** 077 * Gets the value of the type property. 078 * 079 * @return 080 * possible object is 081 * {@link String } 082 * 083 */ 084 public String getType() { 085 return type; 086 } 087 088 /** 089 * Sets the value of the type property. 090 * 091 * @param value 092 * allowed object is 093 * {@link String } 094 * 095 */ 096 public void setType(String value) { 097 this.type = value; 098 } 099 100 /** 101 * Gets the value of the criticality property. 102 * 103 * @return 104 * possible object is 105 * {@link Boolean } 106 * 107 */ 108 public boolean isCriticality() { 109 if (criticality == null) { 110 return false; 111 } else { 112 return criticality; 113 } 114 } 115 116 /** 117 * Sets the value of the criticality property. 118 * 119 * @param value 120 * allowed object is 121 * {@link Boolean } 122 * 123 */ 124 public void setCriticality(Boolean value) { 125 this.criticality = value; 126 } 127 128}