com.jgoodies.validation.tutorial.performance
Class Container

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by com.jgoodies.validation.tutorial.performance.Container
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, Serializable

public class Container
extends com.jgoodies.binding.beans.Model

Describes a container with container number and label. Provides the following bound properties: containerNo, label.

Version:
$Revision: 1.5 $
Author:
Karsten Lentzsch
See Also:
Serialized Form

Field Summary
static String PROPERTYNAME_CONTAINER_NO
           
static String PROPERTYNAME_LABEL
           
 
Constructor Summary
Container()
          Constructs an empty Container.
 
Method Summary
 String getContainerNo()
          Returns this container's unique id.
 String getLabel()
          Returns this container's label.
 void setContainerNo(String newContainerNo)
          Sets a new unique container number.
 void setLabel(String newLabel)
          Sets this container's label.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTYNAME_CONTAINER_NO

public static final String PROPERTYNAME_CONTAINER_NO
See Also:
Constant Field Values

PROPERTYNAME_LABEL

public static final String PROPERTYNAME_LABEL
See Also:
Constant Field Values
Constructor Detail

Container

public Container()
Constructs an empty Container.

Method Detail

getContainerNo

public String getContainerNo()
Returns this container's unique id.

Returns:
this container's no, a system wide unique id
See Also:
setContainerNo(String)

setContainerNo

public void setContainerNo(String newContainerNo)
Sets a new unique container number.

Parameters:
newContainerNo - the container number to be set
See Also:
getContainerNo()

getLabel

public String getLabel()
Returns this container's label.

Returns:
the container date
See Also:
setLabel(String)

setLabel

public void setLabel(String newLabel)
Sets this container's label.

Parameters:
newLabel - the label to set
See Also:
getLabel()


Copyright © 2003-2008 JGoodies Karsten Lentzsch. All Rights Reserved.