Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jsource.codegenerator
Class TypeDef  view TypeDef download TypeDef.java

java.lang.Object
  extended byjsource.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.


Field Summary
private  int m_iId
           
private  java.lang.String m_sDescription
           
private  java.lang.String m_sName
           
 
Constructor Summary
TypeDef(int _id, java.lang.String _name, java.lang.String _description)
           
TypeDef(TypeDef _from)
           
 
Method Summary
 java.lang.String getDescription()
           
 int getId()
           
 java.lang.String getName()
           
 void setDescription(java.lang.String _value)
           
 void setId(int _value)
           
 void setName(java.lang.String _value)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_iId

private int m_iId

m_sName

private java.lang.String m_sName

m_sDescription

private java.lang.String m_sDescription
Constructor Detail

TypeDef

public TypeDef(int _id,
               java.lang.String _name,
               java.lang.String _description)

TypeDef

public TypeDef(TypeDef _from)
Method Detail

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()).