/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* Copyright (c) 2013, MPL CodeInside http://codeinside.ru
*/
package ru.roskazna.xsd.postblock;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PostBlock", propOrder = {
"id",
"timeStamp",
"senderIdentifier"
})
public class PostBlock {
@XmlElement(name = "ID", required = true)
protected String id;
@XmlElement(name = "TimeStamp", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar timeStamp;
@XmlElement(name = "SenderIdentifier", required = true)
protected String senderIdentifier;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setID(String value) {
this.id = value;
}
/**
* Gets the value of the timeStamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTimeStamp() {
return timeStamp;
}
/**
* Sets the value of the timeStamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTimeStamp(XMLGregorianCalendar value) {
this.timeStamp = value;
}
/**
* Gets the value of the senderIdentifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSenderIdentifier() {
return senderIdentifier;
}
/**
* Sets the value of the senderIdentifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSenderIdentifier(String value) {
this.senderIdentifier = value;
}
}