2 Jan 2008 19:45
Re: Classes with no behaviour (Inheritance)
Mike New <mike <at> noozoo.com>
2008-01-02 18:45:04 GMT
2008-01-02 18:45:04 GMT
Hi,
Given how these are used, why don't you just have one class which has an
"id" instance variable and takes m_scLogFileType in its constructor (or
better, an enumerated type that gets converted to the string value)?
Mike
>
> CommonMetaData
>
> Class CommonMetaData
> {
> String m_scLogFileType = "";
> private string logvolumename = ;
>
> public String getLogVolName()
> {
> return m_scLogVolName;
> }
>
> public void setLogVolName( String scLogVolName )
> {
> if ( scLogVolName != null )
> {
> logVolName = scLogVolName;
> }
> }
>
>
..
(Continue reading)
RSS Feed