Example usage for com.liferay.portal.kernel.util StringPool BLANK

List of usage examples for com.liferay.portal.kernel.util StringPool BLANK

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util StringPool BLANK.

Prototype

String BLANK

To view the source code for com.liferay.portal.kernel.util StringPool BLANK.

Click Source Link

Usage

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.BiobankPanelAssessmentModelImpl.java

License:Open Source License

@JSON
@Override// ww  w. j  av a  2s. c o m
public String getReasonstoaccept3_1() {
    if (_reasonstoaccept3_1 == null) {
        return StringPool.BLANK;
    } else {
        return _reasonstoaccept3_1;
    }
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.BiobankPanelAssessmentModelImpl.java

License:Open Source License

@JSON
@Override//  w ww. j a v a  2 s.c o m
public String getRecommendation3_2() {
    if (_recommendation3_2 == null) {
        return StringPool.BLANK;
    } else {
        return _recommendation3_2;
    }
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.BiobankPanelAssessmentModelImpl.java

License:Open Source License

@JSON
@Override/*from   ww w  .  ja  v a2  s  .  co  m*/
public String getNeedadditionalinformation3_3() {
    if (_needadditionalinformation3_3 == null) {
        return StringPool.BLANK;
    } else {
        return _needadditionalinformation3_3;
    }
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.BiobankPanelAssessmentModelImpl.java

License:Open Source License

@JSON
@Override// w w  w .j ava2 s . co  m
public String getFinalrecommendation_4() {
    if (_finalrecommendation_4 == null) {
        return StringPool.BLANK;
    } else {
        return _finalrecommendation_4;
    }
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.DiseaseMatrixCacheModel.java

License:Open Source License

@Override
public DiseaseMatrix toEntityModel() {
    DiseaseMatrixImpl diseaseMatrixImpl = new DiseaseMatrixImpl();

    diseaseMatrixImpl.setDiseasematrixId(diseasematrixId);
    diseaseMatrixImpl.setOrganizationId(organizationId);

    if (diseasename == null) {
        diseaseMatrixImpl.setDiseasename(StringPool.BLANK);
    } else {/*from   ww w.ja  v a 2  s. c  o m*/
        diseaseMatrixImpl.setDiseasename(diseasename);
    }

    if (patientcount == null) {
        diseaseMatrixImpl.setPatientcount(StringPool.BLANK);
    } else {
        diseaseMatrixImpl.setPatientcount(patientcount);
    }

    if (gene == null) {
        diseaseMatrixImpl.setGene(StringPool.BLANK);
    } else {
        diseaseMatrixImpl.setGene(gene);
    }

    if (orphanumber == null) {
        diseaseMatrixImpl.setOrphanumber(StringPool.BLANK);
    } else {
        diseaseMatrixImpl.setOrphanumber(orphanumber);
    }

    if (icd10 == null) {
        diseaseMatrixImpl.setIcd10(StringPool.BLANK);
    } else {
        diseaseMatrixImpl.setIcd10(icd10);
    }

    if (omim == null) {
        diseaseMatrixImpl.setOmim(StringPool.BLANK);
    } else {
        diseaseMatrixImpl.setOmim(omim);
    }

    if (synonym == null) {
        diseaseMatrixImpl.setSynonym(StringPool.BLANK);
    } else {
        diseaseMatrixImpl.setSynonym(synonym);
    }

    if (modifieddate == Long.MIN_VALUE) {
        diseaseMatrixImpl.setModifieddate(null);
    } else {
        diseaseMatrixImpl.setModifieddate(new Date(modifieddate));
    }

    if (modifieduser == null) {
        diseaseMatrixImpl.setModifieduser(StringPool.BLANK);
    } else {
        diseaseMatrixImpl.setModifieduser(modifieduser);
    }

    diseaseMatrixImpl.resetOriginalValues();

    return diseaseMatrixImpl;
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.DiseaseMatrixCacheModel.java

License:Open Source License

@Override
public void writeExternal(ObjectOutput objectOutput) throws IOException {
    objectOutput.writeLong(diseasematrixId);
    objectOutput.writeLong(organizationId);

    if (diseasename == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {/*ww  w.jav a 2s .  c om*/
        objectOutput.writeUTF(diseasename);
    }

    if (patientcount == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(patientcount);
    }

    if (gene == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(gene);
    }

    if (orphanumber == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(orphanumber);
    }

    if (icd10 == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(icd10);
    }

    if (omim == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(omim);
    }

    if (synonym == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(synonym);
    }

    objectOutput.writeLong(modifieddate);

    if (modifieduser == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(modifieduser);
    }
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.DiseaseMatrixModelImpl.java

License:Open Source License

@JSON
@Override// w  w  w.  j  av a2  s  .c o  m
public String getPatientcount() {
    if (_patientcount == null) {
        return StringPool.BLANK;
    } else {
        return _patientcount;
    }
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.DiseaseMatrixModelImpl.java

License:Open Source License

@JSON
@Override/*www. java2s .  com*/
public String getGene() {
    if (_gene == null) {
        return StringPool.BLANK;
    } else {
        return _gene;
    }
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.DiseaseMatrixModelImpl.java

License:Open Source License

@JSON
@Override/*from   w ww. j a  v  a2s. c  o  m*/
public String getOrphanumber() {
    if (_orphanumber == null) {
        return StringPool.BLANK;
    } else {
        return _orphanumber;
    }
}

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  a 2  s.c om*/
public String getIcd10() {
    if (_icd10 == null) {
        return StringPool.BLANK;
    } else {
        return _icd10;
    }
}