/** Initializes this adapter from the config model. */ protected void initializeFromModel(Object scConfig) { super.initializeFromModel(scConfig); SessionConfigs topLinkSessions = (SessionConfigs) this.getModel(); if (topLinkSessions.getVersion() == null) topLinkSessions.setVersion(Version.getVersion()); }
/* WARNING: THIS METHOD WILL BE REGENERATED. */ private void initialize() { try { // user code begin {1} // user code end setName("TestingBrowserFrame"); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); setJMenuBar(getTestingBrowserFrameJMenuBar()); setSize(901, 574); setTitle("Testing Browser" + ": EclipseLink " + Version.getVersionString()); setContentPane(getJFrameContentPane()); initConnections(); } catch (java.lang.Throwable ivjExc) { handleException(ivjExc); } // user code begin {2} // user code end }
/** * Return the adapter version * * @return the version of the adapter */ public String getAdapterVersion() { return Version.getVersion(); }
public String getBuildId() { return Version.getBuildRevision(); }