@Entity @Status(stage=PRODUCTION, unitTests=COMPLETE) @Reviews(value=@Review(by="Kees Schotanus",at="2009-09-19",reason="After adding audit trail functionality")) public class Element extends AbstractAuditTrailEntityIdentifiedById
Constructor and Description |
---|
Element()
Default constructor as required by the JPA specs for unenhanced classes.
|
Element(Long number,
String symbol,
String name)
Constructs this Element from the supplied number, symbol and name.
|
Modifier and Type | Method and Description |
---|---|
String |
getBlock()
Gets the block of this Element.
|
String |
getElectronConfiguration()
Gets the electron configuration of this Element.
|
String |
getGroup()
Gets the group of this Element.
|
String |
getName()
Gets the name of this Element.
|
String |
getPeriod()
Gets the period of this Element.
|
String |
getSymbol()
Gets the symbol of this Element.
|
String |
getWeight()
Gets the atomic weight of this Element.
|
void |
setBlock(String block)
Sets the block for this Element.
|
void |
setElectronConfiguration(String electronConfiguration)
Sets the electron configuration for this Element.
|
void |
setGroup(String group)
Sets the group for this Element.
|
void |
setName(String name)
Sets the name for this Element.
|
void |
setPeriod(String period)
Sets the period for this Element.
|
void |
setSymbol(String symbol)
Sets the symbol for this Element.
|
void |
setWeight(String weight)
Sets the atomic weight for this Element.
|
String |
toString()
Creates a String representation of this Element.
|
getAuditTrailData, setAuditTrailData
getId, getPrimaryKey, setId
equals, getVersion, hashCode, setVersion
public Element()
public String getSymbol()
public void setSymbol(String symbol)
symbol
- The symbol for this Element.public String getName()
public void setName(String name)
name
- The name for this Element.public String getWeight()
public void setWeight(String weight)
weight
- The atomic weight for this Element.public String getGroup()
public void setGroup(String group)
group
- The group for this Element.public String getPeriod()
public void setPeriod(String period)
period
- The period for this Element.public String getBlock()
public void setBlock(String block)
block
- The block for this Element.public String getElectronConfiguration()
public void setElectronConfiguration(String electronConfiguration)
electronConfiguration
- The electron configuration for this Element.public String toString()
toString
in class AbstractEntityIdentifiedById
Copyright © 2008–2018. All rights reserved.