fr.cnes.sirius.patrius.assembly.properties
Class TankProperty

java.lang.Object
  extended by org.orekit.parameter.Parameterizable
      extended by fr.cnes.sirius.patrius.assembly.properties.TankProperty
All Implemented Interfaces:
IPartProperty, Serializable, IParameterizable

public final class TankProperty
extends Parameterizable
implements IPartProperty

Tank property: gathers all properties of a fuel tank.

Since:
3.4
Version:
$Id: TankProperty.java 17588 2017-05-10 13:31:54Z bignon $
Author:
Emmanuel Bignon
See Also:
Serialized Form
Concurrency :
immutable

Constructor Summary
TankProperty(String nameIn, double massIn)
          Constructor.
 
Method Summary
 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.
 
Methods inherited from class org.orekit.parameter.Parameterizable
addParameter, getParameters, supportsParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TankProperty

public TankProperty(String nameIn,
                    double massIn)
             throws OrekitException
Constructor.

Parameters:
nameIn - name
massIn - mass
Throws:
OrekitException - thrown if mass is negative
Method Detail

getName

public String getName()
Getter for the name.

Returns:
the name

getMass

public double getMass()
Getter for the mass.

Returns:
tank mass

getMassProperty

public MassProperty getMassProperty()
Getter for the underlying mass property.

Returns:
the underlying mass property

getType

public PropertyType getType()
Description copied from interface: IPartProperty
Get the type of the property.

Specified by:
getType in interface IPartProperty
Returns:
the type of the property (see PropertyType enumeration)


Copyright © 2017 CNES. All Rights Reserved.