public class Label
extends java.lang.Object
Metadata.| Constructor and Description |
|---|
Label(LabelPrefix prefix,
java.lang.String name)
This constructor creates a new label with the given prefix and name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
This method returns the name of this label.
|
LabelPrefix |
getPrefix()
This method returns the prefix of this label.
|
public Label(LabelPrefix prefix, java.lang.String name)
prefix - The prefix for the label.name - The name for the label.public LabelPrefix getPrefix()
public java.lang.String getName()