org.uddi.api_v3.ServiceInfo Maven / Gradle / Ivy
package org.uddi.api_v3;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for serviceInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="serviceInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:uddi-org:api_v3}name" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="serviceKey" use="required" type="{urn:uddi-org:api_v3}serviceKey" />
* <attribute name="businessKey" use="required" type="{urn:uddi-org:api_v3}businessKey" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "serviceInfo", propOrder = {
"name"
})
public class ServiceInfo {
protected List name;
@XmlAttribute(required = true)
protected String serviceKey;
@XmlAttribute(required = true)
protected String businessKey;
/**
* Gets the value of the name 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 name property.
*
*
* For example, to add a new item, do as follows:
*
* getName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Name }
*
*
*/
public List getName() {
if (name == null) {
name = new ArrayList();
}
return this.name;
}
/**
* Gets the value of the serviceKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceKey() {
return serviceKey;
}
/**
* Sets the value of the serviceKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceKey(String value) {
this.serviceKey = value;
}
/**
* Gets the value of the businessKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBusinessKey() {
return businessKey;
}
/**
* Sets the value of the businessKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBusinessKey(String value) {
this.businessKey = value;
}
}