Revision a2cd7ba3
Added by Andreas Kohlbecker almost 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/model/registration/DerivationEventTypes.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
private static final UUID UUID_PUBLISHED_IMAGE = UUID.fromString("b8cba359-4202-4741-8ed8-4f17ae94b3e3"); |
23 | 23 |
private static final UUID UUID_UNPUBLISHED_IMAGE = UUID.fromString("6cd5681f-0918-4ed6-89a8-bda1480dc890"); |
24 |
private static final UUID UUID_CULTURE_METABOLIC_INACTIVE = UUID.fromString("eaf1c853-ba8d-4c40-aa0a-56beac96b0d2"); |
|
24 | 25 |
|
25 | 26 |
private static DerivationEventType publishedImage = null; |
26 |
|
|
27 | 27 |
private static DerivationEventType unpublishedImage = null; |
28 |
private static DerivationEventType cultureMetabolicInactive = null; |
|
28 | 29 |
|
29 | 30 |
public static DerivationEventType PUBLISHED_IMAGE() { |
30 | 31 |
if(publishedImage == null){ |
31 |
publishedImage = DerivationEventType.NewInstance("Published image", "Published image", "PUBIMG");
|
|
32 |
publishedImage = DerivationEventType.NewInstance("Published image", "Published image", ""); |
|
32 | 33 |
publishedImage.setUuid(UUID_PUBLISHED_IMAGE); |
33 | 34 |
} |
34 | 35 |
return publishedImage; |
... | ... | |
36 | 37 |
|
37 | 38 |
public static DerivationEventType UNPUBLISHED_IMAGE() { |
38 | 39 |
if(unpublishedImage == null){ |
39 |
unpublishedImage = DerivationEventType.NewInstance("Unpublished image", "Unpublished image", "UNPUBIMG");
|
|
40 |
unpublishedImage = DerivationEventType.NewInstance("Unpublished image", "Unpublished image", ""); |
|
40 | 41 |
unpublishedImage.setUuid(UUID_UNPUBLISHED_IMAGE); |
41 | 42 |
} |
42 | 43 |
return unpublishedImage; |
43 | 44 |
} |
45 |
|
|
46 |
public static DerivationEventType CULTURE_METABOLIC_INACTIVE() { |
|
47 |
if(cultureMetabolicInactive == null){ |
|
48 |
cultureMetabolicInactive = DerivationEventType.NewInstance("Metabolic inactive cuture", "Metabolic inactive cuture", ""); |
|
49 |
cultureMetabolicInactive.setUuid(UUID_CULTURE_METABOLIC_INACTIVE); |
|
50 |
} |
|
51 |
return cultureMetabolicInactive; |
|
52 |
} |
|
53 |
|
|
44 | 54 |
} |
Also available in: Unified diff
ref #6724 registration specific DerivationEventTypes: CULTURE_METABOLIC_INACTIVE