Class MFECIIndexedRecord

The base class for all indexed records.
java.lang.Object

extended by com.microfocus.cics.connector.cci.MFECIIndexedRecord

All Implemented Interfaces

Serializable, Cloneable, Iterable, Collection, List, javax.resource.cci.IndexedRecord, javax.resource.cci.Record

Class Specifications

public class MFECIIndexedRecord

extends Object

implements javax.resource.cci.IndexedRecord

See Also:

Serialized Form

Constructor Summary

MFECIIndexedRecord()
Create a new IndexedRecord instance.
MFECIIndexedRecord(String name)
Create a new IndexedRecord instance.

Methods

Method Summary
void add(int index, Object element)

See java.util.List for documentation

boolean add(Object o)

See java.util.List for documentation

boolean addAll(Collection c)

See java.util.List for documentation

boolean addAll(int index, Collection c)

See java.util.List for documentation

void addElement(Object o)

See java.util.List for documentation

int capacity()

See java.util.List for documentation

void clear()

See java.util.List for documentation

Object clone()

Clone the custom record instance.

boolean contains(Object elem)

See java.util.List for documentation

boolean containsAll(Collection c)

See java.util.List for documentation

boolean equals(Object other)

Is this record equal to the other record?

Object get(int index)

See java.util.List for documentation

String getRecordName()

Get the record name.

String getRecordShortDescription()

Get a short description of the record.

int hashCode()

Return a hash code for the Custom Record instance.

int indexOf(Object elem)

See java.util.List for documentation

int indexOf(Object elem, int index)

See java.util.List for documentation

boolean isEmpty()

See java.util.List for documentation

Iterator iterator()

See java.util.List for documentation

Object lastElement()

See java.util.List for documentation

int lastIndexOf(Object elem)

See java.util.List for documentation

int lastIndexOf(Object elem, int index)

See java.util.List for documentation

ListIterator listIterator()

See java.util.List for documentation

ListIterator listIterator(int index)

See java.util.List for documentation

Object remove(int index)

See java.util.List for documentation

boolean remove(Object o)

See java.util.List for documentation

boolean removeAll(Collection c)

See java.util.List for documentation

boolean retainAll(Collection c)

See java.util.List for documentation

Object set(int index, Object element)

See java.util.List for documentation

void setRecordName(String name)

Set the record name.

void setRecordShortDescription(String description)

Set the short description of the record

int size()

See java.util.List for documentation

List subList(int fromIndex, int toIndex)

See java.util.List for documentation

Object[] toArray()

See java.util.List for documentation

Object[] toArray(Object[] a)

See java.util.List for documentation

String toString()

See java.util.List for documentation

void trimToSize()

See java.util.List for documentation

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

MFECIIndexedRecord
public IndexedRecord()

Create a new IndexedRecord instance.

MFECIIndexedRecord
public IndexedRecord(String name)

Create a new IndexedRecord instance.

Parameters:
name The name of the indexed record.

Method Detail

getRecordName
public String getRecordName()

Get the record name.

Specified by:
getRecordName in interface javax.resource.cci.Record
Returns:
The record name.
setRecordName
public void setRecordName(String name)

Set the record name.

Specified by:
setRecordName in interface javax.resource.cci.Record
Parameters:
name The record name.
getRecordShortDescription
public String getRecordShortDescription()

Get a short description of the record .

Specified by:
getRecordShortDescription in interface javax.resource.cci.Record
Returns:
The short description of the record.
setRecordShortDescription
public void setRecordShortDescription(String description)

Set a short description of the record.

Specified by:
setRecordShortDescription in interface javax.resource.cci.Record
Parameters:
description A short description of the record.
equals
public boolean equals(Object other)

Is this record equal to the other record.

Specified by:
equals in interface Collection
Specified by:
equals in interface Collection
Specified by:
equals in interface javax.resource.cci.Record
Overrides:
equals in class Object
Returns:
true if two instances are equal, false otherwise
Parameters:
other The other record.
hashCode
public int hashCode()

Return a hash code for the Custom Recod instance.

Specified by:
hashCode in interface Collection
Specified by:
hashCode in interface List
Specified by:
hashCode in interface javax.resource.cci.Record
Overrides:
equals in class Object
Returns:
The hashcode for the custom record instance
clone
public Object clone()
       throws CloneNotSupportedException

