List of usage examples for com.liferay.portal.kernel.util StringPool BLANK
String BLANK
To view the source code for com.liferay.portal.kernel.util StringPool BLANK.
Click Source Link
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetSynonymCacheModel.java
License:Open Source License
@Override public OrphanetSynonym toEntityModel() { OrphanetSynonymImpl orphanetSynonymImpl = new OrphanetSynonymImpl(); orphanetSynonymImpl.setOrphanetsynonymId(orphanetsynonymId); orphanetSynonymImpl.setOrphanetdisorderId(orphanetdisorderId); if (synonym == null) { orphanetSynonymImpl.setSynonym(StringPool.BLANK); } else {//w w w. ja v a2 s. c o m orphanetSynonymImpl.setSynonym(synonym); } orphanetSynonymImpl.resetOriginalValues(); return orphanetSynonymImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetSynonymCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(orphanetsynonymId); objectOutput.writeLong(orphanetdisorderId); if (synonym == null) { objectOutput.writeUTF(StringPool.BLANK); } else {//from w ww. j a v a 2s. c o m objectOutput.writeUTF(synonym); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolConfigurationCacheModel.java
License:Open Source License
@Override public SymbolConfiguration toEntityModel() { SymbolConfigurationImpl symbolConfigurationImpl = new SymbolConfigurationImpl(); symbolConfigurationImpl.setSymbolconfigurationId(symbolconfigurationId); if (scope == null) { symbolConfigurationImpl.setScope(StringPool.BLANK); } else {/*from www . ja v a 2 s .co m*/ symbolConfigurationImpl.setScope(scope); } if (eventtype == null) { symbolConfigurationImpl.setEventtype(StringPool.BLANK); } else { symbolConfigurationImpl.setEventtype(eventtype); } if (basecolor == null) { symbolConfigurationImpl.setBasecolor(StringPool.BLANK); } else { symbolConfigurationImpl.setBasecolor(basecolor); } if (symboltype == null) { symbolConfigurationImpl.setSymboltype(StringPool.BLANK); } else { symbolConfigurationImpl.setSymboltype(symboltype); } symbolConfigurationImpl.resetOriginalValues(); return symbolConfigurationImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolConfigurationCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(symbolconfigurationId); if (scope == null) { objectOutput.writeUTF(StringPool.BLANK); } else {/*www. j ava2s .co m*/ objectOutput.writeUTF(scope); } if (eventtype == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(eventtype); } if (basecolor == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(basecolor); } if (symboltype == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(symboltype); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolConfigurationModelImpl.java
License:Open Source License
@JSON @Override/*from w ww . java 2s . c o m*/ public String getScope() { if (_scope == null) { return StringPool.BLANK; } else { return _scope; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolConfigurationModelImpl.java
License:Open Source License
@JSON @Override// w w w. ja v a 2 s .co m public String getEventtype() { if (_eventtype == null) { return StringPool.BLANK; } else { return _eventtype; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolConfigurationModelImpl.java
License:Open Source License
@JSON @Override//from w w w. j a v a2s .c om public String getBasecolor() { if (_basecolor == null) { return StringPool.BLANK; } else { return _basecolor; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolConfigurationModelImpl.java
License:Open Source License
@JSON @Override//from w w w. j a va2 s. c o m public String getSymboltype() { if (_symboltype == null) { return StringPool.BLANK; } else { return _symboltype; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolTypeConfigurationCacheModel.java
License:Open Source License
@Override public SymbolTypeConfiguration toEntityModel() { SymbolTypeConfigurationImpl symbolTypeConfigurationImpl = new SymbolTypeConfigurationImpl(); symbolTypeConfigurationImpl.setSymboltypeconfigurationId(symboltypeconfigurationId); if (symboltype == null) { symbolTypeConfigurationImpl.setSymboltype(StringPool.BLANK); } else {/*from w ww . j a va 2 s. com*/ symbolTypeConfigurationImpl.setSymboltype(symboltype); } if (template == null) { symbolTypeConfigurationImpl.setTemplate(StringPool.BLANK); } else { symbolTypeConfigurationImpl.setTemplate(template); } if (symboliconconfiguration == null) { symbolTypeConfigurationImpl.setSymboliconconfiguration(StringPool.BLANK); } else { symbolTypeConfigurationImpl.setSymboliconconfiguration(symboliconconfiguration); } if (symboldiscription == null) { symbolTypeConfigurationImpl.setSymboldiscription(StringPool.BLANK); } else { symbolTypeConfigurationImpl.setSymboldiscription(symboldiscription); } symbolTypeConfigurationImpl.resetOriginalValues(); return symbolTypeConfigurationImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolTypeConfigurationCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(symboltypeconfigurationId); if (symboltype == null) { objectOutput.writeUTF(StringPool.BLANK); } else {/* w w w . j a v a 2s .c o m*/ objectOutput.writeUTF(symboltype); } if (template == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(template); } if (symboliconconfiguration == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(symboliconconfiguration); } if (symboldiscription == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(symboldiscription); } }