|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.jdlcode.JDFile | +--xbn.jdlcode.JDClass
A JDFile that is explicitely defined it the jdlcode doclet class map configuration file. See getJDCAFromFLR.
Manage a set of JDClasses with JDCArray
Source code: JDClass.java.
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
JDClass(String s_abbreviation,
String s_fullyQualifiedClassName,
PTArray pt_array)
Create a JDClass. |
Method Summary | |
String |
getAbbreviation()
Get the abbreviation assigned to this JDClass. |
String |
getExternalUrl()
Get the external url for this JDClass. |
String |
getName()
Get theh name of this JDClass. |
PackageType |
getPackageType()
Get the PackageType of this JDClass. |
String |
getPackageTypePrefix()
Get the PackageType prefix of this JDClass. |
boolean |
isExternal()
Is this JDClass external? |
boolean |
isLocal()
Is this JDClass local? |
boolean |
isNameAbbrevOrFQCN()
What is the name of this JDClass?. |
boolean |
isPrimitive()
Is this JDClass primitive? |
void |
setNameAbbrevOrFQCN(boolean b_abbrevOrFQCN)
Determine what the name of this JDClass should be. |
String |
toString()
Get some information about this JDClass. |
Methods inherited from class xbn.jdlcode.JDFile |
equals, getAPSLinkPagesINDIRECT, getAPSLinkPagesNONE, getDirCount, getFileName, getList, getPackageList, getPackagePrefix, getPart, getPartCount, getPASSPackage, getPASString, hasJDLCsDirectly, hasJDLCsIndirectly, hasNoJDLCodes, isInSamePackageAs |
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 JDClass(String s_abbreviation, String s_fullyQualifiedClassName, PTArray pt_array)
Create a JDClass.
s_abbreviation
- The abbreviation assigned to this class. For example, you might assign "s" to java.lang.String
. Must contain only letters, digits and underscores. See getAbbreviation.s_fullyQualifiedClassName
- Must conform to the following restrictions:pt_array
- The PTArray defining all PackageTypes.Method Detail |
public String getAbbreviation()
Get the abbreviation assigned to this JDClass.
public void setNameAbbrevOrFQCN(boolean b_abbrevOrFQCN)
Determine what the name of this JDClass should be.
Get with isNameAbbrevOrFQCN
b_abbrevOrFQCN
- If true, then name should be the abbreviation. If false, the name should be the fully qualified class name.public boolean isNameAbbrevOrFQCN()
What is the name of this JDClass?. The abbreviation or the fully qualified class name?
Set with setNameAbbrevOrFQCN
public String getName()
Get theh name of this JDClass.
getName
in interface Named
getAbbreviation()
if isNameAbbrevOrFQCN is true.
getList(".")
if isNameAbbrevOrFQCN is false.public PackageType getPackageType()
Get the PackageType of this JDClass.
public String getPackageTypePrefix()
Get the PackageType prefix of this JDClass.
getPackageType().getPrefix()
If this JDClass is local or external.public boolean isPrimitive()
Is this JDClass primitive?
isPrimitive
in class JDFile
(getPackageType() == null)
public boolean isLocal()
Is this JDClass local?
isLocal
in class JDFile
getPackageType().isExternal()
equal false.public boolean isExternal()
Is this JDClass external?
isExternal
in class JDFile
getPackageType().isExternal()
equals true.public String getExternalUrl()
Get the external url for this JDClass.
getPackageType().getExternalUrl()
AssertException
- if isExternal equals false.public String toString()
Get some information about this JDClass.
toString
in class JDFile
|
|||||||||
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