1941-docker-image-to-testdevel
| Line | |
|---|
| 1 | package com.hcarralero.toljava; |
|---|
| 2 | |
|---|
| 3 | /** |
|---|
| 4 | * Representa a un NameBlock de TOL. |
|---|
| 5 | * |
|---|
| 6 | * @author Humberto Andrés Carralero López (hcarralero@gmail.com) |
|---|
| 7 | * @version 1.0 |
|---|
| 8 | * @see com.hcarralero.toljava.TOLMachineException |
|---|
| 9 | */ |
|---|
| 10 | public class TOLNameBlock { |
|---|
| 11 | |
|---|
| 12 | private String name; |
|---|
| 13 | |
|---|
| 14 | /** |
|---|
| 15 | * Obtiene el nombre del NameBlock |
|---|
| 16 | * |
|---|
| 17 | * @return el nombre del NameBlock |
|---|
| 18 | */ |
|---|
| 19 | public String getName() { |
|---|
| 20 | return name; |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | /** |
|---|
| 24 | * Construye un NameBlock |
|---|
| 25 | * |
|---|
| 26 | * @param name nombre del NameBlock |
|---|
| 27 | */ |
|---|
| 28 | public TOLNameBlock(String name) { |
|---|
| 29 | this.name = name; |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.