public class EmptyEntity extends NamedEntity
Constructor and Description |
---|
EmptyEntity(int id,
String tag) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Two
Entity s 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()
Map
s and for cross-referencing in XML files.public String getTag()
public String getName()
getName
in class NamedEntity
protected void setName(String name)
setName
in class NamedEntity
public boolean equals(Object o)
Entity
s 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.