de.uni_paderborn.fujaba.gxl
Class GXLImport

java.lang.Object
  extended byde.uni_paderborn.fujaba.gxl.GXLImport

public class GXLImport
extends java.lang.Object

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.42 $
Author:
$Author: beebop $

Field Summary
private static de.upb.tools.fca.FHashMap classInfos
          No comment provided by developer, please add a comment to improve documentation.
private static de.upb.tools.fca.FHashMap fieldWriteMethods
          No comment provided by developer, please add a comment to improve documentation.
(package private)  FXMLTree gxlInput
          No comment provided by developer, please add a comment to improve documentation.
(package private)  ASGDiagram importPoint
          No comment provided by developer, please add a comment to improve documentation.
(package private)  java.util.Vector increments
          No comment provided by developer, please add a comment to improve documentation.
private static org.apache.log4j.Logger log
          log4j logging
(package private)  java.util.Vector mergeObjects
          No comment provided by developer, please add a comment to improve documentation.
(package private)  de.upb.tools.fca.FHashSet mergePoints
          No comment provided by developer, please add a comment to improve documentation.
(package private)  AbstractMerger myMerger
          No comment provided by developer, please add a comment to improve documentation.
(package private)  de.upb.tools.fca.FHashMap nodes
          No comment provided by developer, please add a comment to improve documentation.
(package private)  de.upb.tools.fca.FHashMap obj
          No comment provided by developer, please add a comment to improve documentation.
(package private)  java.util.Vector objects
          No comment provided by developer, please add a comment to improve documentation.
(package private)  de.upb.tools.fca.FHashMap setableAttributes
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
GXLImport(FXMLTree tree, ASGDiagram point)
          Constructor for class GXLImport
GXLImport(FXMLTree tree, ASGDiagram point, java.util.HashMap presentObjects)
          Constructor for class GXLImport
 
Method Summary
private  void addElem(java.lang.Object fieldObject, java.lang.Object arg, java.lang.reflect.Field currentField)
          Access method for an one to n association.
private  void addIncrementToDiagrams(ASGElement tmp)
          Access method for an one to n association.
private  void addToAddSetMethods(java.lang.reflect.Method newMethod, de.upb.tools.fca.FHashMap map)
          Access method for an one to n association.
private  void addToFieldWriteMethods(java.lang.Class c, java.lang.reflect.Field f, java.lang.reflect.Method m)
          Access method for an one to n association.
private  boolean checkStaticTransient(java.lang.reflect.Field currentField)
          No comment provided by developer, please add a comment to improve documentation.
private  java.util.Enumeration getAddSetMethods(java.lang.String addMethod, de.upb.tools.fca.FHashMap methodMap)
          Get the addSetMethods attribute of the GXLImport object
private  java.util.Vector getClassFromCache(java.lang.Class clazz)
          Get the classFromCache attribute of the GXLImport object
private  java.lang.reflect.Method getFromFieldWriteMethods(java.lang.Class c, java.lang.reflect.Field f)
          Get the fromFieldWriteMethods attribute of the GXLImport object
 ASGDiagram getImportPoint()
          Get the importPoint attribute of the GXLImport object
private  void getMerger(ASGDiagram diag)
          Get the merger attribute of the GXLImport object
private  java.lang.String getMethodName(java.lang.String prefix, java.lang.String attribName)
          Get the methodName attribute of the GXLImport object
 de.upb.tools.fca.FHashMap getNodes()
          Get the nodes attribute of the GXLImport object
 de.upb.tools.fca.FHashMap getObj()
          Get the obj attribute of the GXLImport object
 java.util.Vector getObjects()
          Get the objects attribute of the GXLImport object
private  void initSetableAttributes()
          No comment provided by developer, please add a comment to improve documentation.
private  boolean isKey(java.lang.String s)
          Get the key attribute of the GXLImport object
private  boolean isSetableAttribute(java.lang.String obj, java.lang.String attr)
          Get the setableAttribute attribute of the GXLImport object
private  boolean loadObjects()
          No comment provided by developer, please add a comment to improve documentation.
