/**
* =============================================================================
*
* ORCID (R) Open Source
* http://orcid.org
*
* Copyright (c) 2012-2014 ORCID, Inc.
* Licensed under an MIT-Style License (MIT)
* http://orcid.org/open-source-license
*
* This copyright and license information (including a link to the full license)
* shall be included in its entirety in all copies or substantial portion of
* the software.
*
* =============================================================================
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// 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: 2014.07.22 at 06:46:00 PM BST
//
package org.orcid.jaxb.model.notification.custom_v2;
import java.io.Serializable;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import org.orcid.jaxb.model.notification_v2.Notification;
import org.orcid.jaxb.model.notification_v2.NotificationType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.orcid.org/ns/common}put-code" minOccurs="0"/>
* <element ref="{http://www.orcid.org/ns/notification}notification-type"/>
* <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="body-text" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="body-html" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="created-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="sent-date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="read-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="archived-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element ref="{http://www.orcid.org/ns/common}source" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "putCode", "notificationType", "subject", "bodyText", "bodyHtml", "createdDate", "sentDate", "readDate", "archivedDate", "source" })
@XmlRootElement(name = "notification", namespace = "http://www.orcid.org/ns/notification")
public class NotificationCustom extends Notification implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected String subject;
@XmlElement(name = "body-text", required = true)
protected String bodyText;
@XmlElement(name = "body-html", required = true)
protected String bodyHtml;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
protected String lang;
@XmlTransient
protected String overwrittenSourceName;
{
notificationType = NotificationType.CUSTOM;
}
/**
* Gets the value of the subject property.
*
* @return possible object is {@link String }
*
*/
public String getSubject() {
return subject;
}
/**
* Sets the value of the subject property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSubject(String value) {
this.subject = value;
}
/**
* Gets the value of the bodyText property.
*
* @return possible object is {@link String }
*
*/
public String getBodyText() {
return bodyText;
}
/**
* Sets the value of the bodyText property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBodyText(String value) {
this.bodyText = value;
}
/**
* Gets the value of the bodyHtml property.
*
* @return possible object is {@link String }
*
*/
public String getBodyHtml() {
return bodyHtml;
}
/**
* Sets the value of the bodyHtml property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBodyHtml(String value) {
this.bodyHtml = value;
}
public String getLang() {
return lang;
}
public void setLang(String lang) {
this.lang = lang;
}
/**
* Gets the value of the overwrittenSourceName property.
*
* @return possible object is {@link String }
*
*/
public String getOverwrittenSourceName() {
return overwrittenSourceName;
}
/**
* Sets the value of the overwrittenSourceName property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setOverwrittenSourceName(String overwrittenSourceName) {
this.overwrittenSourceName = overwrittenSourceName;
}
}