/** * Create an instance of {@link ListStyle} * */ public static ListStyle createListStyle() { return new ListStyle(); }
/** * add a value to the itemIcon property collection * * @param itemIcon * Objects of the following type are allowed in the list: {@link ItemIcon} * @return * <tt>true</tt> (as general contract of <tt>Collection.add</tt>). */ public ListStyle addToItemIcon(final ItemIcon itemIcon) { this.getItemIcon().add(itemIcon); return this; }
/** * add a value to the listStyleObjectExtension property collection * * @param listStyleObjectExtension * Objects of the following type are allowed in the list: {@link AbstractObject} * @return * <tt>true</tt> (as general contract of <tt>Collection.add</tt>). */ public ListStyle addToListStyleObjectExtension(final AbstractObject listStyleObjectExtension) { this.getListStyleObjectExtension().add(listStyleObjectExtension); return this; }
@Override public ListStyle clone() { ListStyle copy; copy = ((ListStyle) super.clone()); copy.itemIcon = new ArrayList<ItemIcon>((getItemIcon().size())); for (ItemIcon iter: itemIcon) { copy.itemIcon.add(iter.clone()); } copy.listStyleSimpleExtension = new ArrayList<Object>((getListStyleSimpleExtension().size())); for (Object iter: listStyleSimpleExtension) { copy.listStyleSimpleExtension.add(iter); } copy.listStyleObjectExtension = new ArrayList<AbstractObject>((getListStyleObjectExtension().size())); for (AbstractObject iter: listStyleObjectExtension) { copy.listStyleObjectExtension.add(iter.clone()); } return copy; }
/** * fluent setter * @see #setListItemType(ListItemType) * * @param listItemType * required parameter */ public ListStyle withListItemType(final ListItemType listItemType) { this.setListItemType(listItemType); return this; }
/** * add a value to the listStyleSimpleExtension property collection * * @param listStyleSimpleExtension * Objects of the following type are allowed in the list: {@link Object} * @return * <tt>true</tt> (as general contract of <tt>Collection.add</tt>). */ public ListStyle addToListStyleSimpleExtension(final Object listStyleSimpleExtension) { this.getListStyleSimpleExtension().add(listStyleSimpleExtension); return this; }
/** * fluent setter * @see #setBgColor(String) * * @param bgColor * required parameter */ public ListStyle withBgColor(final String bgColor) { this.setBgColor(bgColor); return this; }
/** * fluent setter * @see #setItemIcon(List<ItemIcon>) * * @param itemIcon * required parameter */ public ListStyle withItemIcon(final List<ItemIcon> itemIcon) { this.setItemIcon(itemIcon); return this; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = ((prime*result)+((iconStyle == null)? 0 :iconStyle.hashCode())); result = ((prime*result)+((labelStyle == null)? 0 :labelStyle.hashCode())); result = ((prime*result)+((lineStyle == null)? 0 :lineStyle.hashCode())); result = ((prime*result)+((polyStyle == null)? 0 :polyStyle.hashCode())); result = ((prime*result)+((balloonStyle == null)? 0 :balloonStyle.hashCode())); result = ((prime*result)+((listStyle == null)? 0 :listStyle.hashCode())); result = ((prime*result)+((styleSimpleExtension == null)? 0 :styleSimpleExtension.hashCode())); result = ((prime*result)+((styleObjectExtension == null)? 0 :styleObjectExtension.hashCode())); return result; }
@Override public Style clone() { Style copy; copy = ((Style) super.clone()); copy.iconStyle = ((iconStyle == null)?null:((IconStyle) iconStyle.clone())); copy.labelStyle = ((labelStyle == null)?null:((LabelStyle) labelStyle.clone())); copy.lineStyle = ((lineStyle == null)?null:((LineStyle) lineStyle.clone())); copy.polyStyle = ((polyStyle == null)?null:((PolyStyle) polyStyle.clone())); copy.balloonStyle = ((balloonStyle == null)?null:((BalloonStyle) balloonStyle.clone())); copy.listStyle = ((listStyle == null)?null:((ListStyle) listStyle.clone())); copy.styleSimpleExtension = new ArrayList<Object>((getStyleSimpleExtension().size())); for (Object iter: styleSimpleExtension) { copy.styleSimpleExtension.add(iter); } copy.styleObjectExtension = new ArrayList<AbstractObject>((getStyleObjectExtension().size())); for (AbstractObject iter: styleObjectExtension) { copy.styleObjectExtension.add(iter.clone()); } return copy; }
if (listStyle.equals(other.listStyle) == false) { return false;
@Override public ListStyle clone() { ListStyle copy; copy = ((ListStyle) super.clone()); copy.itemIcon = new ArrayList<ItemIcon>((getItemIcon().size())); for (ItemIcon iter: itemIcon) { copy.itemIcon.add(iter.clone()); } copy.listStyleSimpleExtension = new ArrayList<Object>((getListStyleSimpleExtension().size())); for (Object iter: listStyleSimpleExtension) { copy.listStyleSimpleExtension.add(iter); } copy.listStyleObjectExtension = new ArrayList<AbstractObject>((getListStyleObjectExtension().size())); for (AbstractObject iter: listStyleObjectExtension) { copy.listStyleObjectExtension.add(iter.clone()); } return copy; }
/** * fluent setter * @see #setListItemType(ListItemType) * * @param listItemType * required parameter */ public ListStyle withListItemType(final ListItemType listItemType) { this.setListItemType(listItemType); return this; }
/** * add a value to the listStyleSimpleExtension property collection * * @param listStyleSimpleExtension * Objects of the following type are allowed in the list: {@link Object} * @return * <tt>true</tt> (as general contract of <tt>Collection.add</tt>). */ public ListStyle addToListStyleSimpleExtension(final Object listStyleSimpleExtension) { this.getListStyleSimpleExtension().add(listStyleSimpleExtension); return this; }
/** * fluent setter * @see #setBgColor(String) * * @param bgColor * required parameter */ public ListStyle withBgColor(final String bgColor) { this.setBgColor(bgColor); return this; }
/** * fluent setter * @see #setItemIcon(List<ItemIcon>) * * @param itemIcon * required parameter */ public ListStyle withItemIcon(final List<ItemIcon> itemIcon) { this.setItemIcon(itemIcon); return this; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = ((prime*result)+((iconStyle == null)? 0 :iconStyle.hashCode())); result = ((prime*result)+((labelStyle == null)? 0 :labelStyle.hashCode())); result = ((prime*result)+((lineStyle == null)? 0 :lineStyle.hashCode())); result = ((prime*result)+((polyStyle == null)? 0 :polyStyle.hashCode())); result = ((prime*result)+((balloonStyle == null)? 0 :balloonStyle.hashCode())); result = ((prime*result)+((listStyle == null)? 0 :listStyle.hashCode())); result = ((prime*result)+((styleSimpleExtension == null)? 0 :styleSimpleExtension.hashCode())); result = ((prime*result)+((styleObjectExtension == null)? 0 :styleObjectExtension.hashCode())); return result; }
@Override public Style clone() { Style copy; copy = ((Style) super.clone()); copy.iconStyle = ((iconStyle == null)?null:((IconStyle) iconStyle.clone())); copy.labelStyle = ((labelStyle == null)?null:((LabelStyle) labelStyle.clone())); copy.lineStyle = ((lineStyle == null)?null:((LineStyle) lineStyle.clone())); copy.polyStyle = ((polyStyle == null)?null:((PolyStyle) polyStyle.clone())); copy.balloonStyle = ((balloonStyle == null)?null:((BalloonStyle) balloonStyle.clone())); copy.listStyle = ((listStyle == null)?null:((ListStyle) listStyle.clone())); copy.styleSimpleExtension = new ArrayList<Object>((getStyleSimpleExtension().size())); for (Object iter: styleSimpleExtension) { copy.styleSimpleExtension.add(iter); } copy.styleObjectExtension = new ArrayList<AbstractObject>((getStyleObjectExtension().size())); for (AbstractObject iter: styleObjectExtension) { copy.styleObjectExtension.add(iter.clone()); } return copy; }
if (listStyle.equals(other.listStyle) == false) { return false;
/** * Create an instance of {@link ListStyle} * */ public static ListStyle createListStyle() { return new ListStyle(); }