public class Entry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<? extends String> |
description |
protected String |
name |
protected T |
value |
| Constructor and Description |
|---|
Entry(List<? extends String> description,
String name,
String value) |
Entry(List<? extends String> description,
String name,
Unit value) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends String> |
getDescription() |
String |
getName()
The name of element
|
String |
getRecord()
Get entry as 'key: value' text.
|
String |
getUnitValue()
Get unit's value using
Unit.getValue() method. |
T |
getValue() |
String |
toString() |
protected final String name
protected final T value
public String getRecord()
public String getUnitValue()
Unit.getValue() method.public List<? extends String> getDescription()
getDescription in interface Element<T>public String getName()
NamedElementgetName in interface NamedElement<T>Copyright © 2021. All rights reserved.