org.fm.addressbook.businessobject
Class BaseType

java.lang.Object
  extended by org.fm.addressbook.businessobject.BaseRecord
      extended by org.fm.addressbook.businessobject.BaseType
All Implemented Interfaces:
java.io.Serializable

public class BaseType
extends BaseRecord

JContact- online Address Book Management Systemhttp://jcontact.sourceforge.net/

Licensed under the terms of any of the following licenses at your choice: -
GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html -
GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html

Address is a business object class which defines all the properties of base types in JContact. eg communication types, location types etc.

Author:
Tennyson Varghese
Aneesh S
See Also:
Serialized Form

Field Summary
 BaseType type
           
 
Constructor Summary
BaseType()
           
BaseType(java.lang.String name, java.lang.String description)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 BaseType getType()
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setType(BaseType type)
           
 
Methods inherited from class org.fm.addressbook.businessobject.BaseRecord
getId, hashCode, setId, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public BaseType type
Constructor Detail

BaseType

public BaseType()

BaseType

public BaseType(java.lang.String name,
                java.lang.String description)
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getType

public BaseType getType()

setType

public void setType(BaseType type)

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object