1 22 package org.jboss.aspects.dbc.condition.parser; 23 24 29 public abstract class LoopExpression extends Expression 30 { 31 String declaration; 32 String collection; 33 Expression body; 34 35 public LoopExpression(String declaration, String collection, Expression body) 36 { 37 this.declaration = declaration; 38 this.collection = collection; 39 this.body = body; 40 body.setParent(this); 41 } 42 43 public Expression getBody() 44 { 45 return body; 46 } 47 48 public String getCollection() 49 { 50 return collection; 51 } 52 53 public String getDeclaration() 54 { 55 return declaration; 56 } 57 58 } 59 | Popular Tags |