|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.lang.SourceTemplate
SourceTemplate represents a template for creating Java class source
files for the
J. Damon & Co.
Application Architecture (JDA2) application programming interface (API).
All
Core API
Java source files extend one of the following base classes using this template:
Object
method signatures:
public boolean equals(Object object)public int hashCode()public String toString()
Object,
HashCode,
ToString| Field Summary |
| Fields inherited from class com.jdc.lang.Object |
string |
| Method Summary | |
boolean |
equals(Object object)
Compares this SourceTemplate object to the specified object. |
int |
getIntField()
Returns the int field value. |
String |
getStringField()
Returns the String field value. |
int |
hashCode()
Returns a hash code value for this SourceTemplate object. |
boolean |
isBooleanField()
Returns true if the boolean field value is true. |
void |
setBooleanField(boolean booleanField)
Sets the boolean field value. |
void |
setIntField(int intField)
Sets the int field value. |
void |
setStringField(String stringField)
Sets the String field value. |
String |
toString()
Returns a String representation of this SourceTemplate object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public boolean equals(Object object)
SourceTemplate object to the specified object.
Returns true if the field(s) for the specified object
template are equal to the field(s) for this source template object.
equals in class ObjectTrue if a specified object is equal to this source template object. False if the specified object is not equal to this source template object.hashCode()public int getIntField()
int field value.
int field value.public String getStringField()
String field value.
String field value.public void setBooleanField(boolean booleanField)
boolean field value.
public void setIntField(int intField)
int field value.
public void setStringField(String stringField)
String field value.
public int hashCode()
SourceTemplate object. This
method is supported for the benefit of hashtables such as those provided
by Hashtable.
hashCode in class Objectequals(java.lang.Object)public boolean isBooleanField()
true if the boolean field value is true.
True if the boolean field value is true. False if the boolean field value is not true.public String toString()
String representation of this SourceTemplate object.
toString in class ObjectString representation of this SourceTemplate object.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||