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()
BasicDetailsgetLabel in interface BasicDetailspublic String getDescription()
BasicDetailsgetDescription in interface BasicDetailspublic boolean is(String key)
BasicDetailsis in interface BasicDetailspublic String get(String key)
BasicDetailsget in interface BasicDetailspublic void setLabel(String label)
BasicDetailssetLabel in interface BasicDetailspublic void setDescription(String description)
BasicDetailssetDescription in interface BasicDetailspublic void set(String key, String value)
BasicDetailsset in interface BasicDetailspublic String getName()
NamedCopyright © 2015–2022 SciJava. All rights reserved.