01: /*
02: * $Id: Actor.java 542 2005-10-05 15:38:43Z hengels $
03: * (c) Copyright 2004 con:cern development team.
04: *
05: * This file is part of con:cern (http://concern.org).
06: *
07: * con:cern is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU Lesser General Public License
09: * as published by the Free Software Foundation; either version 2.1
10: * of the License, or (at your option) any later version.
11: *
12: * Please see COPYING for the complete licence.
13: */
14: package org.concern.model;
15:
16: public class Actor extends Element implements Implementable {
17: String implementation = "";
18:
19: public Actor() {
20: super (null);
21: }
22:
23: public Actor(String name) {
24: super (name);
25: }
26:
27: public Actor(String name, String implementation) {
28: super (name);
29: this .implementation = implementation;
30: }
31:
32: public String getImplementation() {
33: return implementation;
34: }
35:
36: public void setImplementation(String implementation) {
37: Object old = this .implementation;
38: this .implementation = implementation;
39: changes.firePropertyChange("implementation", old,
40: implementation);
41: }
42: }
|