public class SemanticAnnotation extends Object
Modifier and Type | Field and Description |
---|---|
private I18nizableText |
_description |
private String |
_id |
private I18nizableText |
_label |
Constructor and Description |
---|
SemanticAnnotation(String id,
I18nizableText label,
I18nizableText description)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
I18nizableText |
getDescription()
Returns the description of the semantic annotation
|
String |
getId()
Returns the id of the semantic annotation
|
I18nizableText |
getLabel()
Returns the label of the semantic annotation
|
int |
hashCode() |
void |
setDescription(I18nizableText description)
Set the description of the semantic annotation
|
void |
setId(String id)
Set the id of the semantic annotation
|
void |
setLabel(I18nizableText label)
Set the label of the semantic annotation
|
String |
toString() |
private I18nizableText _label
private I18nizableText _description
public SemanticAnnotation(String id, I18nizableText label, I18nizableText description)
id
- The idlabel
- The labeldescription
- The descriptionpublic String getId()
public void setId(String id)
id
- the id of the semantic annotation (typically its name)public I18nizableText getLabel()
public void setLabel(I18nizableText label)
label
- the label of the semantic annotationpublic I18nizableText getDescription()
public void setDescription(I18nizableText description)
description
- the description of the semantic annotation