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.meduni.liferay.portlet.bbmrieric.model.impl.D2CollectionModelImpl.java

License:Open Source License

@JSON
@Override//from   w  ww.j a v  a 2  s. c  om
public String getCollectionHeadLastName() {
    if (_collectionHeadLastName == null) {
        return StringPool.BLANK;
    } else {
        return _collectionHeadLastName;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2CollectionModelImpl.java

License:Open Source License

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

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2CollectionModelImpl.java

License:Open Source License

@JSON
@Override/*from  w w w .  j  a  va2  s  .com*/
public String getCollectionSampleAccessDescription() {
    if (_collectionSampleAccessDescription == null) {
        return StringPool.BLANK;
    } else {
        return _collectionSampleAccessDescription;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2CollectionModelImpl.java

License:Open Source License

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

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2CollectionModelImpl.java

License:Open Source License

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

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2CollectionModelImpl.java

License:Open Source License

@JSON
@Override/*from   w  ww.j  a  va2  s .  co m*/
public String getCollectionDataAccessURI() {
    if (_collectionDataAccessURI == null) {
        return StringPool.BLANK;
    } else {
        return _collectionDataAccessURI;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.DiseaseDiscriptionCacheModel.java

License:Open Source License

@Override
public DiseaseDiscription toEntityModel() {
    DiseaseDiscriptionImpl diseaseDiscriptionImpl = new DiseaseDiscriptionImpl();

    diseaseDiscriptionImpl.setDiseasediscriptionId(diseasediscriptionId);

    if (diseasecode == null) {
        diseaseDiscriptionImpl.setDiseasecode(StringPool.BLANK);
    } else {//from   ww  w .  j  a  v  a  2  s.  c o m
        diseaseDiscriptionImpl.setDiseasecode(diseasecode);
    }

    if (diseasegroup == null) {
        diseaseDiscriptionImpl.setDiseasegroup(StringPool.BLANK);
    } else {
        diseaseDiscriptionImpl.setDiseasegroup(diseasegroup);
    }

    if (diseasediscription == null) {
        diseaseDiscriptionImpl.setDiseasediscription(StringPool.BLANK);
    } else {
        diseaseDiscriptionImpl.setDiseasediscription(diseasediscription);
    }

    diseaseDiscriptionImpl.setRoot(root);

    diseaseDiscriptionImpl.resetOriginalValues();

    return diseaseDiscriptionImpl;
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.DiseaseDiscriptionCacheModel.java

License:Open Source License

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

    if (diseasecode == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {/* ww w .j  av  a 2  s. c  o m*/
        objectOutput.writeUTF(diseasecode);
    }

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

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

    objectOutput.writeBoolean(root);
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.DiseaseDiscriptionModelImpl.java

License:Open Source License

@Override
public String getDiseasecode() {
    if (_diseasecode == null) {
        return StringPool.BLANK;
    } else {/*from   w ww. ja va  2s .  c om*/
        return _diseasecode;
    }
}