
com.fedex.rate.stub.CustomLabelTextBoxEntry Maven / Gradle / Ivy
The newest version!
/**
* CustomLabelTextBoxEntry.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.fedex.rate.stub;
/**
* Constructed string, based on format and zero or more data fields,
* printed in specified printer font (for thermal labels) or generic
* font/size (for plain paper labels).
*/
public class CustomLabelTextBoxEntry implements java.io.Serializable {
private com.fedex.rate.stub.CustomLabelPosition topLeftCorner;
private com.fedex.rate.stub.CustomLabelPosition bottomRightCorner;
private com.fedex.rate.stub.CustomLabelPosition position;
private java.lang.String format;
private java.lang.String[] dataFields;
/* Printer-specific font name for use with thermal printer labels. */
private java.lang.String thermalFontId;
/* Generic font name for use with plain paper labels. */
private java.lang.String fontName;
/* Generic font size for use with plain paper labels. */
private org.apache.axis.types.PositiveInteger fontSize;
private com.fedex.rate.stub.RotationType rotation;
public CustomLabelTextBoxEntry() {
}
public CustomLabelTextBoxEntry(
com.fedex.rate.stub.CustomLabelPosition topLeftCorner,
com.fedex.rate.stub.CustomLabelPosition bottomRightCorner,
com.fedex.rate.stub.CustomLabelPosition position,
java.lang.String format,
java.lang.String[] dataFields,
java.lang.String thermalFontId,
java.lang.String fontName,
org.apache.axis.types.PositiveInteger fontSize,
com.fedex.rate.stub.RotationType rotation) {
this.topLeftCorner = topLeftCorner;
this.bottomRightCorner = bottomRightCorner;
this.position = position;
this.format = format;
this.dataFields = dataFields;
this.thermalFontId = thermalFontId;
this.fontName = fontName;
this.fontSize = fontSize;
this.rotation = rotation;
}
/**
* Gets the topLeftCorner value for this CustomLabelTextBoxEntry.
*
* @return topLeftCorner
*/
public com.fedex.rate.stub.CustomLabelPosition getTopLeftCorner() {
return topLeftCorner;
}
/**
* Sets the topLeftCorner value for this CustomLabelTextBoxEntry.
*
* @param topLeftCorner
*/
public void setTopLeftCorner(com.fedex.rate.stub.CustomLabelPosition topLeftCorner) {
this.topLeftCorner = topLeftCorner;
}
/**
* Gets the bottomRightCorner value for this CustomLabelTextBoxEntry.
*
* @return bottomRightCorner
*/
public com.fedex.rate.stub.CustomLabelPosition getBottomRightCorner() {
return bottomRightCorner;
}
/**
* Sets the bottomRightCorner value for this CustomLabelTextBoxEntry.
*
* @param bottomRightCorner
*/
public void setBottomRightCorner(com.fedex.rate.stub.CustomLabelPosition bottomRightCorner) {
this.bottomRightCorner = bottomRightCorner;
}
/**
* Gets the position value for this CustomLabelTextBoxEntry.
*
* @return position
*/
public com.fedex.rate.stub.CustomLabelPosition getPosition() {
return position;
}
/**
* Sets the position value for this CustomLabelTextBoxEntry.
*
* @param position
*/
public void setPosition(com.fedex.rate.stub.CustomLabelPosition position) {
this.position = position;
}
/**
* Gets the format value for this CustomLabelTextBoxEntry.
*
* @return format
*/
public java.lang.String getFormat() {
return format;
}
/**
* Sets the format value for this CustomLabelTextBoxEntry.
*
* @param format
*/
public void setFormat(java.lang.String format) {
this.format = format;
}
/**
* Gets the dataFields value for this CustomLabelTextBoxEntry.
*
* @return dataFields
*/
public java.lang.String[] getDataFields() {
return dataFields;
}
/**
* Sets the dataFields value for this CustomLabelTextBoxEntry.
*
* @param dataFields
*/
public void setDataFields(java.lang.String[] dataFields) {
this.dataFields = dataFields;
}
public java.lang.String getDataFields(int i) {
return this.dataFields[i];
}
public void setDataFields(int i, java.lang.String _value) {
this.dataFields[i] = _value;
}
/**
* Gets the thermalFontId value for this CustomLabelTextBoxEntry.
*
* @return thermalFontId * Printer-specific font name for use with thermal printer labels.
*/
public java.lang.String getThermalFontId() {
return thermalFontId;
}
/**
* Sets the thermalFontId value for this CustomLabelTextBoxEntry.
*
* @param thermalFontId * Printer-specific font name for use with thermal printer labels.
*/
public void setThermalFontId(java.lang.String thermalFontId) {
this.thermalFontId = thermalFontId;
}
/**
* Gets the fontName value for this CustomLabelTextBoxEntry.
*
* @return fontName * Generic font name for use with plain paper labels.
*/
public java.lang.String getFontName() {
return fontName;
}
/**
* Sets the fontName value for this CustomLabelTextBoxEntry.
*
* @param fontName * Generic font name for use with plain paper labels.
*/
public void setFontName(java.lang.String fontName) {
this.fontName = fontName;
}
/**
* Gets the fontSize value for this CustomLabelTextBoxEntry.
*
* @return fontSize * Generic font size for use with plain paper labels.
*/
public org.apache.axis.types.PositiveInteger getFontSize() {
return fontSize;
}
/**
* Sets the fontSize value for this CustomLabelTextBoxEntry.
*
* @param fontSize * Generic font size for use with plain paper labels.
*/
public void setFontSize(org.apache.axis.types.PositiveInteger fontSize) {
this.fontSize = fontSize;
}
/**
* Gets the rotation value for this CustomLabelTextBoxEntry.
*
* @return rotation
*/
public com.fedex.rate.stub.RotationType getRotation() {
return rotation;
}
/**
* Sets the rotation value for this CustomLabelTextBoxEntry.
*
* @param rotation
*/
public void setRotation(com.fedex.rate.stub.RotationType rotation) {
this.rotation = rotation;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CustomLabelTextBoxEntry)) return false;
CustomLabelTextBoxEntry other = (CustomLabelTextBoxEntry) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.topLeftCorner==null && other.getTopLeftCorner()==null) ||
(this.topLeftCorner!=null &&
this.topLeftCorner.equals(other.getTopLeftCorner()))) &&
((this.bottomRightCorner==null && other.getBottomRightCorner()==null) ||
(this.bottomRightCorner!=null &&
this.bottomRightCorner.equals(other.getBottomRightCorner()))) &&
((this.position==null && other.getPosition()==null) ||
(this.position!=null &&
this.position.equals(other.getPosition()))) &&
((this.format==null && other.getFormat()==null) ||
(this.format!=null &&
this.format.equals(other.getFormat()))) &&
((this.dataFields==null && other.getDataFields()==null) ||
(this.dataFields!=null &&
java.util.Arrays.equals(this.dataFields, other.getDataFields()))) &&
((this.thermalFontId==null && other.getThermalFontId()==null) ||
(this.thermalFontId!=null &&
this.thermalFontId.equals(other.getThermalFontId()))) &&
((this.fontName==null && other.getFontName()==null) ||
(this.fontName!=null &&
this.fontName.equals(other.getFontName()))) &&
((this.fontSize==null && other.getFontSize()==null) ||
(this.fontSize!=null &&
this.fontSize.equals(other.getFontSize()))) &&
((this.rotation==null && other.getRotation()==null) ||
(this.rotation!=null &&
this.rotation.equals(other.getRotation())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getTopLeftCorner() != null) {
_hashCode += getTopLeftCorner().hashCode();
}
if (getBottomRightCorner() != null) {
_hashCode += getBottomRightCorner().hashCode();
}
if (getPosition() != null) {
_hashCode += getPosition().hashCode();
}
if (getFormat() != null) {
_hashCode += getFormat().hashCode();
}
if (getDataFields() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy