All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eprosima.xmlschemas.fastrtps_profiles.EnumDcl Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version

package com.eprosima.xmlschemas.fastrtps_profiles;

import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 

Java class for enumDcl complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *           
 *             
 *               
 *                 
 *                 
 *               
 *             
 *           
 *         
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "enumDcl", propOrder = { "enumerator" }) public class EnumDcl { @XmlElement(required = true) protected List enumerator; @XmlAttribute(name = "name", required = true) protected String name; /** * Gets the value of the enumerator property. * *

This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the enumerator property.

* *

* For example, to add a new item, do as follows: *

*
     * getEnumerator().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link EnumDcl.Enumerator } *

* * * @return * The value of the enumerator property. */ public List getEnumerator() { if (enumerator == null) { enumerator = new ArrayList<>(); } return this.enumerator; } /** * 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; } /** *

Java class for anonymous complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
     * 
     *   
     *     
     *       
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Enumerator { @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "value") protected Long 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 value property. * * @return * possible object is * {@link Long } * */ public Long getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link Long } * */ public void setValue(Long value) { this.value = value; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy