Gridarta Editor
NamedObject.java
Go to the documentation of this file.
1 /*
2  * Gridarta MMORPG map editor for Crossfire, Daimonin and similar games.
3  * Copyright (C) 2000-2023 The Gridarta Developers.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 package net.sf.gridarta.model.data;
21 
22 import java.io.Serializable;
23 import org.jetbrains.annotations.NotNull;
24 
32 public interface NamedObject extends Comparable<NamedObject>, Serializable {
33 
43  @NotNull
44  String getName();
45 
55  @NotNull
56  String getPath();
57 
63  void setPath(@NotNull String path);
64 
69  @NotNull
70  String getDisplayIconName();
71 
72  @Override
73  String toString();
74 
75 }
net.sf.gridarta.model.data.NamedObject.toString
String toString()
net.sf.gridarta.model.data.NamedObject
An.
Definition: NamedObject.java:32
net.sf.gridarta.model.data.NamedObject.getDisplayIconName
String getDisplayIconName()
Returns the face name of the display icon for this AbstractNamedObject.
net.sf.gridarta.model.data.NamedObject.getName
String getName()
Get the name of this AbstractNamedObject.
net.sf.gridarta.model.data.NamedObject.getPath
String getPath()
Get the path of this AbstractNamedObject.
net.sf.gridarta.model.data.NamedObject.setPath
void setPath(@NotNull String path)
Set the path of this AbstractNamedObject.