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.ICD10ModelImpl.java

License:Open Source License

@JSON
@Override/* w  ww .j ava  2 s  .  c o  m*/
public String getTYPE() {
    if (_TYPE == null) {
        return StringPool.BLANK;
    } else {
        return _TYPE;
    }
}

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

License:Open Source License

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

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

License:Open Source License

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

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

License:Open Source License

@Override
public ICDO3 toEntityModel() {
    ICDO3Impl icdo3Impl = new ICDO3Impl();

    icdo3Impl.setId(id);/*  w w  w .j  a v a2s . co m*/

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

    icdo3Impl.setTerm(term);
    icdo3Impl.setSui(sui);

    if (typ == null) {
        icdo3Impl.setTyp(StringPool.BLANK);
    } else {
        icdo3Impl.setTyp(typ);
    }

    if (use == null) {
        icdo3Impl.setUse(StringPool.BLANK);
    } else {
        icdo3Impl.setUse(use);
    }

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

    if (localisation == null) {
        icdo3Impl.setLocalisation(StringPool.BLANK);
    } else {
        icdo3Impl.setLocalisation(localisation);
    }

    if (link == null) {
        icdo3Impl.setLink(StringPool.BLANK);
    } else {
        icdo3Impl.setLink(link);
    }

    if (exklusiva == null) {
        icdo3Impl.setExklusiva(StringPool.BLANK);
    } else {
        icdo3Impl.setExklusiva(exklusiva);
    }

    if (hint == null) {
        icdo3Impl.setHint(StringPool.BLANK);
    } else {
        icdo3Impl.setHint(hint);
    }

    icdo3Impl.resetOriginalValues();

    return icdo3Impl;
}

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

License:Open Source License

@Override
public void writeExternal(ObjectOutput objectOutput) throws IOException {
    objectOutput.writeLong(id);//  w ww. jav  a 2  s.  c  o m

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

    objectOutput.writeInt(term);
    objectOutput.writeInt(sui);

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

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

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

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

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

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

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

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

License:Open Source License

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

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

License:Open Source License

@JSON
@Override//from ww w .j  a  v a  2 s . co  m
public String getUse() {
    if (_use == null) {
        return StringPool.BLANK;
    } else {
        return _use;
    }
}

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

License:Open Source License

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

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

License:Open Source License

@JSON
@Override//w  w  w. j  av  a2 s.  c om
public String getLink() {
    if (_link == null) {
        return StringPool.BLANK;
    } else {
        return _link;
    }
}

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

License:Open Source License

@JSON
@Override//from   w  w w  . java  2  s . co m
public String getExklusiva() {
    if (_exklusiva == null) {
        return StringPool.BLANK;
    } else {
        return _exklusiva;
    }
}