private  java.lang.reflect.Method nextAddMethod(java.util.Enumeration addMethods)
          No comment provided by developer, please add a comment to improve documentation.
 boolean parse()
          No comment provided by developer, please add a comment to improve documentation.
 boolean parsePattern(java.util.HashMap presentObjects)
          No comment provided by developer, please add a comment to improve documentation.
private  void putElements(java.lang.Object fieldObject, java.lang.reflect.Field currentField, java.util.Vector values, de.upb.tools.fca.FHashMap methodMap)
          No comment provided by developer, please add a comment to improve documentation.
private  void removeObject(java.lang.Object firstObject, java.lang.String tmp)
          No comment provided by developer, please add a comment to improve documentation.
static void resetClassInfos()
          No comment provided by developer, please add a comment to improve documentation.
static void resetFieldWriteMethods()
          No comment provided by developer, please add a comment to improve documentation.
private  void setValue(java.lang.Object tmpObject, java.lang.Object fieldObject, java.lang.reflect.Field currentField, java.util.Vector values, de.upb.tools.fca.FHashMap methodMap)
          Sets the value attribute of the GXLImport object
private  boolean verifyContext(FXMLNode tmpObject)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final transient org.apache.log4j.Logger log
log4j logging


gxlInput

FXMLTree gxlInput
No comment provided by developer, please add a comment to improve documentation.


importPoint

ASGDiagram importPoint
No comment provided by developer, please add a comment to improve documentation.


nodes

de.upb.tools.fca.FHashMap nodes
No comment provided by developer, please add a comment to improve documentation.


obj

de.upb.tools.fca.FHashMap obj
No comment provided by developer, please add a comment to improve documentation.


mergePoints

de.upb.tools.fca.FHashSet mergePoints
No comment provided by developer, please add a comment to improve documentation.


objects

java.util.Vector objects
No comment provided by developer, please add a comment to improve documentation.


increments

java.util.Vector increments
No comment provided by developer, please add a comment to improve documentation.


mergeObjects

java.util.Vector mergeObjects
No comment provided by developer, please add a comment to improve documentation.


myMerger

AbstractMerger myMerger
No comment provided by developer, please add a comment to improve documentation.


setableAttributes

de.upb.tools.fca.FHashMap setableAttributes
No comment provided by developer, please add a comment to improve documentation.


classInfos

private static transient de.upb.tools.fca.FHashMap classInfos
No comment provided by developer, please add a comment to improve documentation.


fieldWriteMethods

private static de.upb.tools.fca.FHashMap fieldWriteMethods
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

GXLImport

public GXLImport(FXMLTree tree,
                 ASGDiagram point)
Constructor for class GXLImport

Parameters:
tree - No description provided
point - No description provided

GXLImport

public GXLImport(FXMLTree tree,
                 ASGDiagram point,
                 java.util.HashMap presentObjects)
Constructor for class GXLImport

Parameters:
tree - No description provided
point - No description provided
presentObjects - No description provided
Method Detail

getMerger

private void getMerger(ASGDiagram diag)
Get the merger attribute of the GXLImport object

Parameters:
diag - No description provided

removeObject

private void removeObject(java.lang.Object firstObject,
                          java.lang.String tmp)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
tmp - No description provided
firstObject - No description provided

verifyContext

private boolean verifyContext(FXMLNode tmpObject)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
tmpObject - No description provided
Returns:
No description provided

getNodes

public de.upb.tools.fca.FHashMap getNodes()
Get the nodes attribute of the GXLImport object

Returns:
The nodes value

getObjects

public java.util.Vector getObjects()
Get the objects attribute of the GXLImport object

Returns:
The objects value

getObj

public de.upb.tools.fca.FHashMap getObj()
Get the obj attribute of the GXLImport object

Returns:
The obj value

loadObjects

private boolean loadObjects()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

initSetableAttributes

private void initSetableAttributes()
No comment provided by developer, please add a comment to improve documentation.


isSetableAttribute

private boolean isSetableAttribute(java.lang.String obj,
                                   java.lang.String attr)
