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

com.sun.enterprise.admin.servermgmt.xml.stringsubs.Archive Maven / Gradle / Ivy

There is a newer version: 7.2024.1.Alpha1
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.1 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package com.sun.enterprise.admin.servermgmt.xml.stringsubs;

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.XmlElements;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 

Java class for anonymous complex type. * *

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

{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "archiveOrMemberEntry" }) @XmlRootElement(name = "archive") public class Archive { @XmlElements({ @XmlElement(name = "archive", type = Archive.class), @XmlElement(name = "member-entry", type = MemberEntry.class) }) protected List archiveOrMemberEntry; @XmlAttribute(name = "name", required = true) protected String name; /** * Gets the value of the archiveOrMemberEntry 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the archiveOrMemberEntry property. * *

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

     *    getArchiveOrMemberEntry().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Archive } * {@link MemberEntry } * * * @return * The value of the archiveOrMemberEntry property. */ public List getArchiveOrMemberEntry() { if (archiveOrMemberEntry == null) { archiveOrMemberEntry = new ArrayList<>(); } return this.archiveOrMemberEntry; } /** * 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; } }