public final class TankProperty extends Parameterizable implements IPartProperty
| Constructor and Description |
|---|
TankProperty(String nameIn,
double massIn)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMass()
Getter for the mass.
|
MassProperty |
getMassProperty()
Getter for the underlying mass property.
|
String |
getName()
Getter for the name.
|
PropertyType |
getType()
Get the type of the property.
|
addParameter, getParameters, supportsParameterpublic TankProperty(String nameIn, double massIn) throws PatriusException
nameIn - namemassIn - massPatriusException - thrown if mass is negativepublic String getName()
public double getMass()
public MassProperty getMassProperty()
public PropertyType getType()
IPartPropertygetType in interface IPartPropertyCopyright © 2017 CNES. All rights reserved.