|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.named.NamedArray | +--xbn.jdlcode.JDCArray
Manage a set of JDClasses. See JDClass.
Source code: JDCArray.java.
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
JDCArray(JDClass[] a_jdClass,
PTArray pt_array)
Create a JDCArray. |
Method Summary | |
JDCArray |
getJDCAFromFQCN()
Get the private, internal JDCArray in which the names of the JDClasses is the fully qualified class name. |
JDClass |
getJDCFromFQCN(String s_fqClass)
Get the JDClass representing a class. |
JDClass |
getJDClass(int i_dx)
Get the JDClass at the requested array index. |
JDClass |
getJDClass(String s_abbreviation)
Get the JDClass representing a class with this abbreviation. |
PTArray |
getPTArray()
Get the PTArray for direct manipulation. |
Methods inherited from class xbn.named.NamedArray |
doesExist, getAOSLHashtable, getAOSLookup, getAPNamed, getArrIdx, getLength, getName, getName, getNamed, getNamed, getNameList, getNameList, getNameList, getNameList, throwAXWithName, toString, toString |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JDCArray(JDClass[] a_jdClass, PTArray pt_array)
Create a JDCArray.
This JDCArray is based upon the abbreviation. However, another JDCArray is created internally, where the name is the fully qualified class name. Retrieve it with getJDCAFromFQCN. See JDClass.setNameAbbrevOrFQCN.
a_jdClass
- The array of JDClasses. Must be valid according to the super constructor. All abbreviations and fully qualified class names must be unique.pt_array
- The PTArray defining all PackageTypes existing in a_jdClass. Must be non-null, and every package type prefix must be represented in a_jdClass, and every getPart(0) must be a prefix existing in pt_array.Method Detail |
public PTArray getPTArray()
Get the PTArray for direct manipulation.
public JDCArray getJDCAFromFQCN()
Get the private, internal JDCArray in which the names of the JDClasses is the fully qualified class name. This is the "opposite" of this overall JDCArray, in which the names are the abbreviation.
public JDClass getJDCFromFQCN(String s_fqClass)
Get the JDClass representing a class.
s_fqClass
- The fully qualified class name. Must be valid according to getJDCAFromFQCN().doesExist(s_fqClass)
.public JDClass getJDClass(String s_abbreviation)
Get the JDClass representing a class with this abbreviation.
s_abbreviation
- The abbreviation. Must be valid according to getJDCAFromFQCN().doesExist(s_abbreviation)
.public JDClass getJDClass(int i_dx)
Get the JDClass at the requested array index.
i_dx
- The array index. Must range zero through (getCount() - 1)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava