com.infoengine.convert
Class UpdateNonDspWebject

java.lang.Object
  extended bycom.infoengine.convert.UpdateNonDspWebject

class UpdateNonDspWebject
extends Object


Field Summary
(package private)  String message
           
(package private)  boolean parsed
           
(package private)  Webject webject
           
 
Constructor Summary
private UpdateNonDspWebject()
           
  UpdateNonDspWebject(Webject w)
           
 
Method Summary
 Webject convertDiffGroups(Webject webj)
          Converts the Group webject 'Diff-Group' to I*E 4.0
 Webject convertFormatSyntax(Webject webj)
          Converts the param FORMAT value to I*E 4.0 style
 Webject convertIntersectGroups(Webject webj)
          Converts the Group webject 'Intersect-Groups' to I*E 4.0
 Webject convertJoinGroups(Webject webj)
          Converts the Group webject 'Join-Groups' to I*E 4.0
 Webject convertMaxJoinGroups(Webject webj)
          Converts the Group webject 'Maxjoin-Groups' to I*E 4.0
 Webject convertMergeGroups(Webject webj)
          Converts the Group webject 'Merge-Groups' to I*E 4.0
 Webject convertSortGroups(Webject webj)
          Converts the Group webject 'Sort-Groups' to I*E 4.0
 Webject convertUnionGroups(Webject webj)
          Converts the Group webject 'Union-Groups' to I*E 4.0
 Webject convertXORGroups(Webject webj)
          Converts the Group webject 'XOR-Groups' to I*E 4.0
 String getDispCommentFormat(String type)
          Gives the webject as a html comment display format.
 String getInstanceValue(String value, String key)
          Gives the INSTANCE name from the System properties.
 String getTypeName()
          Get the type name of the webject.
 Webject getWebjectToUpdate(Webject webj)
          Gives the Webject to be Updated.
static void main(String[] args)
           
 Webject removeBindParam(Webject webj)
          Removes the BIND param from the webject.
private  Webject replaceBYParams(Webject webj, String valBY)
          Converts the <...>BY parameter values to a I*E 4.0 representation.
 Webject updateGroupWebject(Webject webj)
          Gives the I*E 4.0 Server 'GROUP' webject after conversion.
 Webject updateJModuleWebject(Webject webj)
          Gives the JModule 4.0 webject after conversion.
 Webject updateTypeValue()
          Update the Type value of the webject.
 Webject updateWebject()
          Updates the non Display webjects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

webject

Webject webject

message

String message

parsed

boolean parsed
Constructor Detail

UpdateNonDspWebject

private UpdateNonDspWebject()

UpdateNonDspWebject

public UpdateNonDspWebject(Webject w)
Method Detail

updateWebject

public Webject updateWebject()
Updates the non Display webjects. The dbhost, dbport, dbuser, passwd are removed. Only the attribute 'INSTANCE' remains. These information are expected from the System properties. The user is expected to give the System property 'AppMap' a filename of appmap that is required by the templates The System Property 'AppMap' will be read and the AppMap file contents will be added to the System Property in the acceped fashion.


getInstanceValue

public String getInstanceValue(String value,
                               String key)
Gives the INSTANCE name from the System properties.


updateTypeValue

public Webject updateTypeValue()
Update the Type value of the webject. if type is 'ACT' then convert it to 'OBJ' Since there is no explicit Jmodule in I*E 4.0, and this is taken care by the adapter itself, all the 'ACT' types change to 'OBJ' *'CGI-DATA' is also changed but unfortunately, not handled in conversion tool right now!! The 'Object-Xml' webject is now a Display type webject. If 'Object-Xml' webject is found change the type to DSP


getWebjectToUpdate

public Webject getWebjectToUpdate(Webject webj)
Gives the Webject to be Updated. ( This function resolves the webject for changes in GRP,JModule specific webject.)


updateGroupWebject

public Webject updateGroupWebject(Webject webj)
Gives the I*E 4.0 Server 'GROUP' webject after conversion.


replaceBYParams

private Webject replaceBYParams(Webject webj,
                                String valBY)
Converts the <...>BY parameter values to a I*E 4.0 representation.


convertDiffGroups

public Webject convertDiffGroups(Webject webj)
Converts the Group webject 'Diff-Group' to I*E 4.0


convertIntersectGroups

public Webject convertIntersectGroups(Webject webj)
Converts the Group webject 'Intersect-Groups' to I*E 4.0


convertJoinGroups

public Webject convertJoinGroups(Webject webj)
Converts the Group webject 'Join-Groups' to I*E 4.0


convertMaxJoinGroups

public Webject convertMaxJoinGroups(Webject webj)
Converts the Group webject 'Maxjoin-Groups' to I*E 4.0


convertMergeGroups

public Webject convertMergeGroups(Webject webj)
Converts the Group webject 'Merge-Groups' to I*E 4.0


convertSortGroups

public Webject convertSortGroups(Webject webj)
Converts the Group webject 'Sort-Groups' to I*E 4.0


convertUnionGroups

public Webject convertUnionGroups(Webject webj)
Converts the Group webject 'Union-Groups' to I*E 4.0


convertXORGroups

public Webject convertXORGroups(Webject webj)
Converts the Group webject 'XOR-Groups' to I*E 4.0


updateJModuleWebject

public Webject updateJModuleWebject(Webject webj)
Gives the JModule 4.0 webject after conversion.


removeBindParam

public Webject removeBindParam(Webject webj)
Removes the BIND param from the webject.


convertFormatSyntax

public Webject convertFormatSyntax(Webject webj)
Converts the param FORMAT value to I*E 4.0 style


getTypeName

public String getTypeName()
Get the type name of the webject.


getDispCommentFormat

public String getDispCommentFormat(String type)
Gives the webject as a html comment display format.


main

public static void main(String[] args)