/** * INTERNAL: * This method is called when Sequencing object is destroyed. * Don't override this method. */ public void onDisconnect(Platform platform) { if (isConnected()) { depth--; if(depth==0 && !isCustomQualifier) { qualifier = ""; } // Can no longer disconnect sequences, as they are part of descriptor shared meta-data. } }
/** * INTERNAL: * This method is called when Sequencing object is destroyed. * Don't override this method. */ public void onDisconnect(Platform platform) { if (isConnected()) { depth--; if(depth==0 && !isCustomQualifier) { qualifier = ""; } // Can no longer disconnect sequences, as they are part of descriptor shared meta-data. } }
/** * INTERNAL: * This method is called when Sequencing object is destroyed. * Don't override this method. */ public void onDisconnect(Platform platform) { if (isConnected()) { depth--; if(depth==0 && !isCustomQualifier) { qualifier = ""; } // Can no longer disconnect sequences, as they are part of descriptor shared meta-data. } }
/** * PUBLIC: * Indicates that Sequence is connected. */ public boolean isConnected() { return getDefaultSequence().isConnected(); }
/** * PUBLIC: * Indicates that Sequence is connected. */ public boolean isConnected() { return getDefaultSequence().isConnected(); }
public Object clone() { try { Sequence clone = (Sequence)super.clone(); if (isConnected()) { clone.depth = 1; clone.onDisconnect(getDatasourcePlatform()); } return clone; } catch (Exception exception) { throw new InternalError("Clone failed"); } }
public Object clone() { try { Sequence clone = (Sequence)super.clone(); if (isConnected()) { clone.depth = 1; clone.onDisconnect(); clone.setDatasourcePlatform(null); } return clone; } catch (Exception exception) { throw new InternalError("Clone failed"); } }
public Object clone() { try { Sequence clone = (Sequence)super.clone(); if (isConnected()) { clone.depth = 1; clone.onDisconnect(); clone.setDatasourcePlatform(null); } return clone; } catch (Exception exception) { throw new InternalError("Clone failed"); } }
boolean isConnected = sequence.isConnected();
boolean isConnected = sequence.isConnected();
boolean isConnected = sequence.isConnected();