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