All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.helger.holiday.jaxb.HebrewHoliday Maven / Gradle / Ivy

There is a newer version: 7.0.0
Show newest version

package com.helger.holiday.jaxb;

import javax.annotation.Nullable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import com.helger.commons.annotation.CodingStyleguideUnaware;
import com.helger.commons.equals.EqualsHelper;
import com.helger.commons.hashcode.HashCodeGenerator;
import com.helger.commons.string.ToStringGenerator;


/**
 * 

Java class for HebrewHoliday complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="HebrewHoliday">
 *   <complexContent>
 *     <extension base="{http://www.example.org/Holiday}Holiday">
 *       <attribute name="type" type="{http://www.example.org/Holiday}HebrewHolidayType" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
*

This class was annotated by ph-jaxb22-plugin -Xph-annotate

*

This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode

*

This class contains methods created by ph-jaxb22-plugin -Xph-tostring

* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HebrewHoliday") @CodingStyleguideUnaware public class HebrewHoliday extends Holiday { @XmlAttribute(name = "type") private String type; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ @Nullable public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType( @Nullable String value) { this.type = value; } /** * Created by ph-jaxb22-plugin -Xph-equalshashcode * */ @Override public boolean equals(final Object o) { if (o == this) { return true; } if (!super.equals(o)) { return false; } final HebrewHoliday rhs = ((HebrewHoliday) o); if (!EqualsHelper.equals(type, rhs.type)) { return false; } return true; } /** * Created by ph-jaxb22-plugin -Xph-equalshashcode * */ @Override public int hashCode() { return HashCodeGenerator.getDerived(super.hashCode()).append(type).getHashCode(); } /** * Created by ph-jaxb22-plugin -Xph-tostring * */ @Override public String toString() { return ToStringGenerator.getDerived(super.toString()).append("type", type).getToString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy