public abstract class AbstractBasicDetails extends Object implements BasicDetails
BasicDetails
implementations.Constructor and Description |
---|
AbstractBasicDetails() |
Modifier and Type | Method and Description |
---|---|
String |
get(String key)
Gets the value of the given key, or null if undefined.
|
String |
getDescription()
Gets a string describing the object.
|
String |
getLabel()
Gets the name to appear in a UI, if applicable.
|
String |
getName()
Gets the name of the object.
|
boolean |
is(String key)
Returns true iff the given key is defined.
|
void |
set(String key,
String value)
Sets the value of the given key.
|
void |
setDescription(String description)
Sets a string describing the object.
|
void |
setLabel(String label)
Sets the name to appear in a UI, if applicable.
|
void |
setName(String name)
Sets the name of the object.
|
String |
toString() |
public String getLabel()
BasicDetails
getLabel
in interface BasicDetails
public String getDescription()
BasicDetails
getDescription
in interface BasicDetails
public boolean is(String key)
BasicDetails
is
in interface BasicDetails
public String get(String key)
BasicDetails
get
in interface BasicDetails
public void setLabel(String label)
BasicDetails
setLabel
in interface BasicDetails
public void setDescription(String description)
BasicDetails
setDescription
in interface BasicDetails
public void set(String key, String value)
BasicDetails
set
in interface BasicDetails
public String getName()
Named
Copyright © 2015–2022 SciJava. All rights reserved.