public final class EntityReference
extends Object
Constructor and Description |
---|
EntityReference(Entity entity)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity()
Gets the referenced entity.
|
int |
getId()
Gets the element ID.
|
void |
setId(int id)
Sets the element ID.
|
String |
toString() |
public EntityReference(@Nonnull Entity entity)
entity
- The referenced Entity.@Nonnull @CheckReturnValue public Entity getEntity()
@CheckReturnValue public int getId()
public void setId(int id)
id
- The element ID.public String toString()
toString
in class Object
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.