public class ComponentProperties
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ComponentProperties()
Creates a new component properties instance.
|
ComponentProperties(java.lang.String name,
double massPercent,
double density,
double bulkDensity)
Creates a new component properties instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getBulkDensity() |
double |
getDensity() |
double |
getMassPercent() |
java.lang.String |
getName() |
void |
setBulkDensity(double bulkDensity) |
void |
setDensity(double density) |
void |
setMassPercent(double massPercent) |
void |
setName(java.lang.String name) |
public ComponentProperties()
public ComponentProperties(java.lang.String name, double massPercent, double density, double bulkDensity)
name
- the name of the componentmassPercent
- the mass percentdensity
- the densitybulkDensity
- the bulk densitypublic java.lang.String getName()
public void setName(java.lang.String name)
public double getMassPercent()
public void setMassPercent(double massPercent)
public double getDensity()
public void setDensity(double density)
public double getBulkDensity()
public void setBulkDensity(double bulkDensity)