Skip to content

Package: C1Image

C1Image

nameinstructionbranchcomplexitylinemethod
C1Image()
M: 0 C: 6
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
C1Image(String, String, String)
M: 0 C: 24
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
canEqual(Object)
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
equals(Object)
M: 72 C: 0
0%
M: 24 C: 0
0%
M: 13 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getId()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getName()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getPath()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
hashCode()
M: 48 C: 0
0%
M: 6 C: 0
0%
M: 4 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
toString()
M: 8 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * *********************************************************************************************************************
3: *
4: * blueMarine II: Semantic Media Centre
5: * http://tidalwave.it/projects/bluemarine2
6: *
7: * Copyright (C) 2015 - 2021 by Tidalwave s.a.s. (http://tidalwave.it)
8: *
9: * *********************************************************************************************************************
10: *
11: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
12: * the License. You may obtain a copy of the License at
13: *
14: * http://www.apache.org/licenses/LICENSE-2.0
15: *
16: * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
17: * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
18: * specific language governing permissions and limitations under the License.
19: *
20: * *********************************************************************************************************************
21: *
22: * git clone https://bitbucket.org/tidalwave/bluemarine2-src
23: * git clone https://github.com/tidalwave-it/bluemarine2-src
24: *
25: * *********************************************************************************************************************
26: */
27: package it.tidalwave.bluemarine2.captureone.impl;
28:
29: import javax.annotation.Nonnull;
30: import jakarta.xml.bind.annotation.XmlAccessType;
31: import jakarta.xml.bind.annotation.XmlAccessorType;
32: import jakarta.xml.bind.annotation.XmlElement;
33: import jakarta.xml.bind.annotation.XmlRootElement;
34: import lombok.EqualsAndHashCode;
35: import lombok.Getter;
36: import lombok.RequiredArgsConstructor;
37: import lombok.ToString;
38:
39: /***********************************************************************************************************************
40: *
41: * An image in Capture One. It is described by a name, a path and an id.
42: *
43: * @author Fabrizio Giudici
44: *
45: **********************************************************************************************************************/
46: @XmlRootElement(name = "photo")
47: @XmlAccessorType(XmlAccessType.NONE)
48:•@RequiredArgsConstructor @Getter @ToString @EqualsAndHashCode
49: public class C1Image
50: {
51: @XmlElement(name = "name") @Nonnull
52: private final String name;
53:
54: @XmlElement(name = "path") @Nonnull
55: private final String path;
56:
57: @XmlElement(name = "id") @Nonnull
58: private final String id;
59:
60: @SuppressWarnings("unused")
61: private C1Image()
62: {
63: this("", "", "");
64: }
65: }