// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.07.20 at 12:19:30 PM CEST // package at.gv.egovernment.moa.id.commons.db.dao.config.deprecated; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; import javax.persistence.Table; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import com.sun.tools.xjc.runtime.ZeroOneBooleanAdapter; import org.jvnet.jaxb2_commons.lang.Equals; import org.jvnet.jaxb2_commons.lang.EqualsStrategy; import org.jvnet.jaxb2_commons.lang.HashCode; import org.jvnet.jaxb2_commons.lang.HashCodeStrategy; import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy; import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; import org.jvnet.jaxb2_commons.locator.ObjectLocator; import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; /** *

Java class for BKUSelectionCustomizationType complex type. * *

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

 * <complexType name="BKUSelectionCustomizationType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="FontType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="BackGroundColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="FrontColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="HeaderBackGroundColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="HeaderFrontColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="HeaderText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ButtonBackGroundColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ButtonBackGroundColorFocus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ButtonFontColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="AppletRedirectTarget" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="AppletHeight" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="AppletWidth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="MandateLoginButton" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="OnlyMandateLoginAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BKUSelectionCustomizationType", propOrder = { "fontType", "backGroundColor", "frontColor", "headerBackGroundColor", "headerFrontColor", "headerText", "buttonBackGroundColor", "buttonBackGroundColorFocus", "buttonFontColor", "appletRedirectTarget", "appletHeight", "appletWidth", "mandateLoginButton", "onlyMandateLoginAllowed" }) public class BKUSelectionCustomizationType implements Serializable, Equals, HashCode { @XmlElement(name = "FontType") protected String fontType; @XmlElement(name = "BackGroundColor") protected String backGroundColor; @XmlElement(name = "FrontColor") protected String frontColor; @XmlElement(name = "HeaderBackGroundColor") protected String headerBackGroundColor; @XmlElement(name = "HeaderFrontColor") protected String headerFrontColor; @XmlElement(name = "HeaderText") protected String headerText; @XmlElement(name = "ButtonBackGroundColor") protected String buttonBackGroundColor; @XmlElement(name = "ButtonBackGroundColorFocus") protected String buttonBackGroundColorFocus; @XmlElement(name = "ButtonFontColor") protected String buttonFontColor; @XmlElement(name = "AppletRedirectTarget") protected String appletRedirectTarget; @XmlElement(name = "AppletHeight") protected String appletHeight; @XmlElement(name = "AppletWidth") protected String appletWidth; @XmlElement(name = "MandateLoginButton", type = String.class, defaultValue = "true") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean mandateLoginButton; @XmlElement(name = "OnlyMandateLoginAllowed", type = String.class, defaultValue = "false") @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) @XmlSchemaType(name = "boolean") protected Boolean onlyMandateLoginAllowed; @XmlAttribute(name = "Hjid") protected Long hjid; /** * Gets the value of the fontType property. * * @return * possible object is * {@link String } * */ public String getFontType() { return fontType; } /** * Sets the value of the fontType property. * * @param value * allowed object is * {@link String } * */ public void setFontType(String value) { this.fontType = value; } /** * Gets the value of the backGroundColor property. * * @return * possible object is * {@link String } * */ public String getBackGroundColor() { return backGroundColor; } /** * Sets the value of the backGroundColor property. * * @param value * allowed object is * {@link String } * */ public void setBackGroundColor(String value) { this.backGroundColor = value; } /** * Gets the value of the frontColor property. * * @return * possible object is * {@link String } * */ public String getFrontColor() { return frontColor; } /** * Sets the value of the frontColor property. * * @param value * allowed object is * {@link String } * */ public void setFrontColor(String value) { this.frontColor = value; } /** * Gets the value of the headerBackGroundColor property. * * @return * possible object is * {@link String } * */ public String getHeaderBackGroundColor() { return headerBackGroundColor; } /** * Sets the value of the headerBackGroundColor property. * * @param value * allowed object is * {@link String } * */ public void setHeaderBackGroundColor(String value) { this.headerBackGroundColor = value; } /** * Gets the value of the headerFrontColor property. * * @return * possible object is * {@link String } * */ public String getHeaderFrontColor() { return headerFrontColor; } /** * Sets the value of the headerFrontColor property. * * @param value * allowed object is * {@link String } * */ public void setHeaderFrontColor(String value) { this.headerFrontColor = value; } /** * Gets the value of the headerText property. * * @return * possible object is * {@link String } * */ public String getHeaderText() { return headerText; } /** * Sets the value of the headerText property. * * @param value * allowed object is * {@link String } * */ public void setHeaderText(String value) { this.headerText = value; } /** * Gets the value of the buttonBackGroundColor property. * * @return * possible object is * {@link String } * */ public String getButtonBackGroundColor() { return buttonBackGroundColor; } /** * Sets the value of the buttonBackGroundColor property. * * @param value * allowed object is * {@link String } * */ public void setButtonBackGroundColor(String value) { this.buttonBackGroundColor = value; } /** * Gets the value of the buttonBackGroundColorFocus property. * * @return * possible object is * {@link String } * */ public String getButtonBackGroundColorFocus() { return buttonBackGroundColorFocus; } /** * Sets the value of the buttonBackGroundColorFocus property. * * @param value * allowed object is * {@link String } * */ public void setButtonBackGroundColorFocus(String value) { this.buttonBackGroundColorFocus = value; } /** * Gets the value of the buttonFontColor property. * * @return * possible object is * {@link String } * */ public String getButtonFontColor() { return buttonFontColor; } /** * Sets the value of the buttonFontColor property. * * @param value * allowed object is * {@link String } * */ public void setButtonFontColor(String value) { this.buttonFontColor = value; } /** * Gets the value of the appletRedirectTarget property. * * @return * possible object is * {@link String } * */ public String getAppletRedirectTarget() { return appletRedirectTarget; } /** * Sets the value of the appletRedirectTarget property. * * @param value * allowed object is * {@link String } * */ public void setAppletRedirectTarget(String value) { this.appletRedirectTarget = value; } /** * Gets the value of the appletHeight property. * * @return * possible object is * {@link String } * */ public String getAppletHeight() { return appletHeight; } /** * Sets the value of the appletHeight property. * * @param value * allowed object is * {@link String } * */ public void setAppletHeight(String value) { this.appletHeight = value; } /** * Gets the value of the appletWidth property. * * @return * possible object is * {@link String } * */ public String getAppletWidth() { return appletWidth; } /** * Sets the value of the appletWidth property. * * @param value * allowed object is * {@link String } * */ public void setAppletWidth(String value) { this.appletWidth = value; } /** * Gets the value of the mandateLoginButton property. * * @return * possible object is * {@link String } * */ public Boolean isMandateLoginButton() { return mandateLoginButton; } /** * Sets the value of the mandateLoginButton property. * * @param value * allowed object is * {@link String } * */ public void setMandateLoginButton(Boolean value) { this.mandateLoginButton = value; } /** * Gets the value of the onlyMandateLoginAllowed property. * * @return * possible object is * {@link String } * */ public Boolean isOnlyMandateLoginAllowed() { return onlyMandateLoginAllowed; } /** * Sets the value of the onlyMandateLoginAllowed property. * * @param value * allowed object is * {@link String } * */ public void setOnlyMandateLoginAllowed(Boolean value) { this.onlyMandateLoginAllowed = value; } /** * Gets the value of the hjid property. * * @return * possible object is * {@link Long } * */ public Long getHjid() { return hjid; } /** * Sets the value of the hjid property. * * @param value * allowed object is * {@link Long } * */ public void setHjid(Long value) { this.hjid = value; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof BKUSelectionCustomizationType)) { return false; } if (this == object) { return true; } final BKUSelectionCustomizationType that = ((BKUSelectionCustomizationType) object); { String lhsFontType; lhsFontType = this.getFontType(); String rhsFontType; rhsFontType = that.getFontType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "fontType", lhsFontType), LocatorUtils.property(thatLocator, "fontType", rhsFontType), lhsFontType, rhsFontType)) { return false; } } { String lhsBackGroundColor; lhsBackGroundColor = this.getBackGroundColor(); String rhsBackGroundColor; rhsBackGroundColor = that.getBackGroundColor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "backGroundColor", lhsBackGroundColor), LocatorUtils.property(thatLocator, "backGroundColor", rhsBackGroundColor), lhsBackGroundColor, rhsBackGroundColor)) { return false; } } { String lhsFrontColor; lhsFrontColor = this.getFrontColor(); String rhsFrontColor; rhsFrontColor = that.getFrontColor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "frontColor", lhsFrontColor), LocatorUtils.property(thatLocator, "frontColor", rhsFrontColor), lhsFrontColor, rhsFrontColor)) { return false; } } { String lhsHeaderBackGroundColor; lhsHeaderBackGroundColor = this.getHeaderBackGroundColor(); String rhsHeaderBackGroundColor; rhsHeaderBackGroundColor = that.getHeaderBackGroundColor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "headerBackGroundColor", lhsHeaderBackGroundColor), LocatorUtils.property(thatLocator, "headerBackGroundColor", rhsHeaderBackGroundColor), lhsHeaderBackGroundColor, rhsHeaderBackGroundColor)) { return false; } } { String lhsHeaderFrontColor; lhsHeaderFrontColor = this.getHeaderFrontColor(); String rhsHeaderFrontColor; rhsHeaderFrontColor = that.getHeaderFrontColor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "headerFrontColor", lhsHeaderFrontColor), LocatorUtils.property(thatLocator, "headerFrontColor", rhsHeaderFrontColor), lhsHeaderFrontColor, rhsHeaderFrontColor)) { return false; } } { String lhsHeaderText; lhsHeaderText = this.getHeaderText(); String rhsHeaderText; rhsHeaderText = that.getHeaderText(); if (!strategy.equals(LocatorUtils.property(thisLocator, "headerText", lhsHeaderText), LocatorUtils.property(thatLocator, "headerText", rhsHeaderText), lhsHeaderText, rhsHeaderText)) { return false; } } { String lhsButtonBackGroundColor; lhsButtonBackGroundColor = this.getButtonBackGroundColor(); String rhsButtonBackGroundColor; rhsButtonBackGroundColor = that.getButtonBackGroundColor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "buttonBackGroundColor", lhsButtonBackGroundColor), LocatorUtils.property(thatLocator, "buttonBackGroundColor", rhsButtonBackGroundColor), lhsButtonBackGroundColor, rhsButtonBackGroundColor)) { return false; } } { String lhsButtonBackGroundColorFocus; lhsButtonBackGroundColorFocus = this.getButtonBackGroundColorFocus(); String rhsButtonBackGroundColorFocus; rhsButtonBackGroundColorFocus = that.getButtonBackGroundColorFocus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "buttonBackGroundColorFocus", lhsButtonBackGroundColorFocus), LocatorUtils.property(thatLocator, "buttonBackGroundColorFocus", rhsButtonBackGroundColorFocus), lhsButtonBackGroundColorFocus, rhsButtonBackGroundColorFocus)) { return false; } } { String lhsButtonFontColor; lhsButtonFontColor = this.getButtonFontColor(); String rhsButtonFontColor; rhsButtonFontColor = that.getButtonFontColor(); if (!strategy.equals(LocatorUtils.property(thisLocator, "buttonFontColor", lhsButtonFontColor), LocatorUtils.property(thatLocator, "buttonFontColor", rhsButtonFontColor), lhsButtonFontColor, rhsButtonFontColor)) { return false; } } { String lhsAppletRedirectTarget; lhsAppletRedirectTarget = this.getAppletRedirectTarget(); String rhsAppletRedirectTarget; rhsAppletRedirectTarget = that.getAppletRedirectTarget(); if (!strategy.equals(LocatorUtils.property(thisLocator, "appletRedirectTarget", lhsAppletRedirectTarget), LocatorUtils.property(thatLocator, "appletRedirectTarget", rhsAppletRedirectTarget), lhsAppletRedirectTarget, rhsAppletRedirectTarget)) { return false; } } { String lhsAppletHeight; lhsAppletHeight = this.getAppletHeight(); String rhsAppletHeight; rhsAppletHeight = that.getAppletHeight(); if (!strategy.equals(LocatorUtils.property(thisLocator, "appletHeight", lhsAppletHeight), LocatorUtils.property(thatLocator, "appletHeight", rhsAppletHeight), lhsAppletHeight, rhsAppletHeight)) { return false; } } { String lhsAppletWidth; lhsAppletWidth = this.getAppletWidth(); String rhsAppletWidth; rhsAppletWidth = that.getAppletWidth(); if (!strategy.equals(LocatorUtils.property(thisLocator, "appletWidth", lhsAppletWidth), LocatorUtils.property(thatLocator, "appletWidth", rhsAppletWidth), lhsAppletWidth, rhsAppletWidth)) { return false; } } { Boolean lhsMandateLoginButton; lhsMandateLoginButton = this.isMandateLoginButton(); Boolean rhsMandateLoginButton; rhsMandateLoginButton = that.isMandateLoginButton(); if (!strategy.equals(LocatorUtils.property(thisLocator, "mandateLoginButton", lhsMandateLoginButton), LocatorUtils.property(thatLocator, "mandateLoginButton", rhsMandateLoginButton), lhsMandateLoginButton, rhsMandateLoginButton)) { return false; } } { Boolean lhsOnlyMandateLoginAllowed; lhsOnlyMandateLoginAllowed = this.isOnlyMandateLoginAllowed(); Boolean rhsOnlyMandateLoginAllowed; rhsOnlyMandateLoginAllowed = that.isOnlyMandateLoginAllowed(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onlyMandateLoginAllowed", lhsOnlyMandateLoginAllowed), LocatorUtils.property(thatLocator, "onlyMandateLoginAllowed", rhsOnlyMandateLoginAllowed), lhsOnlyMandateLoginAllowed, rhsOnlyMandateLoginAllowed)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theFontType; theFontType = this.getFontType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fontType", theFontType), currentHashCode, theFontType); } { String theBackGroundColor; theBackGroundColor = this.getBackGroundColor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "backGroundColor", theBackGroundColor), currentHashCode, theBackGroundColor); } { String theFrontColor; theFrontColor = this.getFrontColor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "frontColor", theFrontColor), currentHashCode, theFrontColor); } { String theHeaderBackGroundColor; theHeaderBackGroundColor = this.getHeaderBackGroundColor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "headerBackGroundColor", theHeaderBackGroundColor), currentHashCode, theHeaderBackGroundColor); } { String theHeaderFrontColor; theHeaderFrontColor = this.getHeaderFrontColor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "headerFrontColor", theHeaderFrontColor), currentHashCode, theHeaderFrontColor); } { String theHeaderText; theHeaderText = this.getHeaderText(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "headerText", theHeaderText), currentHashCode, theHeaderText); } { String theButtonBackGroundColor; theButtonBackGroundColor = this.getButtonBackGroundColor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "buttonBackGroundColor", theButtonBackGroundColor), currentHashCode, theButtonBackGroundColor); } { String theButtonBackGroundColorFocus; theButtonBackGroundColorFocus = this.getButtonBackGroundColorFocus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "buttonBackGroundColorFocus", theButtonBackGroundColorFocus), currentHashCode, theButtonBackGroundColorFocus); } { String theButtonFontColor; theButtonFontColor = this.getButtonFontColor(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "buttonFontColor", theButtonFontColor), currentHashCode, theButtonFontColor); } { String theAppletRedirectTarget; theAppletRedirectTarget = this.getAppletRedirectTarget(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "appletRedirectTarget", theAppletRedirectTarget), currentHashCode, theAppletRedirectTarget); } { String theAppletHeight; theAppletHeight = this.getAppletHeight(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "appletHeight", theAppletHeight), currentHashCode, theAppletHeight); } { String theAppletWidth; theAppletWidth = this.getAppletWidth(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "appletWidth", theAppletWidth), currentHashCode, theAppletWidth); } { Boolean theMandateLoginButton; theMandateLoginButton = this.isMandateLoginButton(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mandateLoginButton", theMandateLoginButton), currentHashCode, theMandateLoginButton); } { Boolean theOnlyMandateLoginAllowed; theOnlyMandateLoginAllowed = this.isOnlyMandateLoginAllowed(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onlyMandateLoginAllowed", theOnlyMandateLoginAllowed), currentHashCode, theOnlyMandateLoginAllowed); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }