Beispiel #1
0
 @SuppressWarnings("unchecked")
 @Basic
 @Column(name = "EXPRESSIONNAME")
 public String getExpressionName() {
   if (this.getExpression() instanceof JAXBElement) {
     return JAXBElementUtils.getName(((JAXBElement<ExpressionType>) this.getExpression()));
   } else {
     return null;
   }
 }
Beispiel #2
0
 @SuppressWarnings("unchecked")
 @ManyToOne(
     targetEntity = ExpressionType.class,
     cascade = {CascadeType.ALL})
 @JoinColumn(name = "EXPRESSIONVALUE_CONDITIONTYP_1")
 public ExpressionType getExpressionValue() {
   if (this.getExpression() instanceof JAXBElement) {
     return JAXBElementUtils.getValue(((JAXBElement<ExpressionType>) this.getExpression()));
   } else {
     return null;
   }
 }
Beispiel #3
0
 public void setExpressionValue(ExpressionType target) {
   if (target != null) {
     setExpression(JAXBElementUtils.wrap(this.getExpression(), target));
   }
 }
Beispiel #4
0
 public void setExpressionName(String target) {
   if (target != null) {
     setExpression(JAXBElementUtils.wrap(this.getExpression(), target, ExpressionType.class));
   }
 }