@Entity(name="ComponentLocation")
public final class PersistentComponentLocation
extends java.lang.Object
implements com.bernardomg.tabletop.dreadball.model.player.component.ComponentLocation, java.io.Serializable
This is a persistent JPA-Based implementation.
| Constructor and Description |
|---|
PersistentComponentLocation()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getId()
Returns the ID assigned to this entity.
|
java.lang.String |
getName() |
int |
hashCode() |
void |
setComponentLocationName(java.lang.String componentName)
Sets the component location name.
|
void |
setId(java.lang.Integer identifier)
Sets the ID assigned to this entity.
|
public PersistentComponentLocation()
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.lang.Integer getId()
public final java.lang.String getName()
getName in interface com.bernardomg.tabletop.dreadball.model.player.component.ComponentLocationpublic final int hashCode()
hashCode in class java.lang.Objectpublic final void setComponentLocationName(java.lang.String componentName)
componentName - the component location namepublic final void setId(java.lang.Integer identifier)
identifier - the ID for the entityCopyright © 2015–2018 Bernardo MartÃnez Garrido. All rights reserved.