package com.skyline.electricity.pojo; public class Label { private Color fillcolor; private String font; private String horizontalOrigin; private Color outlineColor; private int outlineWidth; private Offset pixelOffset; private double scale; private boolean show; private String style; private boolean showBackground; private Color backgroundColor; private String text; private String verticalOrigin; public Color getFillcolor() { return this.fillcolor; } public String getFont() { return this.font; } public String getHorizontalOrigin() { return this.horizontalOrigin; } public Color getOutlineColor() { return this.outlineColor; } public int getOutlineWidth() { return this.outlineWidth; } public Offset getPixelOffset() { return this.pixelOffset; } public double getScale() { return this.scale; } public boolean isShow() { return this.show; } public String getStyle() { return this.style; } public boolean isShowBackground() { return this.showBackground; } public Color getBackgroundColor() { return this.backgroundColor; } public String getText() { return this.text; } public String getVerticalOrigin() { return this.verticalOrigin; } public void setFillcolor(final Color fillcolor) { this.fillcolor = fillcolor; } public void setFont(final String font) { this.font = font; } public void setHorizontalOrigin(final String horizontalOrigin) { this.horizontalOrigin = horizontalOrigin; } public void setOutlineColor(final Color outlineColor) { this.outlineColor = outlineColor; } public void setOutlineWidth(final int outlineWidth) { this.outlineWidth = outlineWidth; } public void setPixelOffset(final Offset pixelOffset) { this.pixelOffset = pixelOffset; } public void setScale(final double scale) { this.scale = scale; } public void setShow(final boolean show) { this.show = show; } public void setStyle(final String style) { this.style = style; } public void setShowBackground(final boolean showBackground) { this.showBackground = showBackground; } public void setBackgroundColor(final Color backgroundColor) { this.backgroundColor = backgroundColor; } public void setText(final String text) { this.text = text; } public void setVerticalOrigin(final String verticalOrigin) { this.verticalOrigin = verticalOrigin; } @Override public boolean equals(final Object o) { if (o == this) { return true; } if (!(o instanceof Label)) { return false; } final Label other = (Label)o; if (!other.canEqual(this)) { return false; } final Object this$fillcolor = this.getFillcolor(); final Object other$fillcolor = other.getFillcolor(); Label_0065: { if (this$fillcolor == null) { if (other$fillcolor == null) { break Label_0065; } } else if (this$fillcolor.equals(other$fillcolor)) { break Label_0065; } return false; } final Object this$font = this.getFont(); final Object other$font = other.getFont(); Label_0102: { if (this$font == null) { if (other$font == null) { break Label_0102; } } else if (this$font.equals(other$font)) { break Label_0102; } return false; } final Object this$horizontalOrigin = this.getHorizontalOrigin(); final Object other$horizontalOrigin = other.getHorizontalOrigin(); Label_0139: { if (this$horizontalOrigin == null) { if (other$horizontalOrigin == null) { break Label_0139; } } else if (this$horizontalOrigin.equals(other$horizontalOrigin)) { break Label_0139; } return false; } final Object this$outlineColor = this.getOutlineColor(); final Object other$outlineColor = other.getOutlineColor(); Label_0176: { if (this$outlineColor == null) { if (other$outlineColor == null) { break Label_0176; } } else if (this$outlineColor.equals(other$outlineColor)) { break Label_0176; } return false; } if (this.getOutlineWidth() != other.getOutlineWidth()) { return false; } final Object this$pixelOffset = this.getPixelOffset(); final Object other$pixelOffset = other.getPixelOffset(); Label_0226: { if (this$pixelOffset == null) { if (other$pixelOffset == null) { break Label_0226; } } else if (this$pixelOffset.equals(other$pixelOffset)) { break Label_0226; } return false; } if (Double.compare(this.getScale(), other.getScale()) != 0) { return false; } if (this.isShow() != other.isShow()) { return false; } final Object this$style = this.getStyle(); final Object other$style = other.getStyle(); Label_0292: { if (this$style == null) { if (other$style == null) { break Label_0292; } } else if (this$style.equals(other$style)) { break Label_0292; } return false; } if (this.isShowBackground() != other.isShowBackground()) { return false; } final Object this$backgroundColor = this.getBackgroundColor(); final Object other$backgroundColor = other.getBackgroundColor(); Label_0342: { if (this$backgroundColor == null) { if (other$backgroundColor == null) { break Label_0342; } } else if (this$backgroundColor.equals(other$backgroundColor)) { break Label_0342; } return false; } final Object this$text = this.getText(); final Object other$text = other.getText(); Label_0379: { if (this$text == null) { if (other$text == null) { break Label_0379; } } else if (this$text.equals(other$text)) { break Label_0379; } return false; } final Object this$verticalOrigin = this.getVerticalOrigin(); final Object other$verticalOrigin = other.getVerticalOrigin(); if (this$verticalOrigin == null) { if (other$verticalOrigin == null) { return true; } } else if (this$verticalOrigin.equals(other$verticalOrigin)) { return true; } return false; } protected boolean canEqual(final Object other) { return other instanceof Label; } @Override public int hashCode() { final int PRIME = 59; int result = 1; final Object $fillcolor = this.getFillcolor(); result = result * 59 + (($fillcolor == null) ? 43 : $fillcolor.hashCode()); final Object $font = this.getFont(); result = result * 59 + (($font == null) ? 43 : $font.hashCode()); final Object $horizontalOrigin = this.getHorizontalOrigin(); result = result * 59 + (($horizontalOrigin == null) ? 43 : $horizontalOrigin.hashCode()); final Object $outlineColor = this.getOutlineColor(); result = result * 59 + (($outlineColor == null) ? 43 : $outlineColor.hashCode()); result = result * 59 + this.getOutlineWidth(); final Object $pixelOffset = this.getPixelOffset(); result = result * 59 + (($pixelOffset == null) ? 43 : $pixelOffset.hashCode()); final long $scale = Double.doubleToLongBits(this.getScale()); result = result * 59 + (int)($scale >>> 32 ^ $scale); result = result * 59 + (this.isShow() ? 79 : 97); final Object $style = this.getStyle(); result = result * 59 + (($style == null) ? 43 : $style.hashCode()); result = result * 59 + (this.isShowBackground() ? 79 : 97); final Object $backgroundColor = this.getBackgroundColor(); result = result * 59 + (($backgroundColor == null) ? 43 : $backgroundColor.hashCode()); final Object $text = this.getText(); result = result * 59 + (($text == null) ? 43 : $text.hashCode()); final Object $verticalOrigin = this.getVerticalOrigin(); result = result * 59 + (($verticalOrigin == null) ? 43 : $verticalOrigin.hashCode()); return result; } @Override public String toString() { return "Label(fillcolor=" + this.getFillcolor() + ", font=" + this.getFont() + ", horizontalOrigin=" + this.getHorizontalOrigin() + ", outlineColor=" + this.getOutlineColor() + ", outlineWidth=" + this.getOutlineWidth() + ", pixelOffset=" + this.getPixelOffset() + ", scale=" + this.getScale() + ", show=" + this.isShow() + ", style=" + this.getStyle() + ", showBackground=" + this.isShowBackground() + ", backgroundColor=" + this.getBackgroundColor() + ", text=" + this.getText() + ", verticalOrigin=" + this.getVerticalOrigin() + ")"; } }