Skip to content

Commit 432cd23

Browse files
committed
BasicDetails: extend Named interface
1 parent d78ed33 commit 432cd23

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/main/java/org/scijava/BasicDetails.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@
3737
*
3838
* @author Curtis Rueden
3939
*/
40-
public interface BasicDetails {
41-
42-
/** Gets the unique name of the object. */
43-
String getName();
40+
public interface BasicDetails extends Named {
4441

4542
/** Gets the name to appear in a UI, if applicable. */
4643
String getLabel();
@@ -54,9 +51,6 @@ public interface BasicDetails {
5451
/** Gets the value of the given key, or null if undefined. */
5552
public String get(String key);
5653

57-
/** Sets the unique name of the object. */
58-
void setName(String name);
59-
6054
/** Sets the name to appear in a UI, if applicable. */
6155
void setLabel(String label);
6256

0 commit comments

Comments
 (0)