//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.08.11 at 04:38:10 AM PDT
//
package org.ebayopensource.turmeric.common.config;
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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for ServiceConfig complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="ServiceConfig">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="service-impl-class-name" type="{http://www.w3.org/2001/XMLSchema}token"/>
* <element name="service-impl-factory-class-name" type="{http://www.w3.org/2001/XMLSchema}token"/>
* </choice>
* <element name="service-interface-class-name" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
* <element name="current-version" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
* <element name="supported-version" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/>
* <element name="service-instance-config" type="{http://www.ebayopensource.org/turmeric/common/config}ServiceGroupConfig" minOccurs="0"/>
* </sequence>
* <attribute name="group" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="service-name" type="{http://www.w3.org/2001/XMLSchema}token" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ServiceConfig", propOrder = {
"serviceImplClassName",
"serviceImplFactoryClassName",
"serviceInterfaceClassName",
"currentVersion",
"supportedVersion",
"serviceInstanceConfig"
})
public class ServiceConfig {
@XmlElement(name = "service-impl-class-name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String serviceImplClassName;
@XmlElement(name = "service-impl-factory-class-name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String serviceImplFactoryClassName;
@XmlElement(name = "service-interface-class-name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String serviceInterfaceClassName;
@XmlElement(name = "current-version")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String currentVersion;
@XmlElement(name = "supported-version")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List<String> supportedVersion;
@XmlElement(name = "service-instance-config")
protected ServiceGroupConfig serviceInstanceConfig;
@XmlAttribute
protected String group;
@XmlAttribute(name = "service-name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String serviceName;
/**
* Gets the value of the serviceImplClassName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceImplClassName() {
return serviceImplClassName;
}
/**
* Sets the value of the serviceImplClassName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceImplClassName(String value) {
this.serviceImplClassName = value;
}
/**
* Gets the value of the serviceImplFactoryClassName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceImplFactoryClassName() {
return serviceImplFactoryClassName;
}
/**
* Sets the value of the serviceImplFactoryClassName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceImplFactoryClassName(String value) {
this.serviceImplFactoryClassName = value;
}
/**
* Gets the value of the serviceInterfaceClassName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceInterfaceClassName() {
return serviceInterfaceClassName;
}
/**
* Sets the value of the serviceInterfaceClassName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceInterfaceClassName(String value) {
this.serviceInterfaceClassName = value;
}
/**
* Gets the value of the currentVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCurrentVersion() {
return currentVersion;
}
/**
* Sets the value of the currentVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCurrentVersion(String value) {
this.currentVersion = value;
}
/**
* Gets the value of the supportedVersion property.
*
* <p>
* 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 <CODE>set</CODE> method for the supportedVersion property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSupportedVersion().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getSupportedVersion() {
if (supportedVersion == null) {
supportedVersion = new ArrayList<String>();
}
return this.supportedVersion;
}
/**
* Gets the value of the serviceInstanceConfig property.
*
* @return
* possible object is
* {@link ServiceGroupConfig }
*
*/
public ServiceGroupConfig getServiceInstanceConfig() {
return serviceInstanceConfig;
}
/**
* Sets the value of the serviceInstanceConfig property.
*
* @param value
* allowed object is
* {@link ServiceGroupConfig }
*
*/
public void setServiceInstanceConfig(ServiceGroupConfig value) {
this.serviceInstanceConfig = value;
}
/**
* Gets the value of the group property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGroup() {
return group;
}
/**
* Sets the value of the group property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGroup(String value) {
this.group = value;
}
/**
* Gets the value of the serviceName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceName() {
return serviceName;
}
/**
* Sets the value of the serviceName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceName(String value) {
this.serviceName = value;
}
}