org.uddi.sub_v3.KeyBag Maven / Gradle / Ivy
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.uddi.sub_v3;
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.XmlTransient;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for keyBag complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="keyBag">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:uddi-org:sub_v3}deleted"/>
* <choice>
* <element ref="{urn:uddi-org:api_v3}tModelKey" maxOccurs="unbounded"/>
* <element ref="{urn:uddi-org:api_v3}businessKey" maxOccurs="unbounded"/>
* <element ref="{urn:uddi-org:api_v3}serviceKey" maxOccurs="unbounded"/>
* <element ref="{urn:uddi-org:api_v3}bindingKey" maxOccurs="unbounded"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "keyBag", propOrder = {
"deleted",
"tModelKey",
"businessKey",
"serviceKey",
"bindingKey"
})
@XmlRootElement() //required for REST APIs
public class KeyBag implements Serializable{
@XmlTransient
private static final long serialVersionUID = -4702163443625186185L;
protected boolean deleted;
@XmlElement(namespace = "urn:uddi-org:api_v3")
protected List tModelKey;
@XmlElement(namespace = "urn:uddi-org:api_v3")
protected List businessKey;
@XmlElement(namespace = "urn:uddi-org:api_v3")
protected List serviceKey;
@XmlElement(namespace = "urn:uddi-org:api_v3")
protected List bindingKey;
/**
* Gets the value of the deleted property.
*
*/
public boolean isDeleted() {
return deleted;
}
/**
* Sets the value of the deleted property.
*
*/
public void setDeleted(boolean value) {
this.deleted = value;
}
/**
* Gets the value of the tModelKey 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 tModelKey property.
*
*
* For example, to add a new item, do as follows:
*
* getTModelKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getTModelKey() {
if (tModelKey == null) {
tModelKey = new ArrayList();
}
return this.tModelKey;
}
/**
* Gets the value of the businessKey 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 businessKey property.
*
*
* For example, to add a new item, do as follows:
*
* getBusinessKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getBusinessKey() {
if (businessKey == null) {
businessKey = new ArrayList();
}
return this.businessKey;
}
/**
* Gets the value of the serviceKey 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 serviceKey property.
*
*
* For example, to add a new item, do as follows:
*
* getServiceKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getServiceKey() {
if (serviceKey == null) {
serviceKey = new ArrayList();
}
return this.serviceKey;
}
/**
* Gets the value of the bindingKey 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 bindingKey property.
*
*
* For example, to add a new item, do as follows:
*
* getBindingKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getBindingKey() {
if (bindingKey == null) {
bindingKey = new ArrayList();
}
return this.bindingKey;
}
}