/
CPInstanceModel.java
927 lines (802 loc) · 22.5 KB
/
CPInstanceModel.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.commerce.product.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.model.BaseModel;
import com.liferay.portal.kernel.model.MVCCModel;
import com.liferay.portal.kernel.model.ShardedModel;
import com.liferay.portal.kernel.model.StagedGroupedModel;
import com.liferay.portal.kernel.model.WorkflowedModel;
import com.liferay.portal.kernel.model.change.tracking.CTModel;
import java.math.BigDecimal;
import java.util.Date;
import org.osgi.annotation.versioning.ProviderType;
/**
* The base model interface for the CPInstance service. Represents a row in the "CPInstance" database table, with each column mapped to a property of this class.
*
* <p>
* This interface and its corresponding implementation <code>com.liferay.commerce.product.model.impl.CPInstanceModelImpl</code> exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in <code>com.liferay.commerce.product.model.impl.CPInstanceImpl</code>.
* </p>
*
* @author Marco Leo
* @see CPInstance
* @generated
*/
@ProviderType
public interface CPInstanceModel
extends BaseModel<CPInstance>, CTModel<CPInstance>, MVCCModel, ShardedModel,
StagedGroupedModel, WorkflowedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a cp instance model instance should use the {@link CPInstance} interface instead.
*/
/**
* Returns the primary key of this cp instance.
*
* @return the primary key of this cp instance
*/
@Override
public long getPrimaryKey();
/**
* Sets the primary key of this cp instance.
*
* @param primaryKey the primary key of this cp instance
*/
@Override
public void setPrimaryKey(long primaryKey);
/**
* Returns the mvcc version of this cp instance.
*
* @return the mvcc version of this cp instance
*/
@Override
public long getMvccVersion();
/**
* Sets the mvcc version of this cp instance.
*
* @param mvccVersion the mvcc version of this cp instance
*/
@Override
public void setMvccVersion(long mvccVersion);
/**
* Returns the ct collection ID of this cp instance.
*
* @return the ct collection ID of this cp instance
*/
@Override
public long getCtCollectionId();
/**
* Sets the ct collection ID of this cp instance.
*
* @param ctCollectionId the ct collection ID of this cp instance
*/
@Override
public void setCtCollectionId(long ctCollectionId);
/**
* Returns the uuid of this cp instance.
*
* @return the uuid of this cp instance
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this cp instance.
*
* @param uuid the uuid of this cp instance
*/
@Override
public void setUuid(String uuid);
/**
* Returns the external reference code of this cp instance.
*
* @return the external reference code of this cp instance
*/
@AutoEscape
public String getExternalReferenceCode();
/**
* Sets the external reference code of this cp instance.
*
* @param externalReferenceCode the external reference code of this cp instance
*/
public void setExternalReferenceCode(String externalReferenceCode);
/**
* Returns the cp instance ID of this cp instance.
*
* @return the cp instance ID of this cp instance
*/
public long getCPInstanceId();
/**
* Sets the cp instance ID of this cp instance.
*
* @param CPInstanceId the cp instance ID of this cp instance
*/
public void setCPInstanceId(long CPInstanceId);
/**
* Returns the group ID of this cp instance.
*
* @return the group ID of this cp instance
*/
@Override
public long getGroupId();
/**
* Sets the group ID of this cp instance.
*
* @param groupId the group ID of this cp instance
*/
@Override
public void setGroupId(long groupId);
/**
* Returns the company ID of this cp instance.
*
* @return the company ID of this cp instance
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this cp instance.
*
* @param companyId the company ID of this cp instance
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this cp instance.
*
* @return the user ID of this cp instance
*/
@Override
public long getUserId();
/**
* Sets the user ID of this cp instance.
*
* @param userId the user ID of this cp instance
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this cp instance.
*
* @return the user uuid of this cp instance
*/
@Override
public String getUserUuid();
/**
* Sets the user uuid of this cp instance.
*
* @param userUuid the user uuid of this cp instance
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this cp instance.
*
* @return the user name of this cp instance
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this cp instance.
*
* @param userName the user name of this cp instance
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this cp instance.
*
* @return the create date of this cp instance
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this cp instance.
*
* @param createDate the create date of this cp instance
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this cp instance.
*
* @return the modified date of this cp instance
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this cp instance.
*
* @param modifiedDate the modified date of this cp instance
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the cp definition ID of this cp instance.
*
* @return the cp definition ID of this cp instance
*/
public long getCPDefinitionId();
/**
* Sets the cp definition ID of this cp instance.
*
* @param CPDefinitionId the cp definition ID of this cp instance
*/
public void setCPDefinitionId(long CPDefinitionId);
/**
* Returns the cp instance uuid of this cp instance.
*
* @return the cp instance uuid of this cp instance
*/
@AutoEscape
public String getCPInstanceUuid();
/**
* Sets the cp instance uuid of this cp instance.
*
* @param CPInstanceUuid the cp instance uuid of this cp instance
*/
public void setCPInstanceUuid(String CPInstanceUuid);
/**
* Returns the sku of this cp instance.
*
* @return the sku of this cp instance
*/
@AutoEscape
public String getSku();
/**
* Sets the sku of this cp instance.
*
* @param sku the sku of this cp instance
*/
public void setSku(String sku);
/**
* Returns the gtin of this cp instance.
*
* @return the gtin of this cp instance
*/
@AutoEscape
public String getGtin();
/**
* Sets the gtin of this cp instance.
*
* @param gtin the gtin of this cp instance
*/
public void setGtin(String gtin);
/**
* Returns the manufacturer part number of this cp instance.
*
* @return the manufacturer part number of this cp instance
*/
@AutoEscape
public String getManufacturerPartNumber();
/**
* Sets the manufacturer part number of this cp instance.
*
* @param manufacturerPartNumber the manufacturer part number of this cp instance
*/
public void setManufacturerPartNumber(String manufacturerPartNumber);
/**
* Returns the purchasable of this cp instance.
*
* @return the purchasable of this cp instance
*/
public boolean getPurchasable();
/**
* Returns <code>true</code> if this cp instance is purchasable.
*
* @return <code>true</code> if this cp instance is purchasable; <code>false</code> otherwise
*/
public boolean isPurchasable();
/**
* Sets whether this cp instance is purchasable.
*
* @param purchasable the purchasable of this cp instance
*/
public void setPurchasable(boolean purchasable);
/**
* Returns the width of this cp instance.
*
* @return the width of this cp instance
*/
public double getWidth();
/**
* Sets the width of this cp instance.
*
* @param width the width of this cp instance
*/
public void setWidth(double width);
/**
* Returns the height of this cp instance.
*
* @return the height of this cp instance
*/
public double getHeight();
/**
* Sets the height of this cp instance.
*
* @param height the height of this cp instance
*/
public void setHeight(double height);
/**
* Returns the depth of this cp instance.
*
* @return the depth of this cp instance
*/
public double getDepth();
/**
* Sets the depth of this cp instance.
*
* @param depth the depth of this cp instance
*/
public void setDepth(double depth);
/**
* Returns the weight of this cp instance.
*
* @return the weight of this cp instance
*/
public double getWeight();
/**
* Sets the weight of this cp instance.
*
* @param weight the weight of this cp instance
*/
public void setWeight(double weight);
/**
* Returns the price of this cp instance.
*
* @return the price of this cp instance
*/
public BigDecimal getPrice();
/**
* Sets the price of this cp instance.
*
* @param price the price of this cp instance
*/
public void setPrice(BigDecimal price);
/**
* Returns the promo price of this cp instance.
*
* @return the promo price of this cp instance
*/
public BigDecimal getPromoPrice();
/**
* Sets the promo price of this cp instance.
*
* @param promoPrice the promo price of this cp instance
*/
public void setPromoPrice(BigDecimal promoPrice);
/**
* Returns the cost of this cp instance.
*
* @return the cost of this cp instance
*/
public BigDecimal getCost();
/**
* Sets the cost of this cp instance.
*
* @param cost the cost of this cp instance
*/
public void setCost(BigDecimal cost);
/**
* Returns the published of this cp instance.
*
* @return the published of this cp instance
*/
public boolean getPublished();
/**
* Returns <code>true</code> if this cp instance is published.
*
* @return <code>true</code> if this cp instance is published; <code>false</code> otherwise
*/
public boolean isPublished();
/**
* Sets whether this cp instance is published.
*
* @param published the published of this cp instance
*/
public void setPublished(boolean published);
/**
* Returns the display date of this cp instance.
*
* @return the display date of this cp instance
*/
public Date getDisplayDate();
/**
* Sets the display date of this cp instance.
*
* @param displayDate the display date of this cp instance
*/
public void setDisplayDate(Date displayDate);
/**
* Returns the expiration date of this cp instance.
*
* @return the expiration date of this cp instance
*/
public Date getExpirationDate();
/**
* Sets the expiration date of this cp instance.
*
* @param expirationDate the expiration date of this cp instance
*/
public void setExpirationDate(Date expirationDate);
/**
* Returns the last publish date of this cp instance.
*
* @return the last publish date of this cp instance
*/
@Override
public Date getLastPublishDate();
/**
* Sets the last publish date of this cp instance.
*
* @param lastPublishDate the last publish date of this cp instance
*/
@Override
public void setLastPublishDate(Date lastPublishDate);
/**
* Returns the override subscription info of this cp instance.
*
* @return the override subscription info of this cp instance
*/
public boolean getOverrideSubscriptionInfo();
/**
* Returns <code>true</code> if this cp instance is override subscription info.
*
* @return <code>true</code> if this cp instance is override subscription info; <code>false</code> otherwise
*/
public boolean isOverrideSubscriptionInfo();
/**
* Sets whether this cp instance is override subscription info.
*
* @param overrideSubscriptionInfo the override subscription info of this cp instance
*/
public void setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo);
/**
* Returns the subscription enabled of this cp instance.
*
* @return the subscription enabled of this cp instance
*/
public boolean getSubscriptionEnabled();
/**
* Returns <code>true</code> if this cp instance is subscription enabled.
*
* @return <code>true</code> if this cp instance is subscription enabled; <code>false</code> otherwise
*/
public boolean isSubscriptionEnabled();
/**
* Sets whether this cp instance is subscription enabled.
*
* @param subscriptionEnabled the subscription enabled of this cp instance
*/
public void setSubscriptionEnabled(boolean subscriptionEnabled);
/**
* Returns the subscription length of this cp instance.
*
* @return the subscription length of this cp instance
*/
public int getSubscriptionLength();
/**
* Sets the subscription length of this cp instance.
*
* @param subscriptionLength the subscription length of this cp instance
*/
public void setSubscriptionLength(int subscriptionLength);
/**
* Returns the subscription type of this cp instance.
*
* @return the subscription type of this cp instance
*/
@AutoEscape
public String getSubscriptionType();
/**
* Sets the subscription type of this cp instance.
*
* @param subscriptionType the subscription type of this cp instance
*/
public void setSubscriptionType(String subscriptionType);
/**
* Returns the subscription type settings of this cp instance.
*
* @return the subscription type settings of this cp instance
*/
@AutoEscape
public String getSubscriptionTypeSettings();
/**
* Sets the subscription type settings of this cp instance.
*
* @param subscriptionTypeSettings the subscription type settings of this cp instance
*/
public void setSubscriptionTypeSettings(String subscriptionTypeSettings);
/**
* Returns the max subscription cycles of this cp instance.
*
* @return the max subscription cycles of this cp instance
*/
public long getMaxSubscriptionCycles();
/**
* Sets the max subscription cycles of this cp instance.
*
* @param maxSubscriptionCycles the max subscription cycles of this cp instance
*/
public void setMaxSubscriptionCycles(long maxSubscriptionCycles);
/**
* Returns the delivery subscription enabled of this cp instance.
*
* @return the delivery subscription enabled of this cp instance
*/
public boolean getDeliverySubscriptionEnabled();
/**
* Returns <code>true</code> if this cp instance is delivery subscription enabled.
*
* @return <code>true</code> if this cp instance is delivery subscription enabled; <code>false</code> otherwise
*/
public boolean isDeliverySubscriptionEnabled();
/**
* Sets whether this cp instance is delivery subscription enabled.
*
* @param deliverySubscriptionEnabled the delivery subscription enabled of this cp instance
*/
public void setDeliverySubscriptionEnabled(
boolean deliverySubscriptionEnabled);
/**
* Returns the delivery subscription length of this cp instance.
*
* @return the delivery subscription length of this cp instance
*/
public int getDeliverySubscriptionLength();
/**
* Sets the delivery subscription length of this cp instance.
*
* @param deliverySubscriptionLength the delivery subscription length of this cp instance
*/
public void setDeliverySubscriptionLength(int deliverySubscriptionLength);
/**
* Returns the delivery subscription type of this cp instance.
*
* @return the delivery subscription type of this cp instance
*/
@AutoEscape
public String getDeliverySubscriptionType();
/**
* Sets the delivery subscription type of this cp instance.
*
* @param deliverySubscriptionType the delivery subscription type of this cp instance
*/
public void setDeliverySubscriptionType(String deliverySubscriptionType);
/**
* Returns the delivery subscription type settings of this cp instance.
*
* @return the delivery subscription type settings of this cp instance
*/
@AutoEscape
public String getDeliverySubscriptionTypeSettings();
/**
* Sets the delivery subscription type settings of this cp instance.
*
* @param deliverySubscriptionTypeSettings the delivery subscription type settings of this cp instance
*/
public void setDeliverySubscriptionTypeSettings(
String deliverySubscriptionTypeSettings);
/**
* Returns the delivery max subscription cycles of this cp instance.
*
* @return the delivery max subscription cycles of this cp instance
*/
public long getDeliveryMaxSubscriptionCycles();
/**
* Sets the delivery max subscription cycles of this cp instance.
*
* @param deliveryMaxSubscriptionCycles the delivery max subscription cycles of this cp instance
*/
public void setDeliveryMaxSubscriptionCycles(
long deliveryMaxSubscriptionCycles);
/**
* Returns the unspsc of this cp instance.
*
* @return the unspsc of this cp instance
*/
@AutoEscape
public String getUnspsc();
/**
* Sets the unspsc of this cp instance.
*
* @param unspsc the unspsc of this cp instance
*/
public void setUnspsc(String unspsc);
/**
* Returns the discontinued of this cp instance.
*
* @return the discontinued of this cp instance
*/
public boolean getDiscontinued();
/**
* Returns <code>true</code> if this cp instance is discontinued.
*
* @return <code>true</code> if this cp instance is discontinued; <code>false</code> otherwise
*/
public boolean isDiscontinued();
/**
* Sets whether this cp instance is discontinued.
*
* @param discontinued the discontinued of this cp instance
*/
public void setDiscontinued(boolean discontinued);
/**
* Returns the discontinued date of this cp instance.
*
* @return the discontinued date of this cp instance
*/
public Date getDiscontinuedDate();
/**
* Sets the discontinued date of this cp instance.
*
* @param discontinuedDate the discontinued date of this cp instance
*/
public void setDiscontinuedDate(Date discontinuedDate);
/**
* Returns the replacement cp instance uuid of this cp instance.
*
* @return the replacement cp instance uuid of this cp instance
*/
@AutoEscape
public String getReplacementCPInstanceUuid();
/**
* Sets the replacement cp instance uuid of this cp instance.
*
* @param replacementCPInstanceUuid the replacement cp instance uuid of this cp instance
*/
public void setReplacementCPInstanceUuid(String replacementCPInstanceUuid);
/**
* Returns the replacement c product ID of this cp instance.
*
* @return the replacement c product ID of this cp instance
*/
public long getReplacementCProductId();
/**
* Sets the replacement c product ID of this cp instance.
*
* @param replacementCProductId the replacement c product ID of this cp instance
*/
public void setReplacementCProductId(long replacementCProductId);
/**
* Returns the status of this cp instance.
*
* @return the status of this cp instance
*/
@Override
public int getStatus();
/**
* Sets the status of this cp instance.
*
* @param status the status of this cp instance
*/
@Override
public void setStatus(int status);
/**
* Returns the status by user ID of this cp instance.
*
* @return the status by user ID of this cp instance
*/
@Override
public long getStatusByUserId();
/**
* Sets the status by user ID of this cp instance.
*
* @param statusByUserId the status by user ID of this cp instance
*/
@Override
public void setStatusByUserId(long statusByUserId);
/**
* Returns the status by user uuid of this cp instance.
*
* @return the status by user uuid of this cp instance
*/
@Override
public String getStatusByUserUuid();
/**
* Sets the status by user uuid of this cp instance.
*
* @param statusByUserUuid the status by user uuid of this cp instance
*/
@Override
public void setStatusByUserUuid(String statusByUserUuid);
/**
* Returns the status by user name of this cp instance.
*
* @return the status by user name of this cp instance
*/
@AutoEscape
@Override
public String getStatusByUserName();
/**
* Sets the status by user name of this cp instance.
*
* @param statusByUserName the status by user name of this cp instance
*/
@Override
public void setStatusByUserName(String statusByUserName);
/**
* Returns the status date of this cp instance.
*
* @return the status date of this cp instance
*/
@Override
public Date getStatusDate();
/**
* Sets the status date of this cp instance.
*
* @param statusDate the status date of this cp instance
*/
@Override
public void setStatusDate(Date statusDate);
/**
* Returns <code>true</code> if this cp instance is approved.
*
* @return <code>true</code> if this cp instance is approved; <code>false</code> otherwise
*/
@Override
public boolean isApproved();
/**
* Returns <code>true</code> if this cp instance is denied.
*
* @return <code>true</code> if this cp instance is denied; <code>false</code> otherwise
*/
@Override
public boolean isDenied();
/**
* Returns <code>true</code> if this cp instance is a draft.
*
* @return <code>true</code> if this cp instance is a draft; <code>false</code> otherwise
*/
@Override
public boolean isDraft();
/**
* Returns <code>true</code> if this cp instance is expired.
*
* @return <code>true</code> if this cp instance is expired; <code>false</code> otherwise
*/
@Override
public boolean isExpired();
/**
* Returns <code>true</code> if this cp instance is inactive.
*
* @return <code>true</code> if this cp instance is inactive; <code>false</code> otherwise
*/
@Override
public boolean isInactive();
/**
* Returns <code>true</code> if this cp instance is incomplete.
*
* @return <code>true</code> if this cp instance is incomplete; <code>false</code> otherwise
*/
@Override
public boolean isIncomplete();
/**
* Returns <code>true</code> if this cp instance is pending.
*
* @return <code>true</code> if this cp instance is pending; <code>false</code> otherwise
*/
@Override
public boolean isPending();
/**
* Returns <code>true</code> if this cp instance is scheduled.
*
* @return <code>true</code> if this cp instance is scheduled; <code>false</code> otherwise
*/
@Override
public boolean isScheduled();
@Override
public CPInstance cloneWithOriginalValues();
}