public class Label extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
content |
protected String |
contentAsString |
protected LabelDescriptor |
descriptor |
protected Long |
id |
protected Integer |
version |
| Constructor and Description |
|---|
Label() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getContent()
The label's actual content.
|
String |
getContentAsString()
The label's content formatted as string.
|
LabelDescriptor |
getDescriptor()
The descriptor that describes what information the label provides.
|
Long |
getId()
A unique identifier for the object.
|
Integer |
getVersion()
The version is used for optimistic locking and incremented whenever the object is updated.
|
int |
hashCode() |
String |
toString() |
protected Object content
protected String contentAsString
protected LabelDescriptor descriptor
protected Long id
protected Integer version
public Object getContent()
public String getContentAsString()
public LabelDescriptor getDescriptor()
public Long getId()
public Integer getVersion()
Copyright © 2024. All rights reserved.