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.model.impl.DictionaryModelImpl.java

License:Open Source License

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

From source file:at.graz.meduni.liferay.model.impl.DictionaryModelImpl.java

License:Open Source License

@JSON
@Override/*from   w w w  .j  a  va  2s  .c  om*/
public String getPattern() {
    if (_pattern == null) {
        return StringPool.BLANK;
    } else {
        return _pattern;
    }
}

From source file:at.graz.meduni.liferay.model.impl.DictionaryModelImpl.java

License:Open Source License

@JSON
@Override//from w w w . jav  a2 s  .c o  m
public String getCode_typ() {
    if (_code_typ == null) {
        return StringPool.BLANK;
    } else {
        return _code_typ;
    }
}

From source file:at.graz.meduni.liferay.model.impl.DictionaryModelImpl.java

License:Open Source License

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

From source file:at.graz.meduni.liferay.model.impl.DictionaryModelImpl.java

License:Open Source License

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

From source file:at.graz.meduni.liferay.model.impl.ICD10CacheModel.java

License:Open Source License

@Override
public ICD10 toEntityModel() {
    ICD10Impl icd10Impl = new ICD10Impl();

    icd10Impl.setId(id);/*from   w ww.j  a va2  s . c o m*/

    if (code == null) {
        icd10Impl.setCode(StringPool.BLANK);
    } else {
        icd10Impl.setCode(code);
    }

    if (description == null) {
        icd10Impl.setDescription(StringPool.BLANK);
    } else {
        icd10Impl.setDescription(description);
    }

    if (INKLUSIVA == null) {
        icd10Impl.setINKLUSIVA(StringPool.BLANK);
    } else {
        icd10Impl.setINKLUSIVA(INKLUSIVA);
    }

    if (EXKLUSIVA == null) {
        icd10Impl.setEXKLUSIVA(StringPool.BLANK);
    } else {
        icd10Impl.setEXKLUSIVA(EXKLUSIVA);
    }

    if (TYPE == null) {
        icd10Impl.setTYPE(StringPool.BLANK);
    } else {
        icd10Impl.setTYPE(TYPE);
    }

    icd10Impl.setUSED(USED);

    if (FROM_CODE == null) {
        icd10Impl.setFROM_CODE(StringPool.BLANK);
    } else {
        icd10Impl.setFROM_CODE(FROM_CODE);
    }

    if (TO_CODE == null) {
        icd10Impl.setTO_CODE(StringPool.BLANK);
    } else {
        icd10Impl.setTO_CODE(TO_CODE);
    }

    icd10Impl.resetOriginalValues();

    return icd10Impl;
}

From source file:at.graz.meduni.liferay.model.impl.ICD10CacheModel.java

License:Open Source License

@Override
public void writeExternal(ObjectOutput objectOutput) throws IOException {
    objectOutput.writeLong(id);/*from   w  ww .  jav a2 s. c  om*/

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

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

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

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

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

    objectOutput.writeDouble(USED);

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

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

From source file:at.graz.meduni.liferay.model.impl.ICD10ModelImpl.java

License:Open Source License

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

From source file:at.graz.meduni.liferay.model.impl.ICD10ModelImpl.java

License:Open Source License

@JSON
@Override/*  w w w  .  ja va  2 s  . c  om*/
public String getINKLUSIVA() {
    if (_INKLUSIVA == null) {
        return StringPool.BLANK;
    } else {
        return _INKLUSIVA;
    }
}

From source file:at.graz.meduni.liferay.model.impl.ICD10ModelImpl.java

License:Open Source License

@JSON
@Override/*from  w w  w.  j a va 2  s  .  co m*/
public String getEXKLUSIVA() {
    if (_EXKLUSIVA == null) {
        return StringPool.BLANK;
    } else {
        return _EXKLUSIVA;
    }
}