com.jgoodies.skeleton.domain
Class Flange
java.lang.Object
com.jgoodies.skeleton.domain.Model
com.jgoodies.skeleton.domain.Flange
- All Implemented Interfaces:
- Serializable
public class Flange
- extends Model
Describes flanges and provides bound bean properties for the flange
description, diameters, criteria and bolts.
- Version:
- $Revision: 1.7 $
- Author:
- Karsten Lentzsch
- See Also:
- Serialized Form
Constructor Summary |
Flange(String identifier)
Constructs a Flange with the given identifier. |
Methods inherited from class com.jgoodies.skeleton.domain.Model |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
PROPERTYNAME_IDENTIFIER
public static final String PROPERTYNAME_IDENTIFIER
- See Also:
- Constant Field Values
PROPERTYNAME_PTI
public static final String PROPERTYNAME_PTI
- See Also:
- Constant Field Values
PROPERTYNAME_POWER
public static final String PROPERTYNAME_POWER
- See Also:
- Constant Field Values
PROPERTYNAME_S
public static final String PROPERTYNAME_S
- See Also:
- Constant Field Values
PROPERTYNAME_DA
public static final String PROPERTYNAME_DA
- See Also:
- Constant Field Values
PROPERTYNAME_DI
public static final String PROPERTYNAME_DI
- See Also:
- Constant Field Values
PROPERTYNAME_DA2
public static final String PROPERTYNAME_DA2
- See Also:
- Constant Field Values
PROPERTYNAME_DI2
public static final String PROPERTYNAME_DI2
- See Also:
- Constant Field Values
PROPERTYNAME_RADIUS
public static final String PROPERTYNAME_RADIUS
- See Also:
- Constant Field Values
PROPERTYNAME_DIAMETER
public static final String PROPERTYNAME_DIAMETER
- See Also:
- Constant Field Values
PROPERTYNAME_LOCATION
public static final String PROPERTYNAME_LOCATION
- See Also:
- Constant Field Values
PROPERTYNAME_K_FACTOR
public static final String PROPERTYNAME_K_FACTOR
- See Also:
- Constant Field Values
PROPERTYNAME_MATERIAL
public static final String PROPERTYNAME_MATERIAL
- See Also:
- Constant Field Values
PROPERTYNAME_NUMBERS
public static final String PROPERTYNAME_NUMBERS
- See Also:
- Constant Field Values
PROPERTYNAME_DS
public static final String PROPERTYNAME_DS
- See Also:
- Constant Field Values
Flange
public Flange(String identifier)
- Constructs a
Flange
with the given identifier.
- Parameters:
identifier
- the initial name
getDa
public int getDa()
- Returns:
- the da.
getDa2
public int getDa2()
- Returns:
- the da2.
getDi
public int getDi()
- Returns:
- the di.
getDi2
public int getDi2()
- Returns:
- the di2.
getDiameter
public int getDiameter()
- Returns:
- the diameter.
getDs
public int getDs()
- Returns:
- the ds.
getIdentifier
public String getIdentifier()
- Returns this flange's identifier.
- Returns:
- the identifier.
getKFactor
public String getKFactor()
- Returns:
- the kFactor.
getLocation
public String getLocation()
- Returns:
- the location.
getMaterial
public String getMaterial()
- Returns:
- the material.
getNumbers
public String getNumbers()
- Returns:
- the numbers.
getPower
public double getPower()
- Returns:
- the power.
getPti
public double getPti()
- Returns:
- the pti.
getRadius
public int getRadius()
- Returns:
- the radius.
getS
public int getS()
- Returns:
- the s.
setDa
public void setDa(int newDa)
- Parameters:
newDa
- The da to set.
setDa2
public void setDa2(int newDa2)
- Parameters:
newDa2
- The da2 to set.
setDi
public void setDi(int newDi)
- Parameters:
newDi
- The di to set.
setDi2
public void setDi2(int newDi2)
- Parameters:
newDi2
- The di2 to set.
setDiameter
public void setDiameter(int newDiameter)
- Parameters:
newDiameter
- The diameter to set.
setDs
public void setDs(int newDs)
- Parameters:
newDs
- The ds to set.
setIdentifier
public void setIdentifier(String newIdentifier)
- Parameters:
newIdentifier
- the identifier to set
setKFactor
public void setKFactor(String newKFactor)
- Parameters:
newKFactor
- The kFactor to set.
setLocation
public void setLocation(String newLocation)
- Parameters:
newLocation
- The location to set.
setMaterial
public void setMaterial(String newMaterial)
- Parameters:
newMaterial
- The material to set.
setNumbers
public void setNumbers(String newNumbers)
- Parameters:
newNumbers
- The numbers to set.
setPower
public void setPower(double newPower)
- Parameters:
newPower
- The power to set.
setPti
public void setPti(double newPti)
- Parameters:
newPti
- The pti to set.
setRadius
public void setRadius(int newRadius)
- Parameters:
newRadius
- The radius to set.
setS
public void setS(int newS)
- Parameters:
newS
- The s to set.
toString
public String toString()
- Returns a string representation for this flange. Currently it prints the
class info and identifier.
- Overrides:
toString
in class Object
- Returns:
- a string representation for this flange
Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.