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.service.model.impl.DiseaseMatrixModelImpl.java
License:Open Source License
@JSON @Override//from w w w . j a v a2 s. c o m public String getOmim() { if (_omim == null) { return StringPool.BLANK; } else { return _omim; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.DiseaseMatrixModelImpl.java
License:Open Source License
@JSON @Override/*w ww. j a va2 s.com*/ public String getModifieduser() { if (_modifieduser == null) { return StringPool.BLANK; } else { return _modifieduser; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationCacheModel.java
License:Open Source License
@Override public GeneralInformation toEntityModel() { GeneralInformationImpl generalInformationImpl = new GeneralInformationImpl(); generalInformationImpl.setGeneralinformationId(generalinformationId); generalInformationImpl.setOrganizationId(organizationId); if (acronym == null) { generalInformationImpl.setAcronym(StringPool.BLANK); } else {// w w w .j a v a 2s .c o m generalInformationImpl.setAcronym(acronym); } if (description == null) { generalInformationImpl.setDescription(StringPool.BLANK); } else { generalInformationImpl.setDescription(description); } if (hosteinstitue == null) { generalInformationImpl.setHosteinstitue(StringPool.BLANK); } else { generalInformationImpl.setHosteinstitue(hosteinstitue); } if (typeofhosteinstitue == null) { generalInformationImpl.setTypeofhosteinstitue(StringPool.BLANK); } else { generalInformationImpl.setTypeofhosteinstitue(typeofhosteinstitue); } if (sourceoffunding == null) { generalInformationImpl.setSourceoffunding(StringPool.BLANK); } else { generalInformationImpl.setSourceoffunding(sourceoffunding); } if (country == null) { generalInformationImpl.setCountry(StringPool.BLANK); } else { generalInformationImpl.setCountry(country); } if (targetpopulation == null) { generalInformationImpl.setTargetpopulation(StringPool.BLANK); } else { generalInformationImpl.setTargetpopulation(targetpopulation); } if (yearofestablishment == null) { generalInformationImpl.setYearofestablishment(StringPool.BLANK); } else { generalInformationImpl.setYearofestablishment(yearofestablishment); } if (howmanyrdsareintheregistrybiobank == null) { generalInformationImpl.setHowmanyrdsareintheregistrybiobank(StringPool.BLANK); } else { generalInformationImpl.setHowmanyrdsareintheregistrybiobank(howmanyrdsareintheregistrybiobank); } if (percentageofrarediseasesinyourregistrybiobank == null) { generalInformationImpl.setPercentageofrarediseasesinyourregistrybiobank(StringPool.BLANK); } else { generalInformationImpl.setPercentageofrarediseasesinyourregistrybiobank( percentageofrarediseasesinyourregistrybiobank); } if (ontologies == null) { generalInformationImpl.setOntologies(StringPool.BLANK); } else { generalInformationImpl.setOntologies(ontologies); } if (biomaterialcollected == null) { generalInformationImpl.setBiomaterialcollected(StringPool.BLANK); } else { generalInformationImpl.setBiomaterialcollected(biomaterialcollected); } if (biomaterialcollectedinbiobank == null) { generalInformationImpl.setBiomaterialcollectedinbiobank(StringPool.BLANK); } else { generalInformationImpl.setBiomaterialcollectedinbiobank(biomaterialcollectedinbiobank); } if (biomaterialprepared == null) { generalInformationImpl.setBiomaterialprepared(StringPool.BLANK); } else { generalInformationImpl.setBiomaterialprepared(biomaterialprepared); } if (origionofcollection == null) { generalInformationImpl.setOrigionofcollection(StringPool.BLANK); } else { generalInformationImpl.setOrigionofcollection(origionofcollection); } if (useofcollection == null) { generalInformationImpl.setUseofcollection(StringPool.BLANK); } else { generalInformationImpl.setUseofcollection(useofcollection); } if (associateddataavailable == null) { generalInformationImpl.setAssociateddataavailable(StringPool.BLANK); } else { generalInformationImpl.setAssociateddataavailable(associateddataavailable); } if (imagingavailable == null) { generalInformationImpl.setImagingavailable(StringPool.BLANK); } else { generalInformationImpl.setImagingavailable(imagingavailable); } if (theregistrybiobanksislistedinotherinventoriesnetworks == null) { generalInformationImpl.setTheregistrybiobanksislistedinotherinventoriesnetworks(StringPool.BLANK); } else { generalInformationImpl.setTheregistrybiobanksislistedinotherinventoriesnetworks( theregistrybiobanksislistedinotherinventoriesnetworks); } if (modifieddate == Long.MIN_VALUE) { generalInformationImpl.setModifieddate(null); } else { generalInformationImpl.setModifieddate(new Date(modifieddate)); } generalInformationImpl.resetOriginalValues(); return generalInformationImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(generalinformationId); objectOutput.writeLong(organizationId); if (acronym == null) { objectOutput.writeUTF(StringPool.BLANK); } else {/*from www . ja va 2s .c o m*/ objectOutput.writeUTF(acronym); } if (description == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(description); } if (hosteinstitue == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(hosteinstitue); } if (typeofhosteinstitue == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(typeofhosteinstitue); } if (sourceoffunding == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(sourceoffunding); } if (country == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(country); } if (targetpopulation == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(targetpopulation); } if (yearofestablishment == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(yearofestablishment); } if (howmanyrdsareintheregistrybiobank == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(howmanyrdsareintheregistrybiobank); } if (percentageofrarediseasesinyourregistrybiobank == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(percentageofrarediseasesinyourregistrybiobank); } if (ontologies == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(ontologies); } if (biomaterialcollected == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(biomaterialcollected); } if (biomaterialcollectedinbiobank == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(biomaterialcollectedinbiobank); } if (biomaterialprepared == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(biomaterialprepared); } if (origionofcollection == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(origionofcollection); } if (useofcollection == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(useofcollection); } if (associateddataavailable == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(associateddataavailable); } if (imagingavailable == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(imagingavailable); } if (theregistrybiobanksislistedinotherinventoriesnetworks == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(theregistrybiobanksislistedinotherinventoriesnetworks); } objectOutput.writeLong(modifieddate); }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java
License:Open Source License
@Override public String getAcronym() { if (_acronym == null) { return StringPool.BLANK; } else {//ww w .j av a2s. co m return _acronym; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java
License:Open Source License
@Override public String getDescription() { if (_description == null) { return StringPool.BLANK; } else {//from w w w. jav a 2s . c om return _description; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java
License:Open Source License
@Override public String getHosteinstitue() { if (_hosteinstitue == null) { return StringPool.BLANK; } else {// www. ja va 2s . c om return _hosteinstitue; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java
License:Open Source License
@Override public String getTypeofhosteinstitue() { if (_typeofhosteinstitue == null) { return StringPool.BLANK; } else {// ww w . j a va2s . c o m return _typeofhosteinstitue; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java
License:Open Source License
@Override public String getSourceoffunding() { if (_sourceoffunding == null) { return StringPool.BLANK; } else {/* ww w . j av a2 s . c om*/ return _sourceoffunding; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java
License:Open Source License
@Override public String getCountry() { if (_country == null) { return StringPool.BLANK; } else {//from w ww . j av a 2 s . c om return _country; } }