edu.jhu.cs.oose.group3.intelligentbook.model
Class NonsingularContactItem
java.lang.Object
edu.jhu.cs.oose.group3.intelligentbook.model.ContactItem
edu.jhu.cs.oose.group3.intelligentbook.model.NonsingularContactItem
- Direct Known Subclasses:
- EmailContactItem, OccupationContactItem, PhoneContactItem, WebsiteContactItem
public abstract class NonsingularContactItem
- extends ContactItem
Represents a contact item that can have more than one instance in a contact.
Since there can be multiple nonsingular contact items, it makes sense to assign a type to each one
Method Summary |
abstract java.lang.String |
getType()
Get the type of this contact item |
abstract void |
setType(java.lang.String type)
Set the type of this contact item |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonsingularContactItem
public NonsingularContactItem()
getType
public abstract java.lang.String getType()
- Get the type of this contact item
setType
public abstract void setType(java.lang.String type)
- Set the type of this contact item