public ConditionDefinitionImpl(ConditionDefinition src) { Misc.badStateIfNull(src, "Ouch! Impossible to build a new Definition object from null"); this.contentAsString = src.getContentAsString(); this.type = src.getType(); this.xpression = src.getXpression(); this.xpressionContentAsString = src.getXpressionContentAsString(); }
String condition = null; if (transition.getCondition() != null) { condition = transition.getCondition().getContentAsString();
public ConditionDefinitionImpl(ConditionDefinition src) { Misc.badStateIfNull(src, "Ouch! Impossible to build a new Definition object from null"); this.contentAsString = src.getContentAsString(); this.type = src.getType(); this.xpression = src.getXpression(); this.xpressionContentAsString = src.getXpressionContentAsString(); }