ApplicationActionEventPageModePeriodSummaryEmbeddedId.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// 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: 2019.02.25 at 12:05:09 AM CET 
//
package com.hack23.cia.model.internal.application.data.impl;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
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.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hack23.cia.model.common.api.ModelObject;
import com.hack23.cia.model.common.impl.xml.XmlDateTypeAdapter;
/**
 * <p>Java class for ApplicationActionEventPageModePeriodSummaryEmbeddedId complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * <complexType name="ApplicationActionEventPageModePeriodSummaryEmbeddedId">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="created_date" type="{http://www.w3.org/2001/XMLSchema}date"/>
 *         <element name="page" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="page_mode" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ApplicationActionEventPageModePeriodSummaryEmbeddedId", propOrder = {
    "createdDate",
    "page",
    "pageMode"
})
@Embeddable
public class ApplicationActionEventPageModePeriodSummaryEmbeddedId
    implements ModelObject
{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@XmlElement(name = "created_date", required = true, type = String.class)
    @XmlJavaTypeAdapter(XmlDateTypeAdapter.class)
    @XmlSchemaType(name = "date")
    protected Date createdDate;
    @XmlElement(required = true)
    protected String page;
    @XmlElement(name = "page_mode", required = true)
    protected String pageMode;
    /**
     * Gets the value of the createdDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "CREATED_DATE")
    @Temporal(TemporalType.DATE)
    public Date getCreatedDate() {
        return createdDate;
    }
    /**
     * Sets the value of the createdDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCreatedDate(final Date value) {
        this.createdDate = value;
    }
    /**
     * Gets the value of the page property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "PAGE")
    public String getPage() {
        return page;
    }
    /**
     * Sets the value of the page property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPage(final String value) {
        this.page = value;
    }
    /**
     * Gets the value of the pageMode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "PAGE_MODE")
    public String getPageMode() {
        return pageMode;
    }
    /**
     * Sets the value of the pageMode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPageMode(final String value) {
        this.pageMode = value;
    }
    public ApplicationActionEventPageModePeriodSummaryEmbeddedId withCreatedDate(final Date value) {
        setCreatedDate(value);
        return this;
    }
    public ApplicationActionEventPageModePeriodSummaryEmbeddedId withPage(final String value) {
        setPage(value);
        return this;
    }
    public ApplicationActionEventPageModePeriodSummaryEmbeddedId withPageMode(final String value) {
        setPageMode(value);
        return this;
    }
	@Override
	public final String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
	@Override
	public final boolean equals(final Object obj) {
		return EqualsBuilder.reflectionEquals(this, obj);
	}
	@Override
	public final int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}
}