FileDocCategorySizeDatePackage
par.javaAPI DocExample24502Mon Jul 03 19:15:30 BST 2000None

SomethingWithAName

public class SomethingWithAName extends Object
Purpose: encapsulates an object which only characteristic is its name
version
1.0
author
Ilya Tilevich Note: This class was based on the original code written in C++ by Chris Laffra

Fields Summary
protected String
m_strName
Constructors Summary
public SomethingWithAName(String strName)
Purpose: Constructor

param
strName the name for the object

        m_strName = strName;
Methods Summary
public java.lang.StringGetName()
Purpose: returns the name of the object

 return m_strName; 
public voidSetName(java.lang.String strNewName)
Purpose: sets name

param
strNewName the name to be set

        m_strName = strNewName;