com.bowstreet.webapp
Interface ClassItem

All Known Subinterfaces:
ClassInfo, Initializer, Member, Method

public interface ClassItem

Interface common to all ClassInfo items.


Method Summary
 java.lang.String getComment()
          Returns the comment.
 java.lang.String getModifier()
          Returns the modifier.
 boolean isGenerated()
          Gets the generated flag.
 void setComment(java.lang.String comment)
          Sets the comment.
 void setGenerated(boolean generated)
          Sets the generated flag.
 void write(java.io.Writer writer, int indent)
          Writes the representation of this item to the specified Writer.
 

Method Detail

getComment

java.lang.String getComment()
Returns the comment.

Returns:
String The comment value.

getModifier

java.lang.String getModifier()
Returns the modifier.

Returns:
String

isGenerated

boolean isGenerated()
Gets the generated flag. Specifies to wrap within ##GENERATED_BEGIN ##GENERATED_END

Returns:
boolean true if write() should wrap this item in generated comment tags, else false.

setComment

void setComment(java.lang.String comment)
Sets the comment.

Parameters:
comment - The comment to set

setGenerated

void setGenerated(boolean generated)
Sets the generated flag. Specifies to wrap within ##GENERATED_BEGIN ##GENERATED_END

Parameters:
generated - The generated flag to set

write

void write(java.io.Writer writer,
           int indent)
           throws java.io.IOException
Writes the representation of this item to the specified Writer.

Parameters:
writer - The Writer to write to.
indent - The indent level.
Throws:
java.io.IOException


Copyright © 2009 IBM. All Rights Reserved.