Clone the custom record instance.

Specified by:
clone in interface javax.resource.cci.Record
Overrides:
clone in class Object
Returns:
The cloned object.
Throws:
CloneNotSupportedException
add
public void add(int, index
                Object element) 

See java.util.List for documentation.

Specified by:
add in interface List
See Also:
List
add
public boolean add(Object o)

See java.util.List for documentation.

Specified by:
add in interface Collection
Specified by:
addAll in interface List
See Also:
List
addAll
public boolean addAll(Collection c)

See java.util.List for documentation.

Specified by:
addAll in interface Collection
Specified by:
addAll in interface List
See Also:
List
addAll
public boolean addAll(int index,
                      Collection c) 

See java.util.List for documentation.

Specified by:
addAll in interface List
See Also:
List
addElement
public void addElement(Object o)

See java.util.List for documentation.

See Also:
List
capacity
public int capacity()

See java.util.List for documentation.

See Also:
List
clear
public int clear()

See java.util.List for documentation.

Specified by:
clear in interface Collection
Specified by:
clear in interface List
See Also:
List
contains
public boolean contains(Object elem)

See java.util.List for documentation.

Specified by:
contains in interface Collection
Specified by:
contains in interface List
See Also:
List
containsAll
public boolean containsAll(Collection c)

See java.util.List for documentation.

Specified by:
containsAll in interface Collection
Specified by:
containsAll in interface List
See Also:
List
get
public Object get(int index)

See java.util.List for documentation.

Specified by:
get in interface List
See Also:
List
indexOf
public int indexOf(Object elem)

See java.util.List for documentation.

Specified by:
indexOf in interface List
See Also:
List
indexOf
public int indexOf(Object elem,
                   int index)

See java.util.List for documentation.

See Also:
List
isEmpty
public boolean isEmpty()

See java.util.List for documentation.

Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface List
See Also:
List
iterator
public Iterator iterator()

See java.util.List for documentation.

Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface List
See Also:
List
listIterator
public ListIterator listIterator()

See java.util.List for documentation.

Specified by:
in interface listIterator
See Also:
List
listIterator
public ListIterator listIterator(int index)

See java.util.List for documentation.

Specified by:
listIterator in interface List
See Also:
List
lastElement
public Object lastElement()

See java.util.List for documentation.

See Also:
List
lastIndexOf
public int lastIndexOf(Object elem)

See java.util.List for documentation.

Specified by:
lastIndexOf in interface List
See Also:
List
lastIndexOf
public int lastIndexOf(Object elem,
                       int index)

See java.util.List for documentation.

See Also:
List
remove
public Object remove(int index)

See java.util.List for documentation.

Specified by:
remove in interface List
See Also:
List
remove
public boolean remove(Object o)

See java.util.List for documentation.

Specified by:
remove in interface Collection
Specified by:
remove in interface List
See Also:
List
removeAll
public boolean removeAll(Collection c)

See java.util.List for documentation.

Specified by:
removeAll in interface Collection
Specified by:
removeAll in interface List
See Also:
List
retainAll
public boolean retainAll(Collection c)

See java.util.List for documentation.

Specified by:
retainAll in interface Collection
Specified by:
retainAll in interface List
See Also:
List
set
public Object set(int index,
                  Object element)

See java.util.List for documentation.

Specified by:
set in interface List
See Also:
List
size
public int size()

See java.util.List for documentation.

Specified by:
size in interface List
See Also:
List
size
public int size()

See java.util.List for documentation.

Specified by:
size in interface Collection
Specified by:
size in interface List
See Also:
List
subList
public List subList(int fromIndex,
                    int toIndex)

See java.util.List for documentation.

Specified by:
subList in interface List
See Also:
List
subList
public List subList(int fromIndex,
                    int toIndex)

See java.util.List for documentation.

Specified by:
subList in interface List
See Also:
List
toArray
public Object[] toArray()

See java.util.List for documentation.

Specified by:
toArray in interface Collection
Specified by:
toArray in interface List
See Also:
List
toArray
public Object[] toArray(Object[] a)

See java.util.List for documentation.

Specified by:
toArray in interface Collection
Specified by:
toArray in interface List
See Also:
List
toString
public String toString()

See java.util.List for documentation.

See Also:
List
trimToSize
public void trimToSize()

See java.util.List for documentation.

See Also:
List