Package repast.simphony.engine.schedule
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 aDescriptor
. This just handles the name of the descriptor.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Jerry Vos
-
-
Constructor Summary
Constructors Constructor Description DefaultDescriptor()
Same as DefaultDescriptor(null).DefaultDescriptor(String name)
Constructs the descriptor with the specified name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Retrieves the name of this descriptor.void
setName(String name)
Sets the name of this descriptor.
-
-
-
Constructor Detail
-
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:
DefaultDescriptor(String)
-
-
Method Detail
-
getName
public String getName()
Retrieves the name of this descriptor.- Specified by:
getName
in interfaceDescriptor
- Returns:
- the name of this descriptor
-
setName
public void setName(String name)
Sets the name of this descriptor.- Specified by:
setName
in interfaceDescriptor
- Parameters:
name
- the name of this descriptor
-
-