You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2023/07/27 10:11:00 UTC
[ofbiz-framework] branch trunk updated: Improved: Added missing getter/setter (OFBIZ-12840)
This is an automated email from the ASF dual-hosted git repository.
mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 2eae767e40 Improved: Added missing getter/setter (OFBIZ-12840)
2eae767e40 is described below
commit 2eae767e4026359dadac9870044d6eccafef61bd
Author: Cheng Hu Shan <ch...@ecomify.de>
AuthorDate: Thu Jul 27 11:23:09 2023 +0200
Improved: Added missing getter/setter (OFBIZ-12840)
---
.../ofbiz/order/shoppingcart/ShoppingCart.java | 85 ++++++++++++++++++++++
.../ofbiz/webapp/control/ConfigXMLReader.java | 40 ++++++++++
2 files changed, 125 insertions(+)
diff --git a/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCart.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCart.java
index 3b46dd7ff2..fef531cd16 100644
--- a/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCart.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCart.java
@@ -5367,10 +5367,18 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
private String productStoreShipMethId = null;
private Map<String, Object> attributes = new HashMap<>();
+ /** get ship before date */
+ public Timestamp getShipBeforeDate() {
+ return shipBeforeDate;
+ }
/** set ship before date */
public void setShipBeforeDate(Timestamp shipBeforeDate) {
this.shipBeforeDate = shipBeforeDate;
}
+ /** get ship after date */
+ public Timestamp getShipAfterDate() {
+ return shipAfterDate;
+ }
/** set ship after date */
public void setShipAfterDate(Timestamp shipAfterDate) {
this.shipAfterDate = shipAfterDate;
@@ -5383,10 +5391,18 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
public void setAttribute(String name, Object value) {
this.attributes.put(name, value);
}
+ /** get gift message */
+ public String getGiftMessage() {
+ return giftMessage;
+ }
/** set gift message */
public void setGiftMessage(String giftMessage) {
this.giftMessage = giftMessage;
}
+ /** get shippingInstructions */
+ public String getShippingInstructions() {
+ return shippingInstructions;
+ }
/** set shipping instructions */
public void setShippingInstructions(String shippingInstructions) {
this.shippingInstructions = shippingInstructions;
@@ -5404,6 +5420,10 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
public String getOrderTypeId() {
return orderTypeId;
}
+ /** set order type id */
+ public void setOrderTypeId(String orderTypeId) {
+ this.orderTypeId = orderTypeId;
+ }
/** get contact mech id */
public String getContactMechId() {
return internalContactMechId;
@@ -5420,6 +5440,23 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
public void setCarrierPartyId(String carrierPartyId) {
this.carrierPartyId = carrierPartyId;
}
+ /** get carrier roleType id */
+ public String getCarrierRoleTypeId() {
+ return carrierRoleTypeId;
+ }
+ /** set carrier roleType id */
+ public void setCarrierRoleTypeId(String carrierRoleTypeId) {
+ this.carrierRoleTypeId = carrierRoleTypeId;
+ }
+ /** get productStoreShipMeth id */
+ public String getProductStoreShipMethId() {
+ return productStoreShipMethId;
+ }
+
+ /** set productStoreShipMeth id */
+ public void setProductStoreShipMethId(String productStoreShipMethId) {
+ this.productStoreShipMethId = productStoreShipMethId;
+ }
/** get supplier party id */
public String getSupplierPartyId() {
return supplierPartyId;
@@ -5444,6 +5481,10 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
public BigDecimal getShipEstimate() {
return shipEstimate;
}
+ /** set ship estimate */
+ public void getShipEstimate(BigDecimal shipEstimate) {
+ this.shipEstimate = shipEstimate;
+ }
/** get ship group seq id */
public String getShipGroupSeqId() {
return shipGroupSeqId;
@@ -5452,6 +5493,14 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
public void setShipGroupSeqId(String shipGroupSeqId) {
this.shipGroupSeqId = shipGroupSeqId;
}
+ /** get telecom contact mech id */
+ public String getTelecomContactMechId() {
+ return telecomContactMechId;
+ }
+ /** set telecom contact mech id */
+ public void setTelecomContactMechId(String telecomContactMechId) {
+ this.telecomContactMechId = telecomContactMechId;
+ }
/** get associated ship groups eq id */
public String getAssociatedShipGroupSeqId() {
return associatedShipGroupSeqId;
@@ -5476,12 +5525,24 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
public void setVendorPartyId(String vendorPartyId) {
this.vendorPartyId = vendorPartyId;
}
+ /** get may split */
+ public String getMaySplit() {
+ return maySplit;
+ }
/** set may split */
public void setMaySplit(Boolean maySplit) {
if (UtilValidate.isNotEmpty(maySplit)) {
this.maySplit = maySplit ? "Y" : "N";
}
}
+ /** get isGift */
+ public String getIsGift() {
+ return isGift;
+ }
+ /** set isGift */
+ public void setIsGift(String isGift) {
+ this.isGift = isGift;
+ }
/** get origin address */
public GenericValue getOriginAddress(ShoppingCart cart) {
GenericValue originAddress = null;
@@ -5847,6 +5908,10 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
private boolean isPresent = false;
private boolean isSwiped = false;
private boolean overflow = false;
+ /** get postal code */
+ public String getPostalCode() {
+ return postalCode;
+ }
/** set postal code */
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
@@ -5863,6 +5928,26 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
public String getPaymentMethodTypeId() {
return this.paymentMethodTypeId;
}
+ /** set payment method type id */
+ public void setPaymentMethodTypeId(String paymentMethodTypeId) {
+ this.paymentMethodTypeId = paymentMethodTypeId;
+ }
+ /** get singleUse boolean */
+ public boolean isSingleUse() {
+ return singleUse;
+ }
+ /** set singleUse boolean */
+ public void setSingleUse(boolean singleUse) {
+ this.singleUse = singleUse;
+ }
+ /** get isPresent boolean */
+ public boolean getIsPresent() {
+ return isPresent;
+ }
+ /** set isPresent boolean */
+ public void setIsPresent(boolean isPresent) {
+ this.isPresent = isPresent;
+ }
/** set overflow */
public void setOverflow(boolean overflow) {
this.overflow = overflow;
diff --git a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java
index ab3b267e23..a531fe6e3c 100644
--- a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java
+++ b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java
@@ -461,6 +461,14 @@ public final class ConfigXMLReader {
return pushIncludes(ccfg -> ccfg.viewMapMap);
}
+ /**
+ * Gets the url.
+ * @return the url
+ */
+ public URL getUrl() {
+ return url;
+ }
+
/**
* Computes the name of an XML element.
* @param el
@@ -736,6 +744,14 @@ public final class ConfigXMLReader {
return metrics;
}
+ /**
+ * Is edit boolean.
+ * @return the boolean
+ */
+ public boolean isEdit() {
+ return edit;
+ }
+
/**
* Gets event.
* @return the event
@@ -744,6 +760,14 @@ public final class ConfigXMLReader {
return event;
}
+ /**
+ * Gets description.
+ * @return the description
+ */
+ public String getDescription() {
+ return description;
+ }
+
/**
* Is security external view boolean.
* @return the boolean
@@ -976,6 +1000,14 @@ public final class ConfigXMLReader {
: null;
}
+ /**
+ * Gets requestResponse.
+ * @return the requestResponse
+ */
+ public RequestResponse getRequestResponse() {
+ return requestResponse;
+ }
+
/**
* Return the ressource to use
* @return
@@ -1097,6 +1129,14 @@ public final class ConfigXMLReader {
return encoding;
}
+ /**
+ * Gets viewMap.
+ * @return the viewMap
+ */
+ public String getViewMap() {
+ return viewMap;
+ }
+
public ViewMap(Element viewMapElement) {
this.name = viewMapElement.getAttribute("name");
this.page = viewMapElement.getAttribute("page");