AbstractItemIntegrationProperties.java
package com.tradecloud.domain.configuration.orderintegration;
import com.tradecloud.common.base.PersistenceBase;
import org.hibernate.annotations.ForeignKey;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
@MappedSuperclass
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class AbstractItemIntegrationProperties extends PersistenceBase {
@NotNull
private boolean reference;
@NotNull
private boolean description;
@NotNull
private boolean barcode;
@NotNull
private boolean supplierReference;
@NotNull
private boolean currency;
@NotNull
private boolean unitQuantity;
@NotNull
private boolean unitPrice;
@NotNull
private boolean unitVolume;
@NotNull
private boolean unitWeight;
@NotNull
private boolean packageQuantity;
@NotNull
private boolean packagePrice;
@NotNull
private boolean packageVolume;
@NotNull
private boolean packageWeight;
@NotNull
private boolean valueForCustomsPurpose;
@NotNull
private boolean organisationalUnit;
@NotNull
private boolean packageType;
@NotNull
private boolean unitType;
@NotNull
private boolean unitsPerPackage;
@NotNull
private boolean countryOfOrigin;
@NotNull
private boolean unitSellingPriceExcludingVAT;
@NotNull
private boolean unitSellingPriceIncludingVAT;
@NotNull
private boolean foreignCommission;
@NotNull
private boolean merchandisingCommission;
@NotNull
private boolean sourcingCommission;
@NotNull
private boolean warehousingCommission;
@NotNull
private boolean promotionFromDate;
@NotNull
private boolean promotionName;
@NotNull
private boolean markForPromotion;
@NotNull
private boolean promotionQuantity;
@NotNull
private boolean promotionToDate;
@NotNull
private boolean lastLandedCost;
@NotNull
private boolean royalty;
@NotNull
private boolean itemType;
@NotNull
private boolean buyer;
@NotNull
private boolean sabsEditable;
@NotNull
private boolean sellPriceExclusiveAmount;
@NotNull
private boolean sellPriceInclusiveAmount;
@NotNull
private boolean materialComposition;
@NotNull
private boolean styleReference;
@NotNull
private boolean useUnitVolumePackageVolumeCalc;
@NotNull
private boolean styleDescription;
@NotNull
private boolean elcReference;
@NotNull
private boolean dimensions;
@NotNull
private boolean properties;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s1p1a")
ScheduleIntegrationProperties s1p1a;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s1p2a")
ScheduleIntegrationProperties s1p2a;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s1p2b")
ScheduleIntegrationProperties s1p2b;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s2p1")
ScheduleIntegrationProperties s2p1;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s2p2")
ScheduleIntegrationProperties s2p2;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s1p3e")
ScheduleIntegrationProperties s1p3e;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s1p7")
ScheduleIntegrationProperties s1p7;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s3p1")
ScheduleIntegrationProperties s3p1;
@OneToOne(cascade = CascadeType.ALL)
@ForeignKey(name = "fk_s4p1")
ScheduleIntegrationProperties s4p1;
@NotNull
private boolean additionalNotes;
public AbstractItemIntegrationProperties() {
s1p1a = new ScheduleIntegrationProperties();
s1p2a = new ScheduleIntegrationProperties();
s1p2b = new ScheduleIntegrationProperties();
s2p1 = new ScheduleIntegrationProperties();
s2p2 = new ScheduleIntegrationProperties();
s1p3e = new ScheduleIntegrationProperties();
s1p7 = new ScheduleIntegrationProperties();
s3p1 = new ScheduleIntegrationProperties();
s4p1 = new ScheduleIntegrationProperties();
}
public boolean isStyleReference() {
return styleReference;
}
public void setStyleReference(boolean styleReference) {
this.styleReference = styleReference;
}
public boolean isStyleDescription() {
return styleDescription;
}
public void setStyleDescription(boolean styleDescription) {
this.styleDescription = styleDescription;
}
public boolean isReference() {
return reference;
}
public void setReference(boolean reference) {
this.reference = reference;
}
public boolean isDescription() {
return description;
}
public void setDescription(boolean description) {
this.description = description;
}
public boolean isBarcode() {
return barcode;
}
public void setBarcode(boolean barcode) {
this.barcode = barcode;
}
public boolean isSupplierReference() {
return supplierReference;
}
public void setSupplierReference(boolean supplierReference) {
this.supplierReference = supplierReference;
}
public boolean isCurrency() {
return currency;
}
public void setCurrency(boolean currency) {
this.currency = currency;
}
public boolean isUnitQuantity() {
return unitQuantity;
}
public void setUnitQuantity(boolean unitQuantity) {
this.unitQuantity = unitQuantity;
}
public boolean isUnitPrice() {
return unitPrice;
}
public void setUnitPrice(boolean unitPrice) {
this.unitPrice = unitPrice;
}
public boolean isUnitVolume() {
return unitVolume;
}
public void setUnitVolume(boolean unitVolume) {
this.unitVolume = unitVolume;
}
public boolean isUnitWeight() {
return unitWeight;
}
public void setUnitWeight(boolean unitWeight) {
this.unitWeight = unitWeight;
}
public boolean isPackageQuantity() {
return packageQuantity;
}
public void setPackageQuantity(boolean packageQuantity) {
this.packageQuantity = packageQuantity;
}
public boolean isPackagePrice() {
return packagePrice;
}
public void setPackagePrice(boolean packagePrice) {
this.packagePrice = packagePrice;
}
public boolean isPackageVolume() {
return packageVolume;
}
public void setPackageVolume(boolean packageVolume) {
this.packageVolume = packageVolume;
}
public boolean isPackageWeight() {
return packageWeight;
}
public void setPackageWeight(boolean packageWeight) {
this.packageWeight = packageWeight;
}
public boolean isOrganisationalUnit() {
return organisationalUnit;
}
public void setOrganisationalUnit(boolean organisationalUnit) {
this.organisationalUnit = organisationalUnit;
}
public boolean isPackageType() {
return packageType;
}
public void setPackageType(boolean packageType) {
this.packageType = packageType;
}
public boolean isUnitType() {
return unitType;
}
public void setUnitType(boolean unitType) {
this.unitType = unitType;
}
public boolean isUnitsPerPackage() {
return unitsPerPackage;
}
public void setUnitsPerPackage(boolean unitsPerPackage) {
this.unitsPerPackage = unitsPerPackage;
}
public boolean isCountryOfOrigin() {
return countryOfOrigin;
}
public void setCountryOfOrigin(boolean countryOfOrigin) {
this.countryOfOrigin = countryOfOrigin;
}
public boolean isUnitSellingPriceExcludingVAT() {
return unitSellingPriceExcludingVAT;
}
public void setUnitSellingPriceExcludingVAT(boolean unitSellingPriceExcludingVAT) {
this.unitSellingPriceExcludingVAT = unitSellingPriceExcludingVAT;
}
public boolean isUnitSellingPriceIncludingVAT() {
return unitSellingPriceIncludingVAT;
}
public void setUnitSellingPriceIncludingVAT(boolean unitSellingPriceIncludingVAT) {
this.unitSellingPriceIncludingVAT = unitSellingPriceIncludingVAT;
}
public boolean isValueForCustomsPurpose() {
return valueForCustomsPurpose;
}
public void setValueForCustomsPurpose(boolean valueForCustomsPurpose) {
this.valueForCustomsPurpose = valueForCustomsPurpose;
}
public boolean isForeignCommission() {
return foreignCommission;
}
public void setForeignCommission(boolean foreignCommission) {
this.foreignCommission = foreignCommission;
}
public boolean isMerchandisingCommission() {
return merchandisingCommission;
}
public void setMerchandisingCommission(boolean merchandisingCommission) {
this.merchandisingCommission = merchandisingCommission;
}
public boolean isSourcingCommission() {
return sourcingCommission;
}
public void setSourcingCommission(boolean sourcingCommission) {
this.sourcingCommission = sourcingCommission;
}
public boolean isWarehousingCommission() {
return warehousingCommission;
}
public void setWarehousingCommission(boolean warehousingCommission) {
this.warehousingCommission = warehousingCommission;
}
public boolean isPromotionFromDate() {
return promotionFromDate;
}
public void setPromotionFromDate(boolean promotionFromDate) {
this.promotionFromDate = promotionFromDate;
}
public boolean isPromotionName() {
return promotionName;
}
public void setPromotionName(boolean promotionName) {
this.promotionName = promotionName;
}
public boolean isRoyalty() {
return royalty;
}
public void setRoyalty(boolean royalty) {
this.royalty = royalty;
}
public boolean isBuyer() {
return buyer;
}
public void setBuyer(boolean buyer) {
this.buyer = buyer;
}
public boolean isSabsEditable() {
return sabsEditable;
}
public void setSabsEditable(boolean sabsEditable) {
this.sabsEditable = sabsEditable;
}
public ScheduleIntegrationProperties getS1p1a() {
return s1p1a;
}
public void setS1p1a(ScheduleIntegrationProperties s1p1a) {
this.s1p1a = s1p1a;
}
public ScheduleIntegrationProperties getS1p2a() {
return s1p2a;
}
public void setS1p2a(ScheduleIntegrationProperties s1p2a) {
this.s1p2a = s1p2a;
}
public ScheduleIntegrationProperties getS1p2b() {
return s1p2b;
}
public void setS1p2b(ScheduleIntegrationProperties s1p2b) {
this.s1p2b = s1p2b;
}
public ScheduleIntegrationProperties getS2p1() {
return s2p1;
}
public void setS2p1(ScheduleIntegrationProperties s2p1) {
this.s2p1 = s2p1;
}
public ScheduleIntegrationProperties getS2p2() {
return s2p2;
}
public void setS2p2(ScheduleIntegrationProperties s2p2) {
this.s2p2 = s2p2;
}
public boolean isMarkForPromotion() {
return markForPromotion;
}
public void setMarkForPromotion(boolean markForPromotion) {
this.markForPromotion = markForPromotion;
}
public boolean isPromotionQuantity() {
return promotionQuantity;
}
public void setPromotionQuantity(boolean promotionQuantity) {
this.promotionQuantity = promotionQuantity;
}
public boolean isPromotionToDate() {
return promotionToDate;
}
public void setPromotionToDate(boolean promotionToDate) {
this.promotionToDate = promotionToDate;
}
public boolean isLastLandedCost() {
return lastLandedCost;
}
public void setLastLandedCost(boolean lastLandedCost) {
this.lastLandedCost = lastLandedCost;
}
public boolean isSellPriceExclusiveAmount() {
return sellPriceExclusiveAmount;
}
public void setSellPriceExclusiveAmount(boolean sellPriceExclusiveAmount) {
this.sellPriceExclusiveAmount = sellPriceExclusiveAmount;
}
public boolean isSellPriceInclusiveAmount() {
return sellPriceInclusiveAmount;
}
public void setSellPriceInclusiveAmount(boolean sellPriceInclusiveAmount) {
this.sellPriceInclusiveAmount = sellPriceInclusiveAmount;
}
public boolean isMaterialComposition() {
return materialComposition;
}
public void setMaterialComposition(boolean materialComposition) {
this.materialComposition = materialComposition;
}
public boolean isUseUnitVolumePackageVolumeCalc() {
return useUnitVolumePackageVolumeCalc;
}
public void setUseUnitVolumePackageVolumeCalc(boolean useUnitVolumePackageVolumeCalc) {
this.useUnitVolumePackageVolumeCalc = useUnitVolumePackageVolumeCalc;
}
public boolean isElcReference() {
return elcReference;
}
public void setElcReference(boolean elcReference) {
this.elcReference = elcReference;
}
public boolean isItemType() {
return itemType;
}
public void setItemType(boolean itemType) {
this.itemType = itemType;
}
public boolean isDimensions() {
return dimensions;
}
public void setDimensions(boolean dimensions) {
this.dimensions = dimensions;
}
public ScheduleIntegrationProperties getS1p3e() {
return s1p3e;
}
public void setS1p3e(ScheduleIntegrationProperties s1p3e) {
this.s1p3e = s1p3e;
}
public ScheduleIntegrationProperties getS1p7() {
return s1p7;
}
public void setS1p7(ScheduleIntegrationProperties s1p7) {
this.s1p7 = s1p7;
}
public boolean isProperties() {
return properties;
}
public void setProperties(boolean properties) {
this.properties = properties;
}
public ScheduleIntegrationProperties getS3p1() {
return s3p1;
}
public void setS3p1(ScheduleIntegrationProperties s3p1) {
this.s3p1 = s3p1;
}
public ScheduleIntegrationProperties getS4p1() {
return s4p1;
}
public void setS4p1(ScheduleIntegrationProperties s4p1) {
this.s4p1 = s4p1;
}
public boolean isAdditionalNotes() {
return additionalNotes;
}
public void setAdditionalNotes(boolean additionalNotes) {
this.additionalNotes = additionalNotes;
}
}