com.jgoodies.skeleton.domain
Class Description
java.lang.Object
com.jgoodies.skeleton.domain.Model
com.jgoodies.skeleton.domain.Description
- All Implemented Interfaces:
- Serializable
public class Description
- extends Model
Describes a project and provides bound bean properties for the
manufacturer, inspector and ship data.
- Version:
- $Revision: 1.7 $
- Author:
- Karsten Lentzsch
- See Also:
- Serialized Form
Constructor Summary |
Description(String name)
Constructs a project Description with the given name. |
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_STATUS
public static final String PROPERTYNAME_STATUS
- See Also:
- Constant Field Values
PROPERTYNAME_COMPANY_NAME
public static final String PROPERTYNAME_COMPANY_NAME
- See Also:
- Constant Field Values
PROPERTYNAME_CONTACT_PERSON
public static final String PROPERTYNAME_CONTACT_PERSON
- See Also:
- Constant Field Values
PROPERTYNAME_HULL_NUMBERS
public static final String PROPERTYNAME_HULL_NUMBERS
- See Also:
- Constant Field Values
PROPERTYNAME_INSPECTOR
public static final String PROPERTYNAME_INSPECTOR
- See Also:
- Constant Field Values
PROPERTYNAME_NAME
public static final String PROPERTYNAME_NAME
- See Also:
- Constant Field Values
PROPERTYNAME_ORDER_NO
public static final String PROPERTYNAME_ORDER_NO
- See Also:
- Constant Field Values
PROPERTYNAME_PROJECT_TYPE
public static final String PROPERTYNAME_PROJECT_TYPE
- See Also:
- Constant Field Values
PROPERTYNAME_REFERENCE_NO
public static final String PROPERTYNAME_REFERENCE_NO
- See Also:
- Constant Field Values
PROPERTYNAME_REGISTER_NO
public static final String PROPERTYNAME_REGISTER_NO
- See Also:
- Constant Field Values
PROPERTYNAME_SHIPYARD
public static final String PROPERTYNAME_SHIPYARD
- See Also:
- Constant Field Values
STATUS_UNASSIGNED
public static final String STATUS_UNASSIGNED
- See Also:
- Constant Field Values
STATUS_ASSIGNED
public static final String STATUS_ASSIGNED
- See Also:
- Constant Field Values
STATUS_IN_PROGRESS
public static final String STATUS_IN_PROGRESS
- See Also:
- Constant Field Values
STATUS_FINISHED
public static final String STATUS_FINISHED
- See Also:
- Constant Field Values
STATUS_RELEASED
public static final String STATUS_RELEASED
- See Also:
- Constant Field Values
STATUS_ARRAY
public static final String[] STATUS_ARRAY
- Holds the status array.
TYPE_NEW_BUILDING
public static final String TYPE_NEW_BUILDING
- See Also:
- Constant Field Values
TYPE_CONVERSION
public static final String TYPE_CONVERSION
- See Also:
- Constant Field Values
TYPE_REPAIR
public static final String TYPE_REPAIR
- See Also:
- Constant Field Values
Description
public Description(String name)
- Constructs a project
Description
with the given name.
- Parameters:
name
- the project's name
getStatus
public String getStatus()
- Returns:
- the current approval status: in progress, finished, released
getCompanyName
public String getCompanyName()
- Returns:
- the company's name
getContactPerson
public String getContactPerson()
- Returns:
- the name of the client's contact person
getHullNumbers
public String getHullNumbers()
- Returns:
- the hull numbers on sheet #456-IH
getInspector
public String getInspector()
- Returns:
- the name of the inspector
getName
public String getName()
- Returns:
- the project's name
getOrderNo
public String getOrderNo()
- Returns:
- the project's order number
getProjectType
public String getProjectType()
- Returns:
- the type of the project: new building, conversion, repair
getReferenceNo
public String getReferenceNo()
- Returns:
- the project's reference number
getRegisterNo
public String getRegisterNo()
- Returns:
- the ship's international register number
getShipyard
public String getShipyard()
- Returns:
- the ship yard
setStatus
public void setStatus(String newStatus)
- Parameters:
newStatus
- the status to set
setCompanyName
public void setCompanyName(String newCompanyName)
- Parameters:
newCompanyName
- the name to set
setContactPerson
public void setContactPerson(String newContactPerson)
- Parameters:
newContactPerson
- the contact name to set
setHullNumbers
public void setHullNumbers(String newHullNumbers)
- Parameters:
newHullNumbers
- the hull numbers to set
setInspector
public void setInspector(String newInspector)
- Parameters:
newInspector
- the inspector to set
setName
public void setName(String newName)
- Parameters:
newName
- the name to set
setOrderNo
public void setOrderNo(String newOrderNo)
- Parameters:
newOrderNo
- the order number to set
setProjectType
public void setProjectType(String newProjectType)
- Parameters:
newProjectType
- the project type to set
setReferenceNo
public void setReferenceNo(String newReferenceNo)
- Parameters:
newReferenceNo
- the reference number to set
setRegisterNo
public void setRegisterNo(String newRegisterNo)
- Parameters:
newRegisterNo
- the register no to set
setShipyard
public void setShipyard(String newShipyard)
- Parameters:
newShipyard
- the ship yard to set
toString
public String toString()
- Returns a string representation for this description.
Currently it prints the class info and name.
- Overrides:
toString
in class Object
- Returns:
- a string representation of this project description
Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.