Java Code Examples for javax.persistence.Transient
The following examples show how to use
javax.persistence.Transient.
These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: youkefu Author: zhangyanbo2007 File: AiConfig.java License: Apache License 2.0 | 5 votes |
@Transient public List<OtherMessageItem> getHot(){ List<OtherMessageItem> otherMessageItemList = null ; if(!StringUtils.isBlank(this.getHotmsg())) { try { otherMessageItemList = OnlineUserUtils.objectMapper.readValue(this.getHotmsg(), UKTools.getCollectionType(ArrayList.class, OtherMessageItem.class)) ; } catch (Exception e) { e.printStackTrace(); } } return otherMessageItemList ; }
Example #2
Source Project: youkefu Author: zhangyanbo2007 File: SessionConfig.java License: Apache License 2.0 | 5 votes |
@Transient public List<SessionConfigItem> getConfig(){ List<SessionConfigItem> sessionConfigItemList = null ; if(!StringUtils.isBlank(this.getWorkinghours())) { try { sessionConfigItemList = OnlineUserUtils.objectMapper.readValue(this.getWorkinghours(), UKTools.getCollectionType(ArrayList.class, SessionConfigItem.class)) ; } catch (Exception e) { e.printStackTrace(); } } return sessionConfigItemList ; }
Example #3
Source Project: youkefu Author: zhangyanbo2007 File: ReportModel.java License: Apache License 2.0 | 5 votes |
@Transient public ChartProperties getChartProperties() { Base64 base64 = new Base64(); try { return chartProperties!=null ? chartProperties : (chartProperties = (this.chartcontent==null?null:(ChartProperties)UKTools.toObject(base64.decode(this.chartcontent)))); } catch (Exception e) { e.printStackTrace(); } return chartProperties; }
Example #4
Source Project: youkefu Author: zhangyanbo2007 File: SystemConfig.java License: Apache License 2.0 | 5 votes |
@Transient public String getColor(){ String color = "color:#32c24d;" ; if(!StringUtils.isBlank(this.theme) && this.theme.equals("01")){ color = "color:#32c24d " ; }else if(!StringUtils.isBlank(this.theme) && this.theme.equals("02")){ color = "color:#32c24d " ; }else if(!StringUtils.isBlank(this.theme) && this.theme.equals("03")){ color = "color:#1E90FF " ; } return color ; }
Example #5
Source Project: youkefu Author: zhangyanbo2007 File: SystemConfig.java License: Apache License 2.0 | 5 votes |
@Transient public String getStyleColor(){ String color = "#32c24d !important;" ; if(!StringUtils.isBlank(this.theme) && this.theme.equals("01")){ color = "#32c24d !important;" ; }else if(!StringUtils.isBlank(this.theme) && this.theme.equals("02")){ color = "#32c24d !important;" ; }else if(!StringUtils.isBlank(this.theme) && this.theme.equals("03")){ color = "#1E90FF !important;" ; } return color ; }
Example #6
Source Project: Exam-Online Author: Corvey File: Question.java License: Apache License 2.0 | 5 votes |
@Transient public List<Choice> getAnswers() { if (getChoices() != null) { return getChoices().stream() .filter(e -> e.getAnswer() == true) .collect(Collectors.toList()); } return null; }
Example #7
Source Project: youkefu Author: zhangyanbo2007 File: Template.java License: Apache License 2.0 | 4 votes |
@Transient public String getTitle(){ return this.groupid ; }
Example #8
Source Project: microservice-istio Author: ewolff File: Invoice.java License: Apache License 2.0 | 4 votes |
@Transient public void setOrderLine(List<InvoiceLine> orderLine) { this.invoiceLine = orderLine; }
Example #9
Source Project: youkefu Author: zhangyanbo2007 File: SNSAccount.java License: Apache License 2.0 | 4 votes |
@Transient public String getStatus() { return status; }
Example #10
Source Project: youkefu Author: zhangyanbo2007 File: Scene.java License: Apache License 2.0 | 4 votes |
@Transient public String getSessionid() { return sessionid; }
Example #11
Source Project: youkefu Author: zhangyanbo2007 File: SmsTemplate.java License: Apache License 2.0 | 4 votes |
@Transient public String getTitle(){ return this.groupid ; }
Example #12
Source Project: youkefu Author: zhangyanbo2007 File: AgentService.java License: Apache License 2.0 | 4 votes |
@Transient public boolean isDisconnect() { return this.disconnect; }
Example #13
Source Project: youkefu Author: zhangyanbo2007 File: SmsResult.java License: Apache License 2.0 | 4 votes |
@Transient public String getTitle(){ return this.groupid ; }
Example #14
Source Project: youkefu Author: zhangyanbo2007 File: KbsTopic.java License: Apache License 2.0 | 4 votes |
@Transient public String getSessionid() { return sessionid; }
Example #15
Source Project: youkefu Author: zhangyanbo2007 File: AgentService.java License: Apache License 2.0 | 4 votes |
@Transient public boolean isTip() { return this.tip; }
Example #16
Source Project: youkefu Author: zhangyanbo2007 File: KbsTopic.java License: Apache License 2.0 | 4 votes |
@Transient public int getRowcount() { return rowcount; }
Example #17
Source Project: youkefu Author: zhangyanbo2007 File: WorkOrders.java License: Apache License 2.0 | 4 votes |
@Transient public String getOrderid() { return orderid; }
Example #18
Source Project: youkefu Author: zhangyanbo2007 File: User.java License: Apache License 2.0 | 4 votes |
@Transient public String getSessionid() { return sessionid; }
Example #19
Source Project: Exam-Online Author: Corvey File: SysUser.java License: Apache License 2.0 | 4 votes |
@Transient public List<Byte> getAuthorityIds() { return IdEntity.getCollectionIds(getAuthorities()); }
Example #20
Source Project: youkefu Author: zhangyanbo2007 File: CallOutNames.java License: Apache License 2.0 | 4 votes |
/** * * @return */ @Transient public String getCalltype() { return calltype; }
Example #21
Source Project: youkefu Author: zhangyanbo2007 File: WorkOrders.java License: Apache License 2.0 | 4 votes |
@Transient public int getRowcount() { return rowcount; }
Example #22
Source Project: youkefu Author: zhangyanbo2007 File: DataModel.java License: Apache License 2.0 | 4 votes |
@Transient public String getCurrentagent() { return currentagent; }
Example #23
Source Project: youkefu Author: zhangyanbo2007 File: KbsTopicComment.java License: Apache License 2.0 | 4 votes |
@Transient public Topic getTopic() { return topic; }
Example #24
Source Project: youkefu Author: zhangyanbo2007 File: KbsTopicComment.java License: Apache License 2.0 | 4 votes |
@Transient public User getUser() { return user; }
Example #25
Source Project: youkefu Author: zhangyanbo2007 File: User.java License: Apache License 2.0 | 4 votes |
@Transient public boolean isOnline() { return online; }
Example #26
Source Project: Exam-Online Author: Corvey File: ExamResult.java License: Apache License 2.0 | 4 votes |
@Transient public Integer getRank() { return rank; }
Example #27
Source Project: youkefu Author: zhangyanbo2007 File: Cube.java License: Apache License 2.0 | 4 votes |
@Transient public List<CubeMetadata> getMetadata() { return metadata; }
Example #28
Source Project: youkefu Author: zhangyanbo2007 File: Cube.java License: Apache License 2.0 | 4 votes |
@Transient public List<CubeMeasure> getMeasure() { return measure; }
Example #29
Source Project: youkefu Author: zhangyanbo2007 File: CallAgent.java License: Apache License 2.0 | 4 votes |
@Transient public AtomicInteger getDisnames() { return disnames; }
Example #30
Source Project: youkefu Author: zhangyanbo2007 File: AgentStatus.java License: Apache License 2.0 | 4 votes |
@Transient public int getMaxusers() { SessionConfig sessionConfig = ServiceQuene.initSessionConfig(this.orgi) ; return sessionConfig!=null ? sessionConfig.getMaxuser() : UKDataContext.AGENT_STATUS_MAX_USER ; }