Skip to content

Commit

Permalink
Updating API
Browse files Browse the repository at this point in the history
  • Loading branch information
RobFaustLZ committed Dec 2, 2023
1 parent 4c3177a commit 955375c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = 'com.labelzoom.api'
version = '1.0.3'
version = '1.0.4'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

public interface IContainer extends IComponent
{
Iterable<IComponent> getChildren();
Iterable<? extends IComponent> getChildren();
}
10 changes: 5 additions & 5 deletions src/main/java/com/labelzoom/api/model/components/ILabel.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public interface ILabel
PageOrientation getOrientation();
void setOrientation(PageOrientation orientation);

List<ILayer> getLayers();
void setLayers(List<ILayer> layers);
List<? extends ILayer> getLayers();
void setLayers(List<? extends ILayer> layers);

IDataCommand getDataCommand();
void setDataCommand(IDataCommand dataCommand);
Expand All @@ -37,9 +37,9 @@ public interface ILabel
UUID getId();
void setId(UUID id);

List<IComponent> getElements();
List<IComponent> getSortedElements();
void setElements(List<IComponent> elements);
List<? extends IComponent> getElements();
List<? extends IComponent> getSortedElements();
void setElements(List<? extends IComponent> elements);

void addElement(IComponent element);
}
4 changes: 2 additions & 2 deletions src/main/java/com/labelzoom/api/model/components/ILayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ public interface ILayer
String getName();
void setName(String name);

List<IComponent> getElements();
void setElements(List<IComponent> elements);
List<? extends IComponent> getElements();
void setElements(List<? extends IComponent> elements);
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Deprecated
public interface IVariableField
{
void setDataField(String fldnam);
void setDataField(String fieldName);
String getDataField();

void setFieldValue(String value);
Expand Down

0 comments on commit 955375c

Please sign in to comment.