com.vmware.vcloud.extensibility.platform.Requirements Maven / Gradle / Ivy
Show all versions of vcd-extensibility-bindings-java Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.01.11 at 04:44:46 AM UTC
//
package com.vmware.vcloud.extensibility.platform;
/*-
* #%L
* vcd-extensibility-bindings-java :: Object Extensibility API bindings
* %%
* Copyright (C) 2016 - 2019 VMware
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* #L%
*/
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Context" type="{http://www.vmware.com/vcloud/extensibility/v1.0}ContextType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Subject" type="{http://www.vmware.com/vcloud/extensibility/v1.0}SubjectType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"context",
"subject"
})
@XmlRootElement(name = "Requirements")
public class Requirements
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Context")
protected List context;
@XmlElement(name = "Subject")
protected List subject;
/**
* Gets the value of the context 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 context property.
*
*
* For example, to add a new item, do as follows:
*
* getContext().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContextType }
*
*
*/
public List getContext() {
if (context == null) {
context = new ArrayList();
}
return this.context;
}
/**
* Gets the value of the subject 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 subject property.
*
*
* For example, to add a new item, do as follows:
*
* getSubject().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubjectType }
*
*
*/
public List getSubject() {
if (subject == null) {
subject = new ArrayList();
}
return this.subject;
}
}