|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.generator.javasource.JavaSourceObject
This class implements a generic JavaSource object.
Constructor Summary | |
JavaSourceObject()
|
Method Summary | |
JavaComment |
getComment()
Returns a comment describing this JavaSource object. |
boolean |
getFinal()
Returns whether this is a final JavaSource object. |
java.lang.String |
getName()
Returns this JavaSource objects name. |
java.lang.String |
getProtection()
Returns this JavaSource objects protection. |
boolean |
getStatic()
Returns whether this is a static JavaSource object. |
java.lang.String |
getType()
Returns this JavaSource objects type. |
boolean |
isAbstract()
Returns whether this JavaSource object is abstract. |
void |
setAbstract(boolean isAbstract)
Sets whether this JavaSource object is abstract, |
void |
setComment(JavaComment jc)
Sets a comment describing this JavaSource object. |
void |
setFinal(boolean isFinal)
Sets whether this is a final JavaSource object. |
void |
setName(java.lang.String n)
Sets this JavaSource objects name. |
void |
setProtection(java.lang.String p)
Sets this JavaSource objects protection. |
void |
setStatic(boolean isStatic)
Sets whether this is a static JavaSource object. |
void |
setType(java.lang.String t)
Sets this JavaSource objects type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaSourceObject()
Method Detail |
public java.lang.String getName()
Returns this JavaSource objects name.
setName(java.lang.String)
public void setName(java.lang.String n)
Sets this JavaSource objects name.
getName()
public boolean getFinal()
Returns whether this is a final JavaSource object.
setFinal(boolean)
public void setFinal(boolean isFinal)
Sets whether this is a final JavaSource object.
getFinal()
public boolean getStatic()
Returns whether this is a static JavaSource object.
setStatic(boolean)
public void setStatic(boolean isStatic)
Sets whether this is a static JavaSource object.
getStatic()
public java.lang.String getType()
Returns this JavaSource objects type.
setType(java.lang.String)
public void setType(java.lang.String t)
Sets this JavaSource objects type.
getType()
public java.lang.String getProtection()
Returns this JavaSource objects protection.
setProtection(java.lang.String)
public void setProtection(java.lang.String p)
Sets this JavaSource objects protection.
p
- null, "public", "protected" or "private"getProtection()
public JavaComment getComment()
Returns a comment describing this JavaSource object.
getComment()
public void setComment(JavaComment jc)
Sets a comment describing this JavaSource object. Use null to remove a comment.
getComment()
public boolean isAbstract()
Returns whether this JavaSource object is abstract.
public void setAbstract(boolean isAbstract)
Sets whether this JavaSource object is abstract,
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |