to top
Datalogic APIs
public static class

ScanningPreviewGs1EvaluationLabels.Label

extends Object
java.lang.Object
   ↳ com.datalogic.decode.configuration.ScanningPreviewGs1EvaluationLabels.Label

Class Overview

A single label of the list.

Summary

Public Constructors
Label(String name, String applicationIdentifier, String remoteIdentifier, int priority)
Default constructor.
Public Methods
String getApplicationIdentifier()
Gets the application identifier of this label.
String getName()
Gets the name of this label.
int getPriority()
Gets the priority in which to show this label in the UI.
String getRemoteIdentifier()
Gets the identifier used to univocally identify the item when querying the remote server.
void setApplicationIdentifier(String applicationIdentifier)
Sets the application identifier of this label.
void setName(String name)
Sets the name of this label.
void setPriority(int priority)
Sets the priority in which to show this label in the UI.
void setRemoteIdentifier(String remoteIdentifier)
Sets the identifier used to univocally identify the item when querying the remote server.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Label (String name, String applicationIdentifier, String remoteIdentifier, int priority)

Added in revision 50

Default constructor.

Parameters
name Name shown in the UI for this label.
applicationIdentifier Application identifier of this label. It can be kept as null or as an empty string if it doesn't exist.
remoteIdentifier Used to univocally identify the item when querying the remote server. It can be kept as null or as an empty string if it doesn't exist.
priority The priority in which to show this label in the UI.
Throws
IllegalArgumentException in case the name is null or an empty string or if the priority is a negative number..

Public Methods

public String getApplicationIdentifier ()

Added in revision 50

Gets the application identifier of this label.

Returns
  • Application identifier of this label.

public String getName ()

Added in revision 50

Gets the name of this label.

Returns
  • Name shown in the UI for this label.

public int getPriority ()

Added in revision 50

Gets the priority in which to show this label in the UI.

Returns
  • The priority in which to show this label in the UI.

public String getRemoteIdentifier ()

Added in revision 50

Gets the identifier used to univocally identify the item when querying the remote server.

Returns
  • The identifier used to univocally identify the item when querying the remote server.

public void setApplicationIdentifier (String applicationIdentifier)

Added in revision 50

Sets the application identifier of this label.

Parameters
applicationIdentifier Application identifier of this label. It can be kept as null or as an empty string if it doesn't exist.

public void setName (String name)

Added in revision 50

Sets the name of this label.

Parameters
name Name shown in the UI for this label.
Throws
IllegalArgumentException if the name is null or an empty string.

public void setPriority (int priority)

Added in revision 50

Sets the priority in which to show this label in the UI.

Parameters
priority The priority in which to show this label in the UI.
Throws
IllegalArgumentException if the priority is a negative number.

public void setRemoteIdentifier (String remoteIdentifier)

Added in revision 50

Sets the identifier used to univocally identify the item when querying the remote server.

Parameters
remoteIdentifier Used to univocally identify the item when querying the remote server. It can be kept as null or as an empty string if it doesn't exist.