|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.slot.BaseGuard | +--org.erights.e.elib.slot.BaseAuditor | +--org.erights.e.elib.base.TypeDesc
Untamed: A type description object, as would be created by an "implements" expression.
A TypeDesc describes the protocol that objects of that type respond to, and is used as a Guard to coerce a provided value into an instance of this type.
Field Summary | |
private ConstList |
myAuditors
|
private String |
myDocComment
|
private String |
myFQName
|
private ConstMap |
myMTypes
|
(package private) static long |
serialVersionUID
|
Fields inherited from class org.erights.e.elib.slot.BaseGuard |
myOptValueGuard |
Fields inherited from interface org.erights.e.elib.serial.Persistent |
HONORARY, HONORED_NAMES |
Constructor Summary | |
TypeDesc(String docComment,
String optFQName,
ConstList auditors,
ConstList mTypes)
Enabled: |
Method Summary | |
ConstList |
getAuditors()
Enabled: |
String |
getDocComment()
Enabled: |
String |
getFQName()
Enabled: Gets the fully qualified name |
ConstMap |
getMessageTypes()
Enabled: |
String |
getName()
Enabled: Gets the simple name. |
void |
prettyPrintOn(boolean fullFlag,
TextWriter out)
Enabled: Prints in the most expansive form accepted by "interface". |
String |
show()
Enabled: |
String |
toString()
Suppressed: Prints ` |
Methods inherited from class org.erights.e.elib.slot.BaseAuditor |
audit, coerce |
Methods inherited from class org.erights.e.elib.slot.BaseGuard |
__printOn, accepts, and, butNot, coerce, get, makeSlot, makeSlot, not, or, xor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final long serialVersionUID
private final String myDocComment
private final String myFQName
private final ConstList myAuditors
private final ConstMap myMTypes
Constructor Detail |
public TypeDesc(String docComment, String optFQName, ConstList auditors, ConstList mTypes)
Method Detail |
public String getDocComment()
public String getName()
XXX should it be the flat name?
getName
in interface SlotGuard
getName
in class BaseGuard
public String getFQName()
public ConstList getAuditors()
public ConstMap getMessageTypes()
public String toString()
toString
in class BaseGuard
public void prettyPrintOn(boolean fullFlag, TextWriter out) throws IOException
fullFlag controls whether message names containing an '(' get printed too. These are for capturing Java signatures.
IOException
public String show()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |