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.model.impl.ICDO3ModelImpl.java
License:Open Source License
@JSON @Override/*w ww. j av a2 s. com*/ public String getHint() { if (_hint == null) { return StringPool.BLANK; } else { return _hint; } }
From source file:at.graz.meduni.liferay.model.impl.SCGCacheModel.java
License:Open Source License
@Override public SCG toEntityModel() { SCGImpl scgImpl = new SCGImpl(); scgImpl.setId(id);/* w w w. j a v a 2s .c o m*/ if (code == null) { scgImpl.setCode(StringPool.BLANK); } else { scgImpl.setCode(code); } if (description == null) { scgImpl.setDescription(StringPool.BLANK); } else { scgImpl.setDescription(description); } scgImpl.resetOriginalValues(); return scgImpl; }
From source file:at.graz.meduni.liferay.model.impl.SCGCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(id);/* www. j a v a2 s . c o m*/ if (code == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(code); } if (description == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(description); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.kdssmp.service.model.impl.EventCacheModel.java
License:Open Source License
@Override public Event toEntityModel() { EventImpl eventImpl = new EventImpl(); eventImpl.setEventId(eventId);//from w ww. j a v a 2 s . c om eventImpl.setPatientId(patientId); eventImpl.setLayoutId(layoutId); if (eventdate == Long.MIN_VALUE) { eventImpl.setEventdate(null); } else { eventImpl.setEventdate(new Date(eventdate)); } if (eventtype == null) { eventImpl.setEventtype(StringPool.BLANK); } else { eventImpl.setEventtype(eventtype); } if (status == null) { eventImpl.setStatus(StringPool.BLANK); } else { eventImpl.setStatus(status); } eventImpl.resetOriginalValues(); return eventImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.kdssmp.service.model.impl.EventCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(eventId);/* w w w.j ava 2s . c o m*/ objectOutput.writeLong(patientId); objectOutput.writeLong(layoutId); objectOutput.writeLong(eventdate); if (eventtype == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(eventtype); } if (status == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(status); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.kdssmp.service.model.impl.EventDataCacheModel.java
License:Open Source License
@Override public EventData toEntityModel() { EventDataImpl eventDataImpl = new EventDataImpl(); eventDataImpl.setEventdataId(eventdataId); eventDataImpl.setEventId(eventId);/*from ww w . j av a 2 s .c o m*/ eventDataImpl.setPatientId(patientId); if (ontology == null) { eventDataImpl.setOntology(StringPool.BLANK); } else { eventDataImpl.setOntology(ontology); } if (value == null) { eventDataImpl.setValue(StringPool.BLANK); } else { eventDataImpl.setValue(value); } eventDataImpl.resetOriginalValues(); return eventDataImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.kdssmp.service.model.impl.EventDataCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(eventdataId); objectOutput.writeLong(eventId);//from w w w. j av a 2 s . c om objectOutput.writeLong(patientId); if (ontology == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(ontology); } if (value == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(value); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.kdssmp.service.model.impl.EventDataModelImpl.java
License:Open Source License
@Override public String getOntology() { if (_ontology == null) { return StringPool.BLANK; } else {/*from w w w .j a va 2 s . com*/ return _ontology; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.kdssmp.service.model.impl.EventDataModelImpl.java
License:Open Source License
@Override public String getValue() { if (_value == null) { return StringPool.BLANK; } else {/*from ww w . j a v a2 s .c om*/ return _value; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.kdssmp.service.model.impl.EventModelImpl.java
License:Open Source License
@Override public String getEventtype() { if (_eventtype == null) { return StringPool.BLANK; } else {// w ww.jav a2 s . c om return _eventtype; } }