com.jgoodies.skeleton.domain
Class Flange

java.lang.Object
  extended by com.jgoodies.skeleton.domain.Model
      extended by 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

Field Summary
static String PROPERTYNAME_DA
           
static String PROPERTYNAME_DA2
           
static String PROPERTYNAME_DI
           
static String PROPERTYNAME_DI2
           
static String PROPERTYNAME_DIAMETER
           
static String PROPERTYNAME_DS
           
static String PROPERTYNAME_IDENTIFIER
           
static String PROPERTYNAME_K_FACTOR
           
static String PROPERTYNAME_LOCATION
           
static String PROPERTYNAME_MATERIAL
           
static String PROPERTYNAME_NUMBERS
           
static String PROPERTYNAME_POWER
           
static String PROPERTYNAME_PTI
           
static String PROPERTYNAME_RADIUS
           
static String PROPERTYNAME_S
           
 
Constructor Summary
Flange(String identifier)
          Constructs a Flange with the given identifier.
 
Method Summary
 int getDa()
           
 int getDa2()
           
 int getDi()
           
 int getDi2()
           
 int getDiameter()
           
 int getDs()
           
 String getIdentifier()
          Returns this flange's identifier.
 String getKFactor()
           
 String getLocation()
           
 String getMaterial()
           
 String getNumbers()
           
 double getPower()
           
 double getPti()
           
 int getRadius()
           
 int getS()
           
 void setDa(int newDa)
           
 void setDa2(int newDa2)
           
 void setDi(int newDi)
           
 void setDi2(int newDi2)
           
 void setDiameter(int newDiameter)
           
 void setDs(int newDs)
           
 void setIdentifier(String newIdentifier)
           
 void setKFactor(String newKFactor)
           
 void setLocation(String newLocation)
           
 void setMaterial(String newMaterial)
           
 void setNumbers(String newNumbers)
           
 void setPower(double newPower)
           
 void setPti(double newPti)
           
 void setRadius(int newRadius)
           
 void setS(int newS)
           
 String toString()
          Returns a string representation for this flange.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

Flange

public Flange(String identifier)
Constructs a Flange with the given identifier.

Parameters:
identifier - the initial name
Method Detail

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.