Email Answering System
Version 1.0

com.ninecode.email.connector
Class EmailIndexedRecord

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--com.ninecode.email.connector.EmailIndexedRecord
All Implemented Interfaces:
Cloneable, Collection, IndexedRecord, List, RandomAccess, Record, Serializable

public class EmailIndexedRecord
extends ArrayList
implements IndexedRecord

The Record object used for interaction.

Author:
Derrick Oswald
See Also:
Serialized Form

Field Summary
protected  String mDescription
          The description.
protected  String mName
          The name.
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
EmailIndexedRecord()
          Creates a new instance of EmailIndexedRecord
 
Method Summary
 Object clone()
          Creates and returns a copy of this object.
 boolean equals(Object obj)
          Check if this instance is equal to another Record.
 String getRecordName()
          Gets the name of the Record.
 String getRecordShortDescription()
          Gets a short description string for the Record.
 int hashCode()
          Returns the hash code for the Record instance.
 void setRecordName(String name)
          Sets the name of the Record.
 void setRecordShortDescription(String description)
          Sets a short description string for the Record.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Field Detail

mName

protected String mName
The name.


mDescription

protected String mDescription
The description.

Constructor Detail

EmailIndexedRecord

public EmailIndexedRecord()
Creates a new instance of EmailIndexedRecord

Method Detail

clone

public Object clone()
Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object.

Specified by:
clone in interface Record
Overrides:
clone in class ArrayList
Returns:
The cloned object.
Throws:
CloneNotSupportedException - If the object's class does not support the Cloneable interface Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned.

equals

public boolean equals(Object obj)
Check if this instance is equal to another Record.

Specified by:
equals in interface Record
Overrides:
equals in class AbstractList
Returns:
true if two instances are equal.

getRecordName

public String getRecordName()
Gets the name of the Record.

Specified by:
getRecordName in interface Record
Returns:
String representing name of the Record.

getRecordShortDescription

public String getRecordShortDescription()
Gets a short description string for the Record. This property is used primarily by application development tools.

Specified by:
getRecordShortDescription in interface Record
Returns:
String representing a short description of the Record.

hashCode

public int hashCode()
Returns the hash code for the Record instance.

Specified by:
hashCode in interface Record
Overrides:
hashCode in class AbstractList
Returns:
The hash code.

setRecordName

public void setRecordName(String name)
Sets the name of the Record.

Specified by:
setRecordName in interface Record
Parameters:
name - Name of the Record.

setRecordShortDescription

public void setRecordShortDescription(String description)
Sets a short description string for the Record. This property is used primarily by application development tools.

Specified by:
setRecordShortDescription in interface Record
Parameters:
description - Description of the Record.

Email Answering System
Version 1.0

Copyright © 2003 Derrick Oswald. All rights reserved.