Get the setableAttribute attribute of the GXLImport object

Parameters:
obj - No description provided
attr - No description provided
Returns:
The setableAttribute value

parsePattern

public boolean parsePattern(java.util.HashMap presentObjects)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
presentObjects - No description provided
Returns:
No description provided

parse

public boolean parse()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

addIncrementToDiagrams

private void addIncrementToDiagrams(ASGElement tmp)
Access method for an one to n association.

Parameters:
tmp - The object added.

checkStaticTransient

private boolean checkStaticTransient(java.lang.reflect.Field currentField)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
currentField - No description provided
Returns:
No description provided

addToAddSetMethods

private final void addToAddSetMethods(java.lang.reflect.Method newMethod,
                                      de.upb.tools.fca.FHashMap map)
Access method for an one to n association.

Parameters:
newMethod - The object added.
map - The object added.

resetClassInfos

public static void resetClassInfos()
No comment provided by developer, please add a comment to improve documentation.


addToFieldWriteMethods

private void addToFieldWriteMethods(java.lang.Class c,
                                    java.lang.reflect.Field f,
                                    java.lang.reflect.Method m)
Access method for an one to n association.

Parameters:
c - The object added.
f - The object added.
m - The object added.

getFromFieldWriteMethods

private java.lang.reflect.Method getFromFieldWriteMethods(java.lang.Class c,
                                                          java.lang.reflect.Field f)
Get the fromFieldWriteMethods attribute of the GXLImport object

Parameters:
c - No description provided
f - No description provided
Returns:
The fromFieldWriteMethods value

resetFieldWriteMethods

public static void resetFieldWriteMethods()
No comment provided by developer, please add a comment to improve documentation.


getAddSetMethods

private final java.util.Enumeration getAddSetMethods(java.lang.String addMethod,
                                                     de.upb.tools.fca.FHashMap methodMap)
Get the addSetMethods attribute of the GXLImport object

Parameters:
addMethod - No description provided
methodMap - No description provided
Returns:
The addSetMethods value

getMethodName

private final java.lang.String getMethodName(java.lang.String prefix,
                                             java.lang.String attribName)
Get the methodName attribute of the GXLImport object

Parameters:
prefix - No description provided
attribName - No description provided
Returns:
The methodName value

nextAddMethod

private final java.lang.reflect.Method nextAddMethod(java.util.Enumeration addMethods)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
addMethods - No description provided
Returns:
No description provided

getClassFromCache

private java.util.Vector getClassFromCache(java.lang.Class clazz)
Get the classFromCache attribute of the GXLImport object

Parameters:
clazz - No description provided
Returns:
The classFromCache value

addElem

private void addElem(java.lang.Object fieldObject,
                     java.lang.Object arg,
                     java.lang.reflect.Field currentField)
Access method for an one to n association.

Parameters:
fieldObject - The object added.
arg - The object added.
currentField - The object added.

putElements

private final void putElements(java.lang.Object fieldObject,
                               java.lang.reflect.Field currentField,
                               java.util.Vector values,
                               de.upb.tools.fca.FHashMap methodMap)
                        throws java.lang.IllegalAccessException
No comment provided by developer, please add a comment to improve documentation.

Parameters:
fieldObject - No description provided
currentField - No description provided
values - No description provided
methodMap - No description provided
Throws:
java.lang.IllegalAccessException - Exception description not provided

isKey

private boolean isKey(java.lang.String s)
Get the key attribute of the GXLImport object

Parameters:
s - No description provided
Returns:
The key value

setValue

private final void setValue(java.lang.Object tmpObject,
                            java.lang.Object fieldObject,
                            java.lang.reflect.Field currentField,
                            java.util.Vector values,
                            de.upb.tools.fca.FHashMap methodMap)
Sets the value attribute of the GXLImport object

Parameters:
tmpObject - The new value value
fieldObject - The new value value
currentField - The new value value
values - The new value value
methodMap - The new value value

getImportPoint

public ASGDiagram getImportPoint()
Get the importPoint attribute of the GXLImport object

Returns:
The importPoint value