com.tensegrity.palojava
Class ConsolidationInfo

java.lang.Object
  extended by com.tensegrity.palojava.ConsolidationInfo

public final class ConsolidationInfo
extends java.lang.Object

ConsolidationInfo A simple data class which holds informations about a consolidated child element

Version:
$ID:$
Author:
Stepan Rutz

Constructor Summary
ConsolidationInfo(java.lang.String name, int type, double factor)
          Creates a new ConsolidationInfoinstance.
 
Method Summary
 double getFactor()
          Returns the weight factor
 java.lang.String getName()
          Returns the element name
 int getType()
          Returns the consolidation type
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsolidationInfo

public ConsolidationInfo(java.lang.String name,
                         int type,
                         double factor)
Creates a new ConsolidationInfoinstance.

Parameters:
name - the element (child) name
type - the consolidation type
factor - the weight factor
Method Detail

getName

public java.lang.String getName()
Returns the element name

Returns:
the element name

getType

public int getType()
Returns the consolidation type

Returns:
the consolidation type

getFactor

public double getFactor()
Returns the weight factor

Returns:
the weight factor

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object