001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 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) {
108            CarrierOptionDetail that = (CarrierOptionDetail)other;
109            
110            CarrierOptionDetailValue thatValue = that.getCarrierOptionDetailValue();
111            return _value.equals(thatValue);
112        } else {
113            return false;
114        }
115    }
116    
117    @Override
118    public void store(Session session)
119            throws PersistenceDatabaseException {
120        getBaseFactoryInstance().store(session, this);
121    }
122    
123    @Override
124    public void remove(Session session)
125            throws PersistenceDatabaseException {
126        getBaseFactoryInstance().remove(session, this);
127    }
128    
129    @Override
130    public void remove()
131            throws PersistenceDatabaseException {
132        getBaseFactoryInstance().remove(ThreadSession.currentSession(), this);
133    }
134    
135    public CarrierOptionDetailValue getCarrierOptionDetailValue() {
136        return _value;
137    }
138    
139    public void setCarrierOptionDetailValue(CarrierOptionDetailValue value)
140            throws PersistenceReadOnlyException {
141        checkReadWrite();
142        _value = value;
143    }
144    
145    @Override
146    public CarrierOptionDetailPK getPrimaryKey() {
147        return _pk;
148    }
149    
150    public CarrierOptionPK getCarrierOptionPK() {
151        return _value.getCarrierOptionPK();
152    }
153    
154    public CarrierOption getCarrierOption(Session session, EntityPermission entityPermission) {
155        return CarrierOptionFactory.getInstance().getEntityFromPK(session, entityPermission, getCarrierOptionPK());
156    }
157    
158    public CarrierOption getCarrierOption(EntityPermission entityPermission) {
159        return getCarrierOption(ThreadSession.currentSession(), entityPermission);
160    }
161    
162    public CarrierOption getCarrierOption(Session session) {
163        return getCarrierOption(session, EntityPermission.READ_ONLY);
164    }
165    
166    public CarrierOption getCarrierOption() {
167        return getCarrierOption(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
168    }
169    
170    public CarrierOption getCarrierOptionForUpdate(Session session) {
171        return getCarrierOption(session, EntityPermission.READ_WRITE);
172    }
173    
174    public CarrierOption getCarrierOptionForUpdate() {
175        return getCarrierOption(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
176    }
177    
178    public void setCarrierOptionPK(CarrierOptionPK carrierOptionPK)
179            throws PersistenceNotNullException, PersistenceReadOnlyException {
180        checkReadWrite();
181        _value.setCarrierOptionPK(carrierOptionPK);
182    }
183    
184    public void setCarrierOption(CarrierOption entity) {
185        setCarrierOptionPK(entity == null? null: entity.getPrimaryKey());
186    }
187    
188    public boolean getCarrierOptionPKHasBeenModified() {
189        return _value.getCarrierOptionPKHasBeenModified();
190    }
191    
192    public PartyPK getCarrierPartyPK() {
193        return _value.getCarrierPartyPK();
194    }
195    
196    public Party getCarrierParty(Session session, EntityPermission entityPermission) {
197        return PartyFactory.getInstance().getEntityFromPK(session, entityPermission, getCarrierPartyPK());
198    }
199    
200    public Party getCarrierParty(EntityPermission entityPermission) {
201        return getCarrierParty(ThreadSession.currentSession(), entityPermission);
202    }
203    
204    public Party getCarrierParty(Session session) {
205        return getCarrierParty(session, EntityPermission.READ_ONLY);
206    }
207    
208    public Party getCarrierParty() {
209        return getCarrierParty(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
210    }
211    
212    public Party getCarrierPartyForUpdate(Session session) {
213        return getCarrierParty(session, EntityPermission.READ_WRITE);
214    }
215    
216    public Party getCarrierPartyForUpdate() {
217        return getCarrierParty(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
218    }
219    
220    public void setCarrierPartyPK(PartyPK carrierPartyPK)
221            throws PersistenceNotNullException, PersistenceReadOnlyException {
222        checkReadWrite();
223        _value.setCarrierPartyPK(carrierPartyPK);
224    }
225    
226    public void setCarrierParty(Party entity) {
227        setCarrierPartyPK(entity == null? null: entity.getPrimaryKey());
228    }
229    
230    public boolean getCarrierPartyPKHasBeenModified() {
231        return _value.getCarrierPartyPKHasBeenModified();
232    }
233    
234    public String getCarrierOptionName() {
235        return _value.getCarrierOptionName();
236    }
237    
238    public void setCarrierOptionName(String carrierOptionName)
239            throws PersistenceNotNullException, PersistenceReadOnlyException {
240        checkReadWrite();
241        _value.setCarrierOptionName(carrierOptionName);
242    }
243    
244    public boolean getCarrierOptionNameHasBeenModified() {
245        return _value.getCarrierOptionNameHasBeenModified();
246    }
247    
248    public Boolean getIsRecommended() {
249        return _value.getIsRecommended();
250    }
251    
252    public void setIsRecommended(Boolean isRecommended)
253            throws PersistenceNotNullException, PersistenceReadOnlyException {
254        checkReadWrite();
255        _value.setIsRecommended(isRecommended);
256    }
257    
258    public boolean getIsRecommendedHasBeenModified() {
259        return _value.getIsRecommendedHasBeenModified();
260    }
261    
262    public Boolean getIsRequired() {
263        return _value.getIsRequired();
264    }
265    
266    public void setIsRequired(Boolean isRequired)
267            throws PersistenceNotNullException, PersistenceReadOnlyException {
268        checkReadWrite();
269        _value.setIsRequired(isRequired);
270    }
271    
272    public boolean getIsRequiredHasBeenModified() {
273        return _value.getIsRequiredHasBeenModified();
274    }
275    
276    public SelectorPK getRecommendedGeoCodeSelectorPK() {
277        return _value.getRecommendedGeoCodeSelectorPK();
278    }
279    
280    public Selector getRecommendedGeoCodeSelector(Session session, EntityPermission entityPermission) {
281        SelectorPK pk = getRecommendedGeoCodeSelectorPK();
282        Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk);
283        
284        return entity;
285    }
286    
287    public Selector getRecommendedGeoCodeSelector(EntityPermission entityPermission) {
288        return getRecommendedGeoCodeSelector(ThreadSession.currentSession(), entityPermission);
289    }
290    
291    public Selector getRecommendedGeoCodeSelector(Session session) {
292        return getRecommendedGeoCodeSelector(session, EntityPermission.READ_ONLY);
293    }
294    
295    public Selector getRecommendedGeoCodeSelector() {
296        return getRecommendedGeoCodeSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
297    }
298    
299    public Selector getRecommendedGeoCodeSelectorForUpdate(Session session) {
300        return getRecommendedGeoCodeSelector(session, EntityPermission.READ_WRITE);
301    }
302    
303    public Selector getRecommendedGeoCodeSelectorForUpdate() {
304        return getRecommendedGeoCodeSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
305    }
306    
307    public void setRecommendedGeoCodeSelectorPK(SelectorPK recommendedGeoCodeSelectorPK)
308            throws PersistenceNotNullException, PersistenceReadOnlyException {
309        checkReadWrite();
310        _value.setRecommendedGeoCodeSelectorPK(recommendedGeoCodeSelectorPK);
311    }
312    
313    public void setRecommendedGeoCodeSelector(Selector entity) {
314        setRecommendedGeoCodeSelectorPK(entity == null? null: entity.getPrimaryKey());
315    }
316    
317    public boolean getRecommendedGeoCodeSelectorPKHasBeenModified() {
318        return _value.getRecommendedGeoCodeSelectorPKHasBeenModified();
319    }
320    
321    public SelectorPK getRequiredGeoCodeSelectorPK() {
322        return _value.getRequiredGeoCodeSelectorPK();
323    }
324    
325    public Selector getRequiredGeoCodeSelector(Session session, EntityPermission entityPermission) {
326        SelectorPK pk = getRequiredGeoCodeSelectorPK();
327        Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk);
328        
329        return entity;
330    }
331    
332    public Selector getRequiredGeoCodeSelector(EntityPermission entityPermission) {
333        return getRequiredGeoCodeSelector(ThreadSession.currentSession(), entityPermission);
334    }
335    
336    public Selector getRequiredGeoCodeSelector(Session session) {
337        return getRequiredGeoCodeSelector(session, EntityPermission.READ_ONLY);
338    }
339    
340    public Selector getRequiredGeoCodeSelector() {
341        return getRequiredGeoCodeSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
342    }
343    
344    public Selector getRequiredGeoCodeSelectorForUpdate(Session session) {
345        return getRequiredGeoCodeSelector(session, EntityPermission.READ_WRITE);
346    }
347    
348    public Selector getRequiredGeoCodeSelectorForUpdate() {
349        return getRequiredGeoCodeSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
350    }
351    
352    public void setRequiredGeoCodeSelectorPK(SelectorPK requiredGeoCodeSelectorPK)
353            throws PersistenceNotNullException, PersistenceReadOnlyException {
354        checkReadWrite();
355        _value.setRequiredGeoCodeSelectorPK(requiredGeoCodeSelectorPK);
356    }
357    
358    public void setRequiredGeoCodeSelector(Selector entity) {
359        setRequiredGeoCodeSelectorPK(entity == null? null: entity.getPrimaryKey());
360    }
361    
362    public boolean getRequiredGeoCodeSelectorPKHasBeenModified() {
363        return _value.getRequiredGeoCodeSelectorPKHasBeenModified();
364    }
365    
366    public SelectorPK getRecommendedItemSelectorPK() {
367        return _value.getRecommendedItemSelectorPK();
368    }
369    
370    public Selector getRecommendedItemSelector(Session session, EntityPermission entityPermission) {
371        SelectorPK pk = getRecommendedItemSelectorPK();
372        Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk);
373        
374        return entity;
375    }
376    
377    public Selector getRecommendedItemSelector(EntityPermission entityPermission) {
378        return getRecommendedItemSelector(ThreadSession.currentSession(), entityPermission);
379    }
380    
381    public Selector getRecommendedItemSelector(Session session) {
382        return getRecommendedItemSelector(session, EntityPermission.READ_ONLY);
383    }
384    
385    public Selector getRecommendedItemSelector() {
386        return getRecommendedItemSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
387    }
388    
389    public Selector getRecommendedItemSelectorForUpdate(Session session) {
390        return getRecommendedItemSelector(session, EntityPermission.READ_WRITE);
391    }
392    
393    public Selector getRecommendedItemSelectorForUpdate() {
394        return getRecommendedItemSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
395    }
396    
397    public void setRecommendedItemSelectorPK(SelectorPK recommendedItemSelectorPK)
398            throws PersistenceNotNullException, PersistenceReadOnlyException {
399        checkReadWrite();
400        _value.setRecommendedItemSelectorPK(recommendedItemSelectorPK);
401    }
402    
403    public void setRecommendedItemSelector(Selector entity) {
404        setRecommendedItemSelectorPK(entity == null? null: entity.getPrimaryKey());
405    }
406    
407    public boolean getRecommendedItemSelectorPKHasBeenModified() {
408        return _value.getRecommendedItemSelectorPKHasBeenModified();
409    }
410    
411    public SelectorPK getRequiredItemSelectorPK() {
412        return _value.getRequiredItemSelectorPK();
413    }
414    
415    public Selector getRequiredItemSelector(Session session, EntityPermission entityPermission) {
416        SelectorPK pk = getRequiredItemSelectorPK();
417        Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk);
418        
419        return entity;
420    }
421    
422    public Selector getRequiredItemSelector(EntityPermission entityPermission) {
423        return getRequiredItemSelector(ThreadSession.currentSession(), entityPermission);
424    }
425    
426    public Selector getRequiredItemSelector(Session session) {
427        return getRequiredItemSelector(session, EntityPermission.READ_ONLY);
428    }
429    
430    public Selector getRequiredItemSelector() {
431        return getRequiredItemSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
432    }
433    
434    public Selector getRequiredItemSelectorForUpdate(Session session) {
435        return getRequiredItemSelector(session, EntityPermission.READ_WRITE);
436    }
437    
438    public Selector getRequiredItemSelectorForUpdate() {
439        return getRequiredItemSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
440    }
441    
442    public void setRequiredItemSelectorPK(SelectorPK requiredItemSelectorPK)
443            throws PersistenceNotNullException, PersistenceReadOnlyException {
444        checkReadWrite();
445        _value.setRequiredItemSelectorPK(requiredItemSelectorPK);
446    }
447    
448    public void setRequiredItemSelector(Selector entity) {
449        setRequiredItemSelectorPK(entity == null? null: entity.getPrimaryKey());
450    }
451    
452    public boolean getRequiredItemSelectorPKHasBeenModified() {
453        return _value.getRequiredItemSelectorPKHasBeenModified();
454    }
455    
456    public SelectorPK getRecommendedOrderSelectorPK() {
457        return _value.getRecommendedOrderSelectorPK();
458    }
459    
460    public Selector getRecommendedOrderSelector(Session session, EntityPermission entityPermission) {
461        SelectorPK pk = getRecommendedOrderSelectorPK();
462        Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk);
463        
464        return entity;
465    }
466    
467    public Selector getRecommendedOrderSelector(EntityPermission entityPermission) {
468        return getRecommendedOrderSelector(ThreadSession.currentSession(), entityPermission);
469    }
470    
471    public Selector getRecommendedOrderSelector(Session session) {
472        return getRecommendedOrderSelector(session, EntityPermission.READ_ONLY);
473    }
474    
475    public Selector getRecommendedOrderSelector() {
476        return getRecommendedOrderSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
477    }
478    
479    public Selector getRecommendedOrderSelectorForUpdate(Session session) {
480        return getRecommendedOrderSelector(session, EntityPermission.READ_WRITE);
481    }
482    
483    public Selector getRecommendedOrderSelectorForUpdate() {
484        return getRecommendedOrderSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
485    }
486    
487    public void setRecommendedOrderSelectorPK(SelectorPK recommendedOrderSelectorPK)
488            throws PersistenceNotNullException, PersistenceReadOnlyException {
489        checkReadWrite();
490        _value.setRecommendedOrderSelectorPK(recommendedOrderSelectorPK);
491    }
492    
493    public void setRecommendedOrderSelector(Selector entity) {
494        setRecommendedOrderSelectorPK(entity == null? null: entity.getPrimaryKey());
495    }
496    
497    public boolean getRecommendedOrderSelectorPKHasBeenModified() {
498        return _value.getRecommendedOrderSelectorPKHasBeenModified();
499    }
500    
501    public SelectorPK getRequiredOrderSelectorPK() {
502        return _value.getRequiredOrderSelectorPK();
503    }
504    
505    public Selector getRequiredOrderSelector(Session session, EntityPermission entityPermission) {
506        SelectorPK pk = getRequiredOrderSelectorPK();
507        Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk);
508        
509        return entity;
510    }
511    
512    public Selector getRequiredOrderSelector(EntityPermission entityPermission) {
513        return getRequiredOrderSelector(ThreadSession.currentSession(), entityPermission);
514    }
515    
516    public Selector getRequiredOrderSelector(Session session) {
517        return getRequiredOrderSelector(session, EntityPermission.READ_ONLY);
518    }
519    
520    public Selector getRequiredOrderSelector() {
521        return getRequiredOrderSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
522    }
523    
524    public Selector getRequiredOrderSelectorForUpdate(Session session) {
525        return getRequiredOrderSelector(session, EntityPermission.READ_WRITE);
526    }
527    
528    public Selector getRequiredOrderSelectorForUpdate() {
529        return getRequiredOrderSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
530    }
531    
532    public void setRequiredOrderSelectorPK(SelectorPK requiredOrderSelectorPK)
533            throws PersistenceNotNullException, PersistenceReadOnlyException {
534        checkReadWrite();
535        _value.setRequiredOrderSelectorPK(requiredOrderSelectorPK);
536    }
537    
538    public void setRequiredOrderSelector(Selector entity) {
539        setRequiredOrderSelectorPK(entity == null? null: entity.getPrimaryKey());
540    }
541    
542    public boolean getRequiredOrderSelectorPKHasBeenModified() {
543        return _value.getRequiredOrderSelectorPKHasBeenModified();
544    }
545    
546    public SelectorPK getRecommendedShipmentSelectorPK() {
547        return _value.getRecommendedShipmentSelectorPK();
548    }
549    
550    public Selector getRecommendedShipmentSelector(Session session, EntityPermission entityPermission) {
551        SelectorPK pk = getRecommendedShipmentSelectorPK();
552        Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk);
553        
554        return entity;
555    }
556    
557    public Selector getRecommendedShipmentSelector(EntityPermission entityPermission) {
558        return getRecommendedShipmentSelector(ThreadSession.currentSession(), entityPermission);
559    }
560    
561    public Selector getRecommendedShipmentSelector(Session session) {
562        return getRecommendedShipmentSelector(session, EntityPermission.READ_ONLY);
563    }
564    
565    public Selector getRecommendedShipmentSelector() {
566        return getRecommendedShipmentSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
567    }
568    
569    public Selector getRecommendedShipmentSelectorForUpdate(Session session) {
570        return getRecommendedShipmentSelector(session, EntityPermission.READ_WRITE);
571    }
572    
573    public Selector getRecommendedShipmentSelectorForUpdate() {
574        return getRecommendedShipmentSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
575    }
576    
577    public void setRecommendedShipmentSelectorPK(SelectorPK recommendedShipmentSelectorPK)
578            throws PersistenceNotNullException, PersistenceReadOnlyException {
579        checkReadWrite();
580        _value.setRecommendedShipmentSelectorPK(recommendedShipmentSelectorPK);
581    }
582    
583    public void setRecommendedShipmentSelector(Selector entity) {
584        setRecommendedShipmentSelectorPK(entity == null? null: entity.getPrimaryKey());
585    }
586    
587    public boolean getRecommendedShipmentSelectorPKHasBeenModified() {
588        return _value.getRecommendedShipmentSelectorPKHasBeenModified();
589    }
590    
591    public SelectorPK getRequiredShipmentSelectorPK() {
592        return _value.getRequiredShipmentSelectorPK();
593    }
594    
595    public Selector getRequiredShipmentSelector(Session session, EntityPermission entityPermission) {
596        SelectorPK pk = getRequiredShipmentSelectorPK();
597        Selector entity = pk == null? null: SelectorFactory.getInstance().getEntityFromPK(session, entityPermission, pk);
598        
599        return entity;
600    }
601    
602    public Selector getRequiredShipmentSelector(EntityPermission entityPermission) {
603        return getRequiredShipmentSelector(ThreadSession.currentSession(), entityPermission);
604    }
605    
606    public Selector getRequiredShipmentSelector(Session session) {
607        return getRequiredShipmentSelector(session, EntityPermission.READ_ONLY);
608    }
609    
610    public Selector getRequiredShipmentSelector() {
611        return getRequiredShipmentSelector(ThreadSession.currentSession(), EntityPermission.READ_ONLY);
612    }
613    
614    public Selector getRequiredShipmentSelectorForUpdate(Session session) {
615        return getRequiredShipmentSelector(session, EntityPermission.READ_WRITE);
616    }
617    
618    public Selector getRequiredShipmentSelectorForUpdate() {
619        return getRequiredShipmentSelector(ThreadSession.currentSession(), EntityPermission.READ_WRITE);
620    }
621    
622    public void setRequiredShipmentSelectorPK(SelectorPK requiredShipmentSelectorPK)
623            throws PersistenceNotNullException, PersistenceReadOnlyException {
624        checkReadWrite();
625        _value.setRequiredShipmentSelectorPK(requiredShipmentSelectorPK);
626    }
627    
628    public void setRequiredShipmentSelector(Selector entity) {
629        setRequiredShipmentSelectorPK(entity == null? null: entity.getPrimaryKey());
630    }
631    
632    public boolean getRequiredShipmentSelectorPKHasBeenModified() {
633        return _value.getRequiredShipmentSelectorPKHasBeenModified();
634    }
635    
636    public Boolean getIsDefault() {
637        return _value.getIsDefault();
638    }
639    
640    public void setIsDefault(Boolean isDefault)
641            throws PersistenceNotNullException, PersistenceReadOnlyException {
642        checkReadWrite();
643        _value.setIsDefault(isDefault);
644    }
645    
646    public boolean getIsDefaultHasBeenModified() {
647        return _value.getIsDefaultHasBeenModified();
648    }
649    
650    public Integer getSortOrder() {
651        return _value.getSortOrder();
652    }
653    
654    public void setSortOrder(Integer sortOrder)
655            throws PersistenceNotNullException, PersistenceReadOnlyException {
656        checkReadWrite();
657        _value.setSortOrder(sortOrder);
658    }
659    
660    public boolean getSortOrderHasBeenModified() {
661        return _value.getSortOrderHasBeenModified();
662    }
663    
664    public Long getFromTime() {
665        return _value.getFromTime();
666    }
667    
668    public void setFromTime(Long fromTime)
669            throws PersistenceNotNullException, PersistenceReadOnlyException {
670        checkReadWrite();
671        _value.setFromTime(fromTime);
672    }
673    
674    public boolean getFromTimeHasBeenModified() {
675        return _value.getFromTimeHasBeenModified();
676    }
677    
678    public Long getThruTime() {
679        return _value.getThruTime();
680    }
681    
682    public void setThruTime(Long thruTime)
683            throws PersistenceNotNullException, PersistenceReadOnlyException {
684        checkReadWrite();
685        _value.setThruTime(thruTime);
686    }
687    
688    public boolean getThruTimeHasBeenModified() {
689        return _value.getThruTimeHasBeenModified();
690    }
691    
692}