|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.objects.epath.EPathArrayList
The EPathArrayList class represents an array of ePaths, which define the locations of fields in Master Index objects and the database. For more information about ePaths, see Creating a Master Index with Master Index Studio.
Constructor Summary | |
EPathArrayList()
Creates a new instance of the EPathArrayList class. |
|
EPathArrayList(java.lang.String[] paths)
Creates a new instance of the EPathArrayList class. |
Method Summary | |
void |
add(EPath path)
Adds the specified ePath to an EPathArrayList object. |
void |
add(java.lang.String path)
Adds the specified ePath to an EPathArrayList object. |
void |
add(java.lang.String[] paths)
Adds the specified list of ePaths to an EPathArrayList object. |
void |
addUnique(EPath path)
Adds the specified ePath to an EPathArrayList object if that ePath does not already exist in the object. |
void |
addUnique(java.lang.String path)
Adds the specified ePath to an EPathArrayList object if that ePath does not already exist in the object. |
void |
addUnique(java.lang.String[] paths)
Adds the specified ePaths to an EPathArrayList object if those ePaths do not already exist in the object. |
EPath |
get(int index)
Retrieves the ePath at the specified index in an EPathArrayList object. |
java.util.ArrayList |
getGenericList()
Get the generic list |
int |
size()
number of elements |
EPath[] |
toArray()
Convert to array |
java.lang.String |
toString()
String representation of the class |
java.lang.String[] |
toStringArray()
Convert to string array |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EPathArrayList()
public EPathArrayList(java.lang.String[] paths) throws EPathException
paths
- An array of ePaths defining the location of the
desired fields.
void
- None.
EPathException
- Thrown if an error occurs while creating
the array list.Method Detail |
public void add(EPath path)
path
- The ePath to add to the array list.
void
- None.
public void add(java.lang.String path) throws EPathException
path
- A string containing the ePath to add to the
array list.
void
- None.
EPathException
- Thrown if an error occurs while adding
the ePath to the array list.public void add(java.lang.String[] paths) throws EPathException
paths
- A string array of ePaths to add to the
array list.
void
- None.
EPathException
- Thrown if an error occurs while creating
the array list.public void addUnique(EPath path) throws EPathException
path
- The ePath to add to the array list.
void
- None.
EPathException
- Thrown if an error occurs while adding
the ePath to the array list.public void addUnique(java.lang.String path) throws EPathException
path
- A string containing the ePath to add to the array list.
void
- None.
EPathException
- Thrown if an error occurs while adding
the ePath to the array list.public void addUnique(java.lang.String[] paths) throws EPathException
paths
- A string array of ePaths to add to the
array list.
void
- None.
EPathException
- Thrown if an error occurs while adding
the ePaths to the array list.public EPath get(int index)
index
- The index of the ePath to retrieve.
EPath
- The ePath located at the specified
index.
public java.util.ArrayList getGenericList()
public int size()
public EPath[] toArray()
public java.lang.String toString()
public java.lang.String[] toStringArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.