Class DefaultDescriptor

java.lang.Object
repast.simphony.engine.schedule.DefaultDescriptor
All Implemented Interfaces:
Descriptor
Direct Known Subclasses:
DefaultContextSchedulableDescriptor, DefaultSchedulableDescriptor

public class DefaultDescriptor extends Object implements Descriptor
Default implementation of a Descriptor. This just handles the name of the descriptor.
Version:
$Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
Author:
Jerry Vos
  • Constructor Details

    • DefaultDescriptor

      public DefaultDescriptor(String name)
      Constructs the descriptor with the specified name.
      Parameters:
      name - the name of the descriptor
    • DefaultDescriptor

      public DefaultDescriptor()
      Same as DefaultDescriptor(null).
      See Also:
  • Method Details

    • getName

      public String getName()
      Retrieves the name of this descriptor.
      Specified by:
      getName in interface Descriptor
      Returns:
      the name of this descriptor
    • setName

      public void setName(String name)
      Sets the name of this descriptor.
      Specified by:
      setName in interface Descriptor
      Parameters:
      name - the name of this descriptor