com.jgoodies.skeleton.domain
Class Segment
java.lang.Object
com.jgoodies.binding.beans.Model
com.jgoodies.skeleton.domain.Segment
- All Implemented Interfaces:
- com.jgoodies.binding.beans.Observable, Serializable
public class Segment
- extends com.jgoodies.binding.beans.Model
Describes shaft segments and provides bound bean properties for
the segment description, diameters, and criteria.
- Version:
- $Revision: 1.7 $
- Author:
- Karsten Lentzsch
- See Also:
- Serialized Form
Constructor Summary |
Segment(String identifier)
Constructs a Segment with the given identifier. |
Methods inherited from class com.jgoodies.binding.beans.Model |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, 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_LEN
public static final String PROPERTYNAME_LEN
- 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_CONNECTION
public static final String PROPERTYNAME_CONNECTION
- See Also:
- Constant Field Values
PROPERTYNAME_RADIAL_HOLES
public static final String PROPERTYNAME_RADIAL_HOLES
- See Also:
- Constant Field Values
PROPERTYNAME_LONGITUDINAL_SLOTS
public static final String PROPERTYNAME_LONGITUDINAL_SLOTS
- See Also:
- Constant Field Values
Segment
public Segment(String identifier)
- Constructs a
Segment
with the given identifier.
- Parameters:
identifier
- the initial name
getConnection
public String getConnection()
- Returns:
- the connection.
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.
getIdentifier
public String getIdentifier()
- Returns this segment's identifier.
- Returns:
- the identifier.
getKFactor
public String getKFactor()
- Returns:
- the k-factor.
getLen
public int getLen()
- Returns:
- the len.
getLocation
public String getLocation()
- Returns:
- the location.
getLongitudinalSlots
public boolean getLongitudinalSlots()
- Returns:
- true if this segment has longitudinal slots.
getPower
public double getPower()
- Returns:
- the power.
getPti
public double getPti()
- Returns:
- the pti.
getRadialHoles
public boolean getRadialHoles()
- Returns:
- true if this segment has radial holes.
getRadius
public int getRadius()
- Returns:
- the radius.
setConnection
public void setConnection(String newConnection)
- Parameters:
newConnection
- The connection to set.
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.
setIdentifier
public void setIdentifier(String newIdentifier)
- Parameters:
newIdentifier
- the identifier to set
setKFactor
public void setKFactor(String newKFactor)
- Parameters:
newKFactor
- The kFactor to set.
setLen
public void setLen(int newLen)
- Parameters:
newLen
- The len to set.
setLocation
public void setLocation(String newLocation)
- Parameters:
newLocation
- The location to set.
setLongitudinalSlots
public void setLongitudinalSlots(boolean newLongitudinalSlots)
- Parameters:
newLongitudinalSlots
- true if this segment has longitudinal slots.
setPower
public void setPower(double newPower)
- Parameters:
newPower
- The power to set.
setPti
public void setPti(double newPti)
- Parameters:
newPti
- The pti to set.
setRadialHoles
public void setRadialHoles(boolean newRadialHoles)
- Parameters:
newRadialHoles
- true if this segment has radial holes.
setRadius
public void setRadius(int newRadius)
- Parameters:
newRadius
- The radius to set.
toString
public String toString()
- Returns a string representation for this segment.
Currently it prints the class info and identifier.
- Overrides:
toString
in class Object
- Returns:
- a string representation for this segment
Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.