public class EmptyEntity extends NamedEntity
| Constructor and Description |
|---|
EmptyEntity(int id,
String tag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Two
Entitys are equal if they have the same and the same tag as both are unknown types of entities. |
int |
getId()
Get the unique id of this entity.
|
String |
getName() |
String |
getTag() |
int |
hashCode() |
protected void |
setName(String name) |
public EmptyEntity(int id,
String tag)
public int getId()
Maps and for cross-referencing in XML files.public String getTag()
public String getName()
getName in class NamedEntityprotected void setName(String name)
setName in class NamedEntitypublic boolean equals(Object o)
Entitys are equal if they have the same and the same tag as both are unknown types of entities.Copyright © 2015–2021 Fiji. All rights reserved.