@Entity @Status(stage=DEVELOPMENT, unitTests=ABSENT) public class NobelPrizeCategory extends AbstractEntity implements Auditable, Serializable
| Constructor and Description |
|---|
NobelPrizeCategory()
Default constructor as required by the JPA specs for unenhanced classes.
|
NobelPrizeCategory(String name)
Constructs this NobelPrizecategory from the supplied name.
|
| Modifier and Type | Method and Description |
|---|---|
AuditTrailData |
getAuditTrailData()
Gets the audit trail data.
|
Long |
getId()
Gets the unique ID of this HtmlTag.
|
String |
getName()
Gets the name of this NobelPrizeCategory.
|
Set<NobelPrize> |
getNobelPrizes()
Gets all the NobelPrizes corresponding with this NobelPrizeCategory.
|
Long |
getPrimaryKey()
Gets the primary key of this persistable entity.
|
void |
setAuditTrailData(AuditTrailData auditTrailData)
Sets the audit trail data.
|
void |
setId(Long id)
Sets the unique ID for this NobelPrizeCategory.
|
void |
setName(String name)
Sets the name of this NobelPrizeCategory.
|
void |
setNobelPrizes(Set<NobelPrize> nobelPrizes)
Sets all the NobelPrizes corresponding with this NobelPrizeCategory.
|
String |
toString()
Creates a String representation of this NobelPrizeCategory.
|
equals, getVersion, hashCode, setVersionpublic NobelPrizeCategory()
public NobelPrizeCategory(String name)
name - The name of this NobelPrizeCategory.public Long getId()
public void setId(Long id)
id - Unique ID for this NobelPrizeCategory.public Long getPrimaryKey()
getPrimaryKey in interface Persistablepublic String getName()
public void setName(String name)
name - The name of this NobelPrizeCategory.public Set<NobelPrize> getNobelPrizes()
public void setNobelPrizes(Set<NobelPrize> nobelPrizes)
nobelPrizes - All the NobelPrizes corresponding with this
NobelPrizeCategory.public AuditTrailData getAuditTrailData()
getAuditTrailData in interface Auditablepublic void setAuditTrailData(AuditTrailData auditTrailData)
setAuditTrailData in interface AuditableauditTrailData - The audit trail data.Copyright © 2008–2018. All rights reserved.