1 2 package org.kuali.ole.docstore.common.document.content.instance; 3 4 import com.thoughtworks.xstream.annotations.XStreamAlias; 5 import com.thoughtworks.xstream.annotations.XStreamAsAttribute; 6 7 import javax.xml.bind.annotation.*; 8 9 10 /** 11 * Created by IntelliJ IDEA. 12 * User: Pranitha 13 * Date: 8/17/12 14 * Time: 10:47 AM 15 * To change this template use File | Settings | File Templates. 16 * <p/> 17 * <p/> 18 * Unique identifier for the item record. 19 * <p/> 20 * <p/> 21 * <p>Java class for identifier complex type. 22 * <p/> 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * <p/> 25 * <pre> 26 * <complexType name="identifier"> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="identifierValue" type="{http://www.w3.org/2001/XMLSchema}string"/> 31 * </sequence> 32 * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" /> 33 * </restriction> 34 * </complexContent> 35 * </complexType> 36 * </pre> 37 */ 38 @XmlAccessorType(XmlAccessType.FIELD) 39 @XmlType(name = "identifier", namespace = "http://ole.kuali.org/standards/ole-instance", propOrder = { 40 "identifierValue" 41 }) 42 @XStreamAlias("identifier") 43 public class Identifier { 44 45 @XmlElement(namespace = "http://ole.kuali.org/standards/ole-instance", required = true) 46 protected String identifierValue; 47 @XmlAttribute 48 @XStreamAsAttribute 49 protected String source; 50 51 /** 52 * Gets the value of the identifierValue property. 53 * 54 * @return possible object is 55 * {@link String } 56 */ 57 public String getIdentifierValue() { 58 return identifierValue; 59 } 60 61 /** 62 * Sets the value of the identifierValue property. 63 * 64 * @param value allowed object is 65 * {@link String } 66 */ 67 public void setIdentifierValue(String value) { 68 this.identifierValue = value; 69 } 70 71 /** 72 * Gets the value of the source property. 73 * 74 * @return possible object is 75 * {@link String } 76 */ 77 public String getSource() { 78 return source; 79 } 80 81 /** 82 * Sets the value of the source property. 83 * 84 * @param value allowed object is 85 * {@link String } 86 */ 87 public void setSource(String value) { 88 this.source = value; 89 } 90 91 }