
com.squeakysand.schema.javaee.EjbJar Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.12.29 at 01:35:33 AM PST
//
package com.squeakysand.schema.javaee;
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.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
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;
/**
*
*
* The ejb-jarType defines the root element of the EJB
* deployment descriptor. It contains
*
* - an optional description of the ejb-jar file
* - an optional display name
* - an optional icon that contains a small and a large
* icon file name
* - structural information about all included
* enterprise beans that is not specified through
* annotations
* - structural information about interceptor classes
* - a descriptor for container managed relationships,
* if any.
* - an optional application-assembly descriptor
* - an optional name of an ejb-client-jar file for the
* ejb-jar.
*
*
*
* Java class for ejb-jarType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ejb-jarType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
* <element name="enterprise-beans" type="{http://java.sun.com/xml/ns/javaee}enterprise-beansType" minOccurs="0"/>
* <element name="interceptors" type="{http://java.sun.com/xml/ns/javaee}interceptorsType" minOccurs="0"/>
* <element name="relationships" type="{http://java.sun.com/xml/ns/javaee}relationshipsType" minOccurs="0"/>
* <element name="assembly-descriptor" type="{http://java.sun.com/xml/ns/javaee}assembly-descriptorType" minOccurs="0"/>
* <element name="ejb-client-jar" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
* </sequence>
* <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}dewey-versionType" fixed="3.0" />
* <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ejb-jarType", propOrder = {
"descriptions",
"displayNames",
"icons",
"enterpriseBeans",
"interceptors",
"relationships",
"assemblyDescriptor",
"ejbClientJar"
})
@XmlRootElement(name = "ejb-jar")
public class EjbJar {
@XmlElement(name = "description")
protected List descriptions;
@XmlElement(name = "display-name")
protected List displayNames;
@XmlElement(name = "icon")
protected List icons;
@XmlElement(name = "enterprise-beans")
protected EnterpriseBeansType enterpriseBeans;
protected InterceptorsType interceptors;
protected RelationshipsType relationships;
@XmlElement(name = "assembly-descriptor")
protected AssemblyDescriptorType assemblyDescriptor;
@XmlElement(name = "ejb-client-jar")
protected PathType ejbClientJar;
@XmlAttribute(name = "version", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected java.lang.String version;
@XmlAttribute(name = "metadata-complete")
protected Boolean metadataComplete;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected java.lang.String id;
/**
* Gets the value of the descriptions 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 descriptions property.
*
*
* For example, to add a new item, do as follows:
*
* getDescriptions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DescriptionType }
*
*
*/
public List getDescriptions() {
if (descriptions == null) {
descriptions = new ArrayList();
}
return this.descriptions;
}
/**
* Gets the value of the displayNames 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 displayNames property.
*
*
* For example, to add a new item, do as follows:
*
* getDisplayNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DisplayNameType }
*
*
*/
public List getDisplayNames() {
if (displayNames == null) {
displayNames = new ArrayList();
}
return this.displayNames;
}
/**
* Gets the value of the icons 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 icons property.
*
*
* For example, to add a new item, do as follows:
*
* getIcons().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IconType }
*
*
*/
public List getIcons() {
if (icons == null) {
icons = new ArrayList();
}
return this.icons;
}
/**
* Gets the value of the enterpriseBeans property.
*
* @return
* possible object is
* {@link EnterpriseBeansType }
*
*/
public EnterpriseBeansType getEnterpriseBeans() {
return enterpriseBeans;
}
/**
* Sets the value of the enterpriseBeans property.
*
* @param value
* allowed object is
* {@link EnterpriseBeansType }
*
*/
public void setEnterpriseBeans(EnterpriseBeansType value) {
this.enterpriseBeans = value;
}
/**
* Gets the value of the interceptors property.
*
* @return
* possible object is
* {@link InterceptorsType }
*
*/
public InterceptorsType getInterceptors() {
return interceptors;
}
/**
* Sets the value of the interceptors property.
*
* @param value
* allowed object is
* {@link InterceptorsType }
*
*/
public void setInterceptors(InterceptorsType value) {
this.interceptors = value;
}
/**
* Gets the value of the relationships property.
*
* @return
* possible object is
* {@link RelationshipsType }
*
*/
public RelationshipsType getRelationships() {
return relationships;
}
/**
* Sets the value of the relationships property.
*
* @param value
* allowed object is
* {@link RelationshipsType }
*
*/
public void setRelationships(RelationshipsType value) {
this.relationships = value;
}
/**
* Gets the value of the assemblyDescriptor property.
*
* @return
* possible object is
* {@link AssemblyDescriptorType }
*
*/
public AssemblyDescriptorType getAssemblyDescriptor() {
return assemblyDescriptor;
}
/**
* Sets the value of the assemblyDescriptor property.
*
* @param value
* allowed object is
* {@link AssemblyDescriptorType }
*
*/
public void setAssemblyDescriptor(AssemblyDescriptorType value) {
this.assemblyDescriptor = value;
}
/**
* Gets the value of the ejbClientJar property.
*
* @return
* possible object is
* {@link PathType }
*
*/
public PathType getEjbClientJar() {
return ejbClientJar;
}
/**
* Sets the value of the ejbClientJar property.
*
* @param value
* allowed object is
* {@link PathType }
*
*/
public void setEjbClientJar(PathType value) {
this.ejbClientJar = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getVersion() {
if (version == null) {
return "3.0";
} else {
return version;
}
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setVersion(java.lang.String value) {
this.version = value;
}
/**
* Gets the value of the metadataComplete property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMetadataComplete() {
return metadataComplete;
}
/**
* Sets the value of the metadataComplete property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMetadataComplete(Boolean value) {
this.metadataComplete = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setId(java.lang.String value) {
this.id = value;
}
}