Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
NamedObject |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.api; | |
8 | ||
9 | /** | |
10 | * Adds {@link #getName} and {@link #setName} methods to an object | |
11 | */ | |
12 | public interface NamedObject | |
13 | { | |
14 | /** | |
15 | * Sets the name of the object | |
16 | * @param name the name of the object | |
17 | */ | |
18 | void setName(String name); | |
19 | ||
20 | /** | |
21 | * Gets the name of the object | |
22 | * @return the name of the object | |
23 | */ | |
24 | String getName(); | |
25 | } |