001 /* 002 * JBoss DNA (http://www.jboss.org/dna) 003 * See the COPYRIGHT.txt file distributed with this work for information 004 * regarding copyright ownership. Some portions may be licensed 005 * to Red Hat, Inc. under one or more contributor license agreements. 006 * See the AUTHORS.txt file in the distribution for a full listing of 007 * individual contributors. 008 * 009 * JBoss DNA is free software. Unless otherwise indicated, all code in JBoss DNA 010 * is licensed to you under the terms of the GNU Lesser General Public License as 011 * published by the Free Software Foundation; either version 2.1 of 012 * the License, or (at your option) any later version. 013 * 014 * JBoss DNA is distributed in the hope that it will be useful, 015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 017 * Lesser General Public License for more details. 018 * 019 * You should have received a copy of the GNU Lesser General Public 020 * License along with this software; if not, write to the Free 021 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 022 * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 023 */ 024 package org.jboss.dna.sequencer.jpdl3; 025 026 /** 027 * Metdata class represent a swimlane in a jpdl xml file. 028 * 029 * @author Serge Pagop 030 */ 031 public class JPDL3SwimlaneMetadata { 032 033 /** 034 * The name. 035 */ 036 private String name = ""; 037 038 /** 039 * The JPDL3AssignmentMetadata 040 */ 041 private JPDL3AssignmentMetadata assignment; 042 043 /** 044 * The actor id expression. 045 */ 046 private String actorIdExpression = ""; 047 048 /** 049 * The pooledActorsExpression. 050 */ 051 private String pooledActorsExpression = ""; 052 053 /** 054 * Get the name of the specific swimlane. 055 * 056 * @return name of the swimlane. 057 */ 058 public String getName() { 059 return this.name; 060 } 061 062 /** 063 * Set the name of the swimlane. 064 * 065 * @param name - the name of the swimlane. 066 */ 067 public void setName( String name ) { 068 this.name = name; 069 } 070 071 /** 072 * Get the delegated instance, the assignment. 073 * 074 * @return assignment - the delegated instance. 075 */ 076 public JPDL3AssignmentMetadata getAssignment() { 077 return this.assignment; 078 } 079 080 /** 081 * Set the delegated instance, the assignment. 082 * 083 * @param assignment - the delegated instance. 084 */ 085 public void setAssignment( JPDL3AssignmentMetadata assignment ) { 086 this.assignment = assignment; 087 } 088 089 /** 090 * @param actorIdExpression 091 */ 092 public void setActorIdExpression( String actorIdExpression ) { 093 this.actorIdExpression = actorIdExpression; 094 } 095 096 /** 097 * @return actorIdExpression 098 */ 099 public String getActorIdExpression() { 100 return actorIdExpression; 101 } 102 103 /** 104 * @param pooledActorsExpression 105 */ 106 public void setPooledActorsExpression( String pooledActorsExpression ) { 107 this.pooledActorsExpression = pooledActorsExpression; 108 } 109 110 /** 111 * @return pooledActorsExpression 112 */ 113 public String getPooledActorsExpression() { 114 return pooledActorsExpression; 115 } 116 117 }