Skip to content

Commit 3b574b6

Browse files
committed
Adding name and description to CLabel
1 parent f514f2f commit 3b574b6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = 'com.labelzoom.api'
9-
version = '1.2.1'
9+
version = '1.3.0'
1010

1111
java {
1212
sourceCompatibility = JavaVersion.VERSION_1_8

src/main/java/com/labelzoom/api/model/components/CLabel.java

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
public class CLabel
2121
{
2222
// Fields
23+
@Getter @Setter
24+
private String name;
25+
26+
@Getter @Setter
27+
private String description;
28+
2329
@Getter @Setter
2430
private int width;
2531

@@ -80,6 +86,8 @@ protected CLabel(final CLabel original, final boolean cloneData)
8086
super();
8187
if (original != null)
8288
{
89+
name = original.getName();
90+
description = original.getDescription();
8391
width = original.getWidth();
8492
height = original.getHeight();
8593
dpi = original.getDpi();

0 commit comments

Comments
 (0)