View Javadoc
1 package org.smartcomps.twister.engine.priv.core.definition.impl; 2 3 import org.smartcomps.twister.engine.priv.core.definition.Activity; 4 import org.smartcomps.twister.engine.priv.core.definition.Link; 5 6 /*** 7 * Persistent implementation of the Link interface. 8 * @see org.smartcomps.twister.engine.priv.core.Link 9 * @hibernate.class table="LINK" 10 */ 11 public class LinkImpl implements Link { 12 13 private Long id; 14 private ActivityImpl source; 15 private ActivityImpl target; 16 private String transitionCondition; 17 18 /*** 19 * @hibernate.id generator-class="native" type="long" 20 */ 21 public Long getId() { 22 return id; 23 } 24 25 public void setId(Long id) { 26 this.id = id; 27 } 28 29 /*** 30 * @hibernate.many-to-one class="org.smartcomps.twister.engine.priv.core.definition.impl.ActivityImpl" column="SRC_ACT_ID" 31 */ 32 public Activity getSource() { 33 return source; 34 } 35 36 public void setSource(Activity source) { 37 this.source = (ActivityImpl) source; 38 } 39 40 /*** 41 * @hibernate.many-to-one class="org.smartcomps.twister.engine.priv.core.definition.impl.ActivityImpl" column="TGT_ACT_ID" 42 */ 43 public Activity getTarget() { 44 return target; 45 } 46 47 public void setTarget(Activity target) { 48 this.target = (ActivityImpl) target; 49 } 50 51 /*** 52 * @hibernate.property column="TRANSCOND" length="300" 53 */ 54 public String getTransitionCondition() { 55 return transitionCondition; 56 } 57 58 public void setTransitionCondition(String transitionCondition) { 59 this.transitionCondition = transitionCondition; 60 } 61 62 63 }

This page was automatically generated by Maven