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 java.util.ArrayList; 012import java.util.List; 013import javax.xml.bind.annotation.XmlAccessType; 014import javax.xml.bind.annotation.XmlAccessorType; 015import javax.xml.bind.annotation.XmlAttribute; 016import javax.xml.bind.annotation.XmlElement; 017import javax.xml.bind.annotation.XmlType; 018 019 020/** 021 * <p>Java class for DsmlAttr complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType name="DsmlAttr"> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence> 030 * <element name="value" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlValue" maxOccurs="unbounded" minOccurs="0"/> 031 * </sequence> 032 * <attribute name="name" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}AttributeDescriptionValue" /> 033 * </restriction> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040@XmlAccessorType(XmlAccessType.FIELD) 041@XmlType(name = "DsmlAttr", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = { 042 "value" 043}) 044public class DsmlAttr { 045 046 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core", type = String.class) 047 protected List<Object> value; 048 @XmlAttribute(name = "name", required = true) 049 protected String name; 050 051 /** 052 * Gets the value of the value property. 053 * 054 * <p> 055 * This accessor method returns a reference to the live list, 056 * not a snapshot. Therefore any modification you make to the 057 * returned list will be present inside the JAXB object. 058 * This is why there is not a <CODE>set</CODE> method for the value property. 059 * 060 * <p> 061 * For example, to add a new item, do as follows: 062 * <pre> 063 * getValue().add(newItem); 064 * </pre> 065 * 066 * 067 * <p> 068 * Objects of the following type(s) are allowed in the list 069 * {@link String } 070 * 071 * 072 */ 073 public List<Object> getValue() { 074 if (value == null) { 075 value = new ArrayList<Object>(); 076 } 077 return this.value; 078 } 079 080 /** 081 * Gets the value of the name property. 082 * 083 * @return 084 * possible object is 085 * {@link String } 086 * 087 */ 088 public String getName() { 089 return name; 090 } 091 092 /** 093 * Sets the value of the name property. 094 * 095 * @param value 096 * allowed object is 097 * {@link String } 098 * 099 */ 100 public void setName(String value) { 101 this.name = value; 102 } 103 104}