|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.generator.tags.AbstractSandBaseTag
org.sandev.generator.tags.AbstractSandClassTag
org.sandev.generator.tags.AbstractSandStructTag
org.sandev.generator.tags.StructTagStructmessage
Handle the @sand.structmessage declaration.
Declares zero or more struct message characteristics as being set. You can specify zero or more characteristics of the struct message:
Comments are not supported for this tag.Declares that instances of this SandStructMessage are never actually created. The struct exists solely as a common base for other structs which extend it. The system can use this indicator to optimize code generation and storage structures.
Declares that the generated SandStructMessage is transmittable by itself, independently of any SandVerbMessage form. This is used for messages which carry their own action context (for example AuthWrapper or Ping).
Declares that the generated SandStructMessage is persistent. The
message will have the persistence fields added to it, and an instance
may be sent to the DataManager for storage. A persistent message can
be uniquely identified by its ID. Note that a persistent message
cannot aggregate other messages directly, it can only aggregate
references. See FieldTagRef for details.
Declares that the generated SandStructMessage supports the AuthUser interface. This essentially requires that the "username" and "password" fields are present in the struct declaration, either directly or by inheritance.
Declares that the generated SandStructMessage is a visual summary message that is always displayed as a tree. Essentially the single instance display is replaced by a display of the given instance summary and all children recursively.
| Field Summary | |
static java.lang.String |
CORENAME
The core name of this tag. |
protected boolean |
structAbstract
Flag for abstract |
protected boolean |
structAuthuser
Flag for authuser |
protected boolean |
structPersist
Flag for persist |
protected boolean |
structTransmit
Flag for transmit. |
protected boolean |
structTree
Flag for tree |
static java.lang.String |
TAGNAME
Our fixed name, used for hash lookup and text parsing. |
| Fields inherited from class org.sandev.generator.tags.AbstractSandBaseTag |
PREFIX |
| Constructor Summary | |
StructTagStructmessage()
|
|
| Method Summary | |
boolean |
canTransmit()
accessor for structTransmit |
static boolean |
exists(com.sun.javadoc.ClassDoc fd)
Returns true if the given field contains this tag, false otherwise. |
java.lang.String |
getName()
Return our tag name |
static StructTagStructmessage |
getStructTagStructmessage(com.sun.javadoc.ClassDoc cd)
Factory method for retrieving a new instance given a ClassDoc. |
boolean |
implementsAuthUser()
accessor for structAuthuser |
void |
init(com.sun.javadoc.Tag tag)
Initialize this instance from the tag information. |
boolean |
isAbstract()
accessor for structAbstract |
boolean |
isPersistent()
accessor for structPersist |
boolean |
isTree()
accessor for structTree |
static void |
register(java.util.Map tagletMap)
Registers this taglet when triggered by the taglet declaration being loaded in as part of the build. |
void |
setAbstract(boolean val)
mutator for structAbstract |
void |
setAuthUser(boolean val)
mutator for structAuthuser |
void |
setPersist(boolean val)
mutator for structPersist |
void |
setTransmit(boolean val)
mutator for structTransmit |
void |
setTree(boolean val)
mutator for structTree |
java.lang.String |
toString(com.sun.javadoc.Tag tag)
Return a documentation description of this tag. |
java.lang.String |
toString(com.sun.javadoc.Tag[] tags)
Return the documentation text for when several of these tags are present |
| Methods inherited from class org.sandev.generator.tags.AbstractSandClassTag |
inType |
| Methods inherited from class org.sandev.generator.tags.AbstractSandBaseTag |
inConstructor, inField, inMethod, inOverview, inPackage, isInlineTag, registerHelper |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CORENAME
protected boolean structAbstract
protected boolean structTransmit
protected boolean structPersist
protected boolean structAuthuser
protected boolean structTree
public static final java.lang.String TAGNAME
| Constructor Detail |
public StructTagStructmessage()
| Method Detail |
public boolean isAbstract()
public void setAbstract(boolean val)
public boolean canTransmit()
public void setTransmit(boolean val)
public boolean isPersistent()
public void setPersist(boolean val)
public boolean implementsAuthUser()
public void setAuthUser(boolean val)
public boolean isTree()
public void setTree(boolean val)
public void init(com.sun.javadoc.Tag tag)
public java.lang.String getName()
public static void register(java.util.Map tagletMap)
public java.lang.String toString(com.sun.javadoc.Tag tag)
toString in interface com.sun.tools.doclets.TaglettoString in class AbstractSandBaseTagtag - the Tag representation of this custom tag.public java.lang.String toString(com.sun.javadoc.Tag[] tags)
toString in interface com.sun.tools.doclets.TaglettoString in class AbstractSandBaseTagtags - the array of Tags representing of this custom tag.public static StructTagStructmessage getStructTagStructmessage(com.sun.javadoc.ClassDoc cd)
public static boolean exists(com.sun.javadoc.ClassDoc fd)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||