001// -------------------------------------------------------------------------------- 002// Copyright 2002-2025 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016// Generated File -- DO NOT EDIT BY HAND 017// -------------------------------------------------------------------------------- 018 019/** 020 * CarrierOptionDetail.java 021 */ 022 023package com.echothree.model.data.carrier.server.entity; 024 025import com.echothree.model.data.carrier.common.pk.CarrierOptionDetailPK; 026 027import com.echothree.model.data.carrier.common.pk.CarrierOptionPK; 028import com.echothree.model.data.party.common.pk.PartyPK; 029import com.echothree.model.data.selector.common.pk.SelectorPK; 030 031import com.echothree.model.data.carrier.server.entity.CarrierOption; 032import com.echothree.model.data.party.server.entity.Party; 033import com.echothree.model.data.selector.server.entity.Selector; 034 035import com.echothree.model.data.carrier.server.factory.CarrierOptionFactory; 036import com.echothree.model.data.party.server.factory.PartyFactory; 037import com.echothree.model.data.selector.server.factory.SelectorFactory; 038 039import com.echothree.model.data.carrier.common.pk.CarrierOptionDetailPK; 040 041import com.echothree.model.data.carrier.server.value.CarrierOptionDetailValue; 042 043import com.echothree.model.data.carrier.server.factory.CarrierOptionDetailFactory; 044 045import com.echothree.util.common.exception.PersistenceException; 046import com.echothree.util.common.exception.PersistenceDatabaseException; 047import com.echothree.util.common.exception.PersistenceNotNullException; 048import com.echothree.util.common.exception.PersistenceReadOnlyException; 049 050import com.echothree.util.common.persistence.BasePK; 051 052import com.echothree.util.common.persistence.type.ByteArray; 053 054import com.echothree.util.server.persistence.BaseEntity; 055import com.echothree.util.server.persistence.EntityPermission; 056import com.echothree.util.server.persistence.Session; 057import com.echothree.util.server.persistence.ThreadSession; 058 059import java.io.Serializable; 060 061public class CarrierOptionDetail 062 extends BaseEntity 063 implements Serializable { 064 065 private CarrierOptionDetailPK _pk; 066 private CarrierOptionDetailValue _value; 067 068 /** Creates a new instance of CarrierOptionDetail */ 069 public CarrierOptionDetail() 070 throws PersistenceException { 071 super(); 072 } 073 074 /** Creates a new instance of CarrierOptionDetail */ 075 public CarrierOptionDetail(CarrierOptionDetailValue value, EntityPermission entityPermission) { 076 super(entityPermission); 077 078 _value = value; 079 _pk = value.getPrimaryKey(); 080 } 081 082 @Override 083 public CarrierOptionDetailFactory getBaseFactoryInstance() { 084 return CarrierOptionDetailFactory.getInstance(); 085 } 086 087 @Override 088 public boolean hasBeenModified() { 089 return _value.hasBeenModified(); 090 } 091 092 @Override 093 public int hashCode() { 094 return _pk.hashCode(); 095 } 096 097 @Override 098 public String toString() { 099 return _pk.toString(); 100 } 101 102 @Override 103 public boolean equals(Object other) { 104 if(this == other) 105 return true; 106 107 if(other instanceof CarrierOptionDetail that) { 108 CarrierOptionDetailValue thatValue = that.getCarrierOptionDetailValue(); 109 return _value.equals(thatValue); 110 } else { 111 return false; 112 } 113 } 114 115 @Override 116 public void store(Session session) 117 throws PersistenceDatabaseException { 118 getBaseFactoryInstance().store(session, this); 119 } 120 121 @Override 122 public void remove(Session session) 123 throws PersistenceDatabaseException { 124 getBaseFactoryInstance().remove(session, this); 125 } 126 127 @Override 128 public void remove() 129 throws PersistenceDatabaseException { 130 getBaseFactoryInstance().remove(ThreadSession.currentSession(), this); 131 } 132 133 public CarrierOptionDetailValue getCarrierOptionDetailValue() { 134 return _value; 135 } 136 137 public void setCarrierOptionDetailValue(CarrierOptionDetailValue value) 138 throws PersistenceReadOnlyException { 139 checkReadWrite(); 140 _value = value; 141 } 142 143 @Override 144 public CarrierOptionDetailPK getPrimaryKey() { 145 return _pk; 146 } 147 148 public CarrierOptionPK getCarrierOptionPK() { 149 return _value.getCarrierOptionPK(); 150 } 151 152 public CarrierOption getCarrierOption(Session session, EntityPermission entityPermission) { 153 return CarrierOptionFactory.getInstance().getEntityFromPK(session, entityPermission, getCarrierOptionPK()); 154 } 155 156 public CarrierOption getCarrierOption(EntityPermission entityPermission) { 157 return getCarrierOption(ThreadSession.currentSession(), entityPermission); 158 } 159 160 public CarrierOption getCarrierOption(Session session) { 161 return getCarrierOption(session, EntityPermission.READ_ONLY); 162 } 163 164 public CarrierOption getCarrierOption() { 165 return getCarrierOption(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 166 } 167 168 public CarrierOption getCarrierOptionForUpdate(Session session) { 169 return getCarrierOption(session, EntityPermission.READ_WRITE); 170 } 171 172 public CarrierOption getCarrierOptionForUpdate() { 173 return getCarrierOption(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 174 } 175 176 public void setCarrierOptionPK(CarrierOptionPK carrierOptionPK) 177 throws PersistenceNotNullException, PersistenceReadOnlyException { 178 checkReadWrite(); 179 _value.setCarrierOptionPK(carrierOptionPK); 180 } 181 182 public void setCarrierOption(CarrierOption entity) { 183 setCarrierOptionPK(entity == null? null: entity.getPrimaryKey()); 184 } 185 186 public boolean getCarrierOptionPKHasBeenModified() { 187 return _value.getCarrierOptionPKHasBeenModified(); 188 } 189 190 public PartyPK getCarrierPartyPK() { 191 return _value.getCarrierPartyPK(); 192 } 193 194 public Party getCarrierParty(Session session, EntityPermission entityPermission) { 195 return PartyFactory.getInstance().getEntityFromPK(session, entityPermission, getCarrierPartyPK()); 196 } 197 198 public Party getCarrierParty(EntityPermission entityPermission) { 199 return getCarrierParty(ThreadSession.currentSession(), entityPermission); 200 } 201 202 public Party getCarrierParty(Session session) { 203 return getCarrierParty(session, EntityPermission.READ_ONLY); 204 } 205 206 public Party getCarrierParty() { 207 return getCarrierParty(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 208 } 209 210 public Party getCarrierPartyForUpdate(Session session) { 211 return getCarrierParty(session, EntityPermission.READ_WRITE); 212 } 213 214 public Party getCarrierPartyForUpdate() { 215 return getCarrierParty(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 216 } 217 218 public void setCarrierPartyPK(PartyPK carrierPartyPK) 219 throws PersistenceNotNullException, PersistenceReadOnlyException { 220 checkReadWrite(); 221 _value.setCarrierPartyPK(carrierPartyPK); 222 } 223 224 public void setCarrierParty(Party entity) { 225 setCarrierPartyPK(entity == null? null: entity.getPrimaryKey()); 226 } 227 228 public boolean getCarrierPartyPKHasBeenModified() { 229 return _value.getCarrierPartyPKHasBeenModified(); 230 } 231 232 public String getCarrierOptionName() { 233 return _value.getCarrierOptionName(); 234 } 235 236 public void setCarrierOptionName(String carrierOptionName) 237 throws PersistenceNotNullException, PersistenceReadOnlyException { 238 checkReadWrite(); 239 _value.setCarrierOptionName(carrierOptionName); 240 } 241 242 public boolean getCarrierOptionNameHasBeenModified() { 243 return _value.getCarrierOptionNameHasBeenModified(); 244 } 245 246 public Boolean getIsRecommended() { 247 return _value.getIsRecommended(); 248 } 249 250 public void setIsRecommended(Boolean isRecommended) 251 throws PersistenceNotNullException, PersistenceReadOnlyException { 252 checkReadWrite(); 253 _value.setIsRecommended(isRecommended); 254 } 255 256 public boolean getIsRecommendedHasBeenModified() { 257 return _value.getIsRecommendedHasBeenModified(); 258 } 259 260 public Boolean getIsRequired() { 261 return _value.getIsRequired(); 262 } 263 264 public void setIsRequired(Boolean isRequired) 265 throws PersistenceNotNullException, PersistenceReadOnlyException { 266 checkReadWrite(); 267 _value.setIsRequired(isRequired); 268 } 269 270 public boolean getIsRequiredHasBeenModified() { 271 return _value.getIsRequiredHasBeenModified(); 272 } 273 274 public SelectorPK getRecommendedGeoCodeSelectorPK() { 275 return _value.getRecommendedGeoCodeSelectorPK(); 276 } 277 278 public Selector getRecommendedGeoCodeSelector(Session session, EntityPermission entityPermission) { 279 SelectorPK pk = getRecommendedGeoCodeSelectorPK(); 280 Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk); 281 282 return entity; 283 } 284 285 public Selector getRecommendedGeoCodeSelector(EntityPermission entityPermission) { 286 return getRecommendedGeoCodeSelector(ThreadSession.currentSession(), entityPermission); 287 } 288 289 public Selector getRecommendedGeoCodeSelector(Session session) { 290 return getRecommendedGeoCodeSelector(session, EntityPermission.READ_ONLY); 291 } 292 293 public Selector getRecommendedGeoCodeSelector() { 294 return getRecommendedGeoCodeSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 295 } 296 297 public Selector getRecommendedGeoCodeSelectorForUpdate(Session session) { 298 return getRecommendedGeoCodeSelector(session, EntityPermission.READ_WRITE); 299 } 300 301 public Selector getRecommendedGeoCodeSelectorForUpdate() { 302 return getRecommendedGeoCodeSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 303 } 304 305 public void setRecommendedGeoCodeSelectorPK(SelectorPK recommendedGeoCodeSelectorPK) 306 throws PersistenceNotNullException, PersistenceReadOnlyException { 307 checkReadWrite(); 308 _value.setRecommendedGeoCodeSelectorPK(recommendedGeoCodeSelectorPK); 309 } 310 311 public void setRecommendedGeoCodeSelector(Selector entity) { 312 setRecommendedGeoCodeSelectorPK(entity == null? null: entity.getPrimaryKey()); 313 } 314 315 public boolean getRecommendedGeoCodeSelectorPKHasBeenModified() { 316 return _value.getRecommendedGeoCodeSelectorPKHasBeenModified(); 317 } 318 319 public SelectorPK getRequiredGeoCodeSelectorPK() { 320 return _value.getRequiredGeoCodeSelectorPK(); 321 } 322 323 public Selector getRequiredGeoCodeSelector(Session session, EntityPermission entityPermission) { 324 SelectorPK pk = getRequiredGeoCodeSelectorPK(); 325 Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk); 326 327 return entity; 328 } 329 330 public Selector getRequiredGeoCodeSelector(EntityPermission entityPermission) { 331 return getRequiredGeoCodeSelector(ThreadSession.currentSession(), entityPermission); 332 } 333 334 public Selector getRequiredGeoCodeSelector(Session session) { 335 return getRequiredGeoCodeSelector(session, EntityPermission.READ_ONLY); 336 } 337 338 public Selector getRequiredGeoCodeSelector() { 339 return getRequiredGeoCodeSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 340 } 341 342 public Selector getRequiredGeoCodeSelectorForUpdate(Session session) { 343 return getRequiredGeoCodeSelector(session, EntityPermission.READ_WRITE); 344 } 345 346 public Selector getRequiredGeoCodeSelectorForUpdate() { 347 return getRequiredGeoCodeSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 348 } 349 350 public void setRequiredGeoCodeSelectorPK(SelectorPK requiredGeoCodeSelectorPK) 351 throws PersistenceNotNullException, PersistenceReadOnlyException { 352 checkReadWrite(); 353 _value.setRequiredGeoCodeSelectorPK(requiredGeoCodeSelectorPK); 354 } 355 356 public void setRequiredGeoCodeSelector(Selector entity) { 357 setRequiredGeoCodeSelectorPK(entity == null? null: entity.getPrimaryKey()); 358 } 359 360 public boolean getRequiredGeoCodeSelectorPKHasBeenModified() { 361 return _value.getRequiredGeoCodeSelectorPKHasBeenModified(); 362 } 363 364 public SelectorPK getRecommendedItemSelectorPK() { 365 return _value.getRecommendedItemSelectorPK(); 366 } 367 368 public Selector getRecommendedItemSelector(Session session, EntityPermission entityPermission) { 369 SelectorPK pk = getRecommendedItemSelectorPK(); 370 Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk); 371 372 return entity; 373 } 374 375 public Selector getRecommendedItemSelector(EntityPermission entityPermission) { 376 return getRecommendedItemSelector(ThreadSession.currentSession(), entityPermission); 377 } 378 379 public Selector getRecommendedItemSelector(Session session) { 380 return getRecommendedItemSelector(session, EntityPermission.READ_ONLY); 381 } 382 383 public Selector getRecommendedItemSelector() { 384 return getRecommendedItemSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 385 } 386 387 public Selector getRecommendedItemSelectorForUpdate(Session session) { 388 return getRecommendedItemSelector(session, EntityPermission.READ_WRITE); 389 } 390 391 public Selector getRecommendedItemSelectorForUpdate() { 392 return getRecommendedItemSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 393 } 394 395 public void setRecommendedItemSelectorPK(SelectorPK recommendedItemSelectorPK) 396 throws PersistenceNotNullException, PersistenceReadOnlyException { 397 checkReadWrite(); 398 _value.setRecommendedItemSelectorPK(recommendedItemSelectorPK); 399 } 400 401 public void setRecommendedItemSelector(Selector entity) { 402 setRecommendedItemSelectorPK(entity == null? null: entity.getPrimaryKey()); 403 } 404 405 public boolean getRecommendedItemSelectorPKHasBeenModified() { 406 return _value.getRecommendedItemSelectorPKHasBeenModified(); 407 } 408 409 public SelectorPK getRequiredItemSelectorPK() { 410 return _value.getRequiredItemSelectorPK(); 411 } 412 413 public Selector getRequiredItemSelector(Session session, EntityPermission entityPermission) { 414 SelectorPK pk = getRequiredItemSelectorPK(); 415 Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk); 416 417 return entity; 418 } 419 420 public Selector getRequiredItemSelector(EntityPermission entityPermission) { 421 return getRequiredItemSelector(ThreadSession.currentSession(), entityPermission); 422 } 423 424 public Selector getRequiredItemSelector(Session session) { 425 return getRequiredItemSelector(session, EntityPermission.READ_ONLY); 426 } 427 428 public Selector getRequiredItemSelector() { 429 return getRequiredItemSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 430 } 431 432 public Selector getRequiredItemSelectorForUpdate(Session session) { 433 return getRequiredItemSelector(session, EntityPermission.READ_WRITE); 434 } 435 436 public Selector getRequiredItemSelectorForUpdate() { 437 return getRequiredItemSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 438 } 439 440 public void setRequiredItemSelectorPK(SelectorPK requiredItemSelectorPK) 441 throws PersistenceNotNullException, PersistenceReadOnlyException { 442 checkReadWrite(); 443 _value.setRequiredItemSelectorPK(requiredItemSelectorPK); 444 } 445 446 public void setRequiredItemSelector(Selector entity) { 447 setRequiredItemSelectorPK(entity == null? null: entity.getPrimaryKey()); 448 } 449 450 public boolean getRequiredItemSelectorPKHasBeenModified() { 451 return _value.getRequiredItemSelectorPKHasBeenModified(); 452 } 453 454 public SelectorPK getRecommendedOrderSelectorPK() { 455 return _value.getRecommendedOrderSelectorPK(); 456 } 457 458 public Selector getRecommendedOrderSelector(Session session, EntityPermission entityPermission) { 459 SelectorPK pk = getRecommendedOrderSelectorPK(); 460 Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk); 461 462 return entity; 463 } 464 465 public Selector getRecommendedOrderSelector(EntityPermission entityPermission) { 466 return getRecommendedOrderSelector(ThreadSession.currentSession(), entityPermission); 467 } 468 469 public Selector getRecommendedOrderSelector(Session session) { 470 return getRecommendedOrderSelector(session, EntityPermission.READ_ONLY); 471 } 472 473 public Selector getRecommendedOrderSelector() { 474 return getRecommendedOrderSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 475 } 476 477 public Selector getRecommendedOrderSelectorForUpdate(Session session) { 478 return getRecommendedOrderSelector(session, EntityPermission.READ_WRITE); 479 } 480 481 public Selector getRecommendedOrderSelectorForUpdate() { 482 return getRecommendedOrderSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 483 } 484 485 public void setRecommendedOrderSelectorPK(SelectorPK recommendedOrderSelectorPK) 486 throws PersistenceNotNullException, PersistenceReadOnlyException { 487 checkReadWrite(); 488 _value.setRecommendedOrderSelectorPK(recommendedOrderSelectorPK); 489 } 490 491 public void setRecommendedOrderSelector(Selector entity) { 492 setRecommendedOrderSelectorPK(entity == null? null: entity.getPrimaryKey()); 493 } 494 495 public boolean getRecommendedOrderSelectorPKHasBeenModified() { 496 return _value.getRecommendedOrderSelectorPKHasBeenModified(); 497 } 498 499 public SelectorPK getRequiredOrderSelectorPK() { 500 return _value.getRequiredOrderSelectorPK(); 501 } 502 503 public Selector getRequiredOrderSelector(Session session, EntityPermission entityPermission) { 504 SelectorPK pk = getRequiredOrderSelectorPK(); 505 Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk); 506 507 return entity; 508 } 509 510 public Selector getRequiredOrderSelector(EntityPermission entityPermission) { 511 return getRequiredOrderSelector(ThreadSession.currentSession(), entityPermission); 512 } 513 514 public Selector getRequiredOrderSelector(Session session) { 515 return getRequiredOrderSelector(session, EntityPermission.READ_ONLY); 516 } 517 518 public Selector getRequiredOrderSelector() { 519 return getRequiredOrderSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 520 } 521 522 public Selector getRequiredOrderSelectorForUpdate(Session session) { 523 return getRequiredOrderSelector(session, EntityPermission.READ_WRITE); 524 } 525 526 public Selector getRequiredOrderSelectorForUpdate() { 527 return getRequiredOrderSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 528 } 529 530 public void setRequiredOrderSelectorPK(SelectorPK requiredOrderSelectorPK) 531 throws PersistenceNotNullException, PersistenceReadOnlyException { 532 checkReadWrite(); 533 _value.setRequiredOrderSelectorPK(requiredOrderSelectorPK); 534 } 535 536 public void setRequiredOrderSelector(Selector entity) { 537 setRequiredOrderSelectorPK(entity == null? null: entity.getPrimaryKey()); 538 } 539 540 public boolean getRequiredOrderSelectorPKHasBeenModified() { 541 return _value.getRequiredOrderSelectorPKHasBeenModified(); 542 } 543 544 public SelectorPK getRecommendedShipmentSelectorPK() { 545 return _value.getRecommendedShipmentSelectorPK(); 546 } 547 548 public Selector getRecommendedShipmentSelector(Session session, EntityPermission entityPermission) { 549 SelectorPK pk = getRecommendedShipmentSelectorPK(); 550 Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk); 551 552 return entity; 553 } 554 555 public Selector getRecommendedShipmentSelector(EntityPermission entityPermission) { 556 return getRecommendedShipmentSelector(ThreadSession.currentSession(), entityPermission); 557 } 558 559 public Selector getRecommendedShipmentSelector(Session session) { 560 return getRecommendedShipmentSelector(session, EntityPermission.READ_ONLY); 561 } 562 563 public Selector getRecommendedShipmentSelector() { 564 return getRecommendedShipmentSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 565 } 566 567 public Selector getRecommendedShipmentSelectorForUpdate(Session session) { 568 return getRecommendedShipmentSelector(session, EntityPermission.READ_WRITE); 569 } 570 571 public Selector getRecommendedShipmentSelectorForUpdate() { 572 return getRecommendedShipmentSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 573 } 574 575 public void setRecommendedShipmentSelectorPK(SelectorPK recommendedShipmentSelectorPK) 576 throws PersistenceNotNullException, PersistenceReadOnlyException { 577 checkReadWrite(); 578 _value.setRecommendedShipmentSelectorPK(recommendedShipmentSelectorPK); 579 } 580 581 public void setRecommendedShipmentSelector(Selector entity) { 582 setRecommendedShipmentSelectorPK(entity == null? null: entity.getPrimaryKey()); 583 } 584 585 public boolean getRecommendedShipmentSelectorPKHasBeenModified() { 586 return _value.getRecommendedShipmentSelectorPKHasBeenModified(); 587 } 588 589 public SelectorPK getRequiredShipmentSelectorPK() { 590 return _value.getRequiredShipmentSelectorPK(); 591 } 592 593 public Selector getRequiredShipmentSelector(Session session, EntityPermission entityPermission) { 594 SelectorPK pk = getRequiredShipmentSelectorPK(); 595 Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk); 596 597 return entity; 598 } 599 600 public Selector getRequiredShipmentSelector(EntityPermission entityPermission) { 601 return getRequiredShipmentSelector(ThreadSession.currentSession(), entityPermission); 602 } 603 604 public Selector getRequiredShipmentSelector(Session session) { 605 return getRequiredShipmentSelector(session, EntityPermission.READ_ONLY); 606 } 607 608 public Selector getRequiredShipmentSelector() { 609 return getRequiredShipmentSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY); 610 } 611 612 public Selector getRequiredShipmentSelectorForUpdate(Session session) { 613 return getRequiredShipmentSelector(session, EntityPermission.READ_WRITE); 614 } 615 616 public Selector getRequiredShipmentSelectorForUpdate() { 617 return getRequiredShipmentSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE); 618 } 619 620 public void setRequiredShipmentSelectorPK(SelectorPK requiredShipmentSelectorPK) 621 throws PersistenceNotNullException, PersistenceReadOnlyException { 622 checkReadWrite(); 623 _value.setRequiredShipmentSelectorPK(requiredShipmentSelectorPK); 624 } 625 626 public void setRequiredShipmentSelector(Selector entity) { 627 setRequiredShipmentSelectorPK(entity == null? null: entity.getPrimaryKey()); 628 } 629 630 public boolean getRequiredShipmentSelectorPKHasBeenModified() { 631 return _value.getRequiredShipmentSelectorPKHasBeenModified(); 632 } 633 634 public Boolean getIsDefault() { 635 return _value.getIsDefault(); 636 } 637 638 public void setIsDefault(Boolean isDefault) 639 throws PersistenceNotNullException, PersistenceReadOnlyException { 640 checkReadWrite(); 641 _value.setIsDefault(isDefault); 642 } 643 644 public boolean getIsDefaultHasBeenModified() { 645 return _value.getIsDefaultHasBeenModified(); 646 } 647 648 public Integer getSortOrder() { 649 return _value.getSortOrder(); 650 } 651 652 public void setSortOrder(Integer sortOrder) 653 throws PersistenceNotNullException, PersistenceReadOnlyException { 654 checkReadWrite(); 655 _value.setSortOrder(sortOrder); 656 } 657 658 public boolean getSortOrderHasBeenModified() { 659 return _value.getSortOrderHasBeenModified(); 660 } 661 662 public Long getFromTime() { 663 return _value.getFromTime(); 664 } 665 666 public void setFromTime(Long fromTime) 667 throws PersistenceNotNullException, PersistenceReadOnlyException { 668 checkReadWrite(); 669 _value.setFromTime(fromTime); 670 } 671 672 public boolean getFromTimeHasBeenModified() { 673 return _value.getFromTimeHasBeenModified(); 674 } 675 676 public Long getThruTime() { 677 return _value.getThruTime(); 678 } 679 680 public void setThruTime(Long thruTime) 681 throws PersistenceNotNullException, PersistenceReadOnlyException { 682 checkReadWrite(); 683 _value.setThruTime(thruTime); 684 } 685 686 public boolean getThruTimeHasBeenModified() { 687 return _value.getThruTimeHasBeenModified(); 688 } 689 690}