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, supportsParameter
public 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()
IPartProperty
getType
in interface IPartProperty
Copyright © 2017 CNES. All rights reserved.