- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Connection c =
DataSource dataSource;dataSource.getConnection()
String url;DriverManager.getConnection(url)
IdentityDatabaseUtil.getDBConnection()
- Smart code suggestions by Codota
}
public BwLongString findDescription(String lang) { return entity.findDescription(lang); }
@Override @NoProxy @NoDump public String getDescription() { BwLongString s = findDescription(null); if (s == null) { return null; } return s.getValue(); }
@Override @NoProxy public void updateDescriptions(final String lang, final String val) { BwLongString s = findDescription(lang); if (val == null) { // Removing if (s!= null) { removeDescription(s); } } else if (s == null) { addDescription(lang, val); } else if ((CalFacadeUtil.cmpObjval(val, s.getValue()) != 0)) { // XXX Cannot change value in case this is an override collection. //s.setValue(val); removeDescription(s); addDescription(lang, val); } }
BwStringBase bwstr = val.findDescription(null); if (bwstr != null) { DescriptionPropType desc = new DescriptionPropType();
BwStringBase bwstr = val.findDescription(null); if (bwstr != null) { pl.add(langProp(new Description(bwstr.getValue()), bwstr));