001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004 // Any modifications to this file will be lost upon recompilation of the source schema.
005 // Generated on: 2008.10.21 at 09:24:54 AM EDT
006 //
007
008
009 package org.apache.geronimo.system.plugin.model;
010
011 import java.io.Serializable;
012 import javax.xml.bind.annotation.XmlAccessType;
013 import javax.xml.bind.annotation.XmlAccessorType;
014 import javax.xml.bind.annotation.XmlAttribute;
015 import javax.xml.bind.annotation.XmlType;
016 import javax.xml.bind.annotation.XmlValue;
017 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019
020
021 /**
022 *
023 * See pluginType/hash above
024 *
025 *
026 * <p>Java class for hashType complex type.
027 *
028 * <p>The following schema fragment specifies the expected content contained within this class.
029 *
030 * <pre>
031 * <complexType name="hashType">
032 * <simpleContent>
033 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
034 * <attribute name="type" use="required">
035 * <simpleType>
036 * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
037 * <enumeration value="MD5"/>
038 * <enumeration value="SHA-1"/>
039 * </restriction>
040 * </simpleType>
041 * </attribute>
042 * </extension>
043 * </simpleContent>
044 * </complexType>
045 * </pre>
046 *
047 *
048 */
049 @XmlAccessorType(XmlAccessType.FIELD)
050 @XmlType(name = "hashType", propOrder = {
051 "value"
052 })
053 public class HashType
054 implements Serializable
055 {
056
057 private final static long serialVersionUID = 12343L;
058 @XmlValue
059 protected String value;
060 @XmlAttribute(required = true)
061 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
062 protected String type;
063
064 /**
065 * Gets the value of the value property.
066 *
067 * @return
068 * possible object is
069 * {@link String }
070 *
071 */
072 public String getValue() {
073 return value;
074 }
075
076 /**
077 * Sets the value of the value property.
078 *
079 * @param value
080 * allowed object is
081 * {@link String }
082 *
083 */
084 public void setValue(String value) {
085 this.value = value;
086 }
087
088 /**
089 * Gets the value of the type property.
090 *
091 * @return
092 * possible object is
093 * {@link String }
094 *
095 */
096 public String getType() {
097 return type;
098 }
099
100 /**
101 * Sets the value of the type property.
102 *
103 * @param value
104 * allowed object is
105 * {@link String }
106 *
107 */
108 public void setType(String value) {
109 this.type = value;
110 }
111
112 }