|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.tools.generate_java.CreateJavaFile.WriteAttrInformation
org.biomage.tools.generate_java.CreateJavaFile.WriteAssociationAttrInformation
protected class CreateJavaFile.WriteAssociationAttrInformation
Description: Inner class to hold association attribute information. Checks to see if the association is a multivalued and adjusts the information accordingly.
Constructor Summary | |
---|---|
protected |
CreateJavaFile.WriteAssociationAttrInformation()
Description: C'tor for class. |
Method Summary | |
---|---|
protected void |
writeAttr(java.io.FileWriter writer,
CreateFile.AttrInformation attr)
Description: Writes the attribute declaration to the file. |
protected void |
writeGetAndSet(java.io.FileWriter writer,
CreateFile.AttrInformation attr)
Description: Writes the attribute set and get methods. |
protected void |
writeListClass(java.io.FileWriter writer,
CreateFile.AssociationAttrInformation attr)
Description: Writes out an inner class based on the attribute name. |
protected void |
writeListPassThroughs(java.io.FileWriter writer,
CreateFile.AssociationAttrInformation attr)
Description: Writes methods for adding, getting and removing individual elements from the named vector. |
protected void |
writeMethod(java.io.FileWriter writer,
CreateFile.AssociationAttrInformation attr,
java.lang.String comment,
boolean isVoidMethod,
boolean isIndexed,
boolean isLookedUp,
java.lang.String methodName,
java.lang.String preposition)
Description: Writes out a method. |
Methods inherited from class org.biomage.tools.generate_java.CreateJavaFile.WriteAttrInformation |
---|
getDatatype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CreateJavaFile.WriteAssociationAttrInformation() throws java.lang.Exception
attrInfo:
- class to obtain information to write the attr sections.
java.lang.Exception
Method Detail |
---|
protected void writeAttr(java.io.FileWriter writer, CreateFile.AttrInformation attr) throws java.lang.Exception
writeAttr
in class CreateJavaFile.WriteAttrInformation
writer:
- FileWriter to used to write to the file.attr:
- information on the attribute.
java.lang.Exception
protected void writeListClass(java.io.FileWriter writer, CreateFile.AssociationAttrInformation attr) throws java.lang.Exception
writer:
- where to write the information.attr:
- information on the attribute.
java.lang.Exception
protected void writeListPassThroughs(java.io.FileWriter writer, CreateFile.AssociationAttrInformation attr) throws java.lang.Exception
writer:
- FileWriter to used to write to the file.attr:
- information on the attribute.
java.lang.Exception
protected void writeMethod(java.io.FileWriter writer, CreateFile.AssociationAttrInformation attr, java.lang.String comment, boolean isVoidMethod, boolean isIndexed, boolean isLookedUp, java.lang.String methodName, java.lang.String preposition) throws java.lang.Exception
writer:
- FileWriter to used to write to the file.attr:
- information on the attribute.
java.lang.Exception
protected void writeGetAndSet(java.io.FileWriter writer, CreateFile.AttrInformation attr) throws java.lang.Exception
writeGetAndSet
in class CreateJavaFile.WriteAttrInformation
writer:
- FileWriter to used to write to the file.attr:
- information on the attribute.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |