|
||||||||||
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
protected class CreateJavaFile.WriteAttrInformation
Description: Inner class to write attribute information. Checks to see if the data type is an enum and adjusts the information accordingly.
Constructor Summary | |
---|---|
protected |
CreateJavaFile.WriteAttrInformation()
Description: C'tor for class. |
Method Summary | |
---|---|
protected java.lang.String |
getDatatype(CreateFile.AttrInformation attr)
Description: Pass through get method for datatype. |
protected void |
writeAttr(java.io.FileWriter writer,
CreateFile.AttrInformation attr)
Description: Writes itself to the file. |
protected void |
writeGetAndSet(java.io.FileWriter writer,
CreateFile.AttrInformation attr)
Description: Writes the attribute set and get methods. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CreateJavaFile.WriteAttrInformation() throws java.lang.Exception
writer:
- to use to write to the Java class file.attrInfo:
- class to obtain the information to use to write the Java attributes.
java.lang.Exception
Method Detail |
---|
protected void writeAttr(java.io.FileWriter writer, CreateFile.AttrInformation attr) throws java.lang.Exception
writer:
- FileWriter to used to write to the file.attr:
- information on the attribute.
java.lang.Exception
protected java.lang.String getDatatype(CreateFile.AttrInformation attr) throws java.lang.Exception
java.lang.Exception
protected void writeGetAndSet(java.io.FileWriter writer, CreateFile.AttrInformation attr) throws java.lang.Exception
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 |