com.sun.enterprise.admin.servermgmt.xml.domaininfo.TemplateInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of payara-micro Show documentation
Show all versions of payara-micro Show documentation
Micro Distribution of the Payara Project for IBM JDK
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.08.07 at 01:01:30 PM BST
//
package com.sun.enterprise.admin.servermgmt.xml.domaininfo;
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 TemplateInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TemplateInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="version" use="required" type="{http://xmlns.oracle.com/cie/glassfish/domain-template}Version" />
* <attribute name="author" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="category" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" use="required" type="{http://xmlns.oracle.com/cie/glassfish/domain-template}TemplateType" fixed="Domain Template" />
* <attribute name="server-type" type="{http://www.w3.org/2001/XMLSchema}string" fixed="gf" />
* <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TemplateInfo", namespace = "http://xmlns.oracle.com/cie/glassfish/domain-template")
public class TemplateInfo {
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "version", required = true)
protected String version;
@XmlAttribute(name = "author", required = true)
protected String author;
@XmlAttribute(name = "category")
protected String category;
@XmlAttribute(name = "type", required = true)
protected TemplateType type;
@XmlAttribute(name = "server-type")
protected String serverType;
@XmlAttribute(name = "description")
protected String description;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the author property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuthor() {
return author;
}
/**
* Sets the value of the author property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthor(String value) {
this.author = value;
}
/**
* Gets the value of the category property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCategory() {
return category;
}
/**
* Sets the value of the category property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCategory(String value) {
this.category = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link TemplateType }
*
*/
public TemplateType getType() {
if (type == null) {
return TemplateType.DOMAIN_TEMPLATE;
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link TemplateType }
*
*/
public void setType(TemplateType value) {
this.type = value;
}
/**
* Gets the value of the serverType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServerType() {
if (serverType == null) {
return "gf";
} else {
return serverType;
}
}
/**
* Sets the value of the serverType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServerType(String value) {
this.serverType = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy