java.lang.Object
jsource.codegenerator.TypeDef
- public class TypeDef
- extends java.lang.Object
TypeDef.java 03/17/03
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as published
by the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
m_iId
private int m_iId
m_sName
private java.lang.String m_sName
m_sDescription
private java.lang.String m_sDescription
TypeDef
public TypeDef(int _id,
java.lang.String _name,
java.lang.String _description)
TypeDef
public TypeDef(TypeDef _from)
getId
public int getId()
setId
public void setId(int _value)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String _value)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String _value)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).