source: java/Framclipse/com.framsticks.framclipse/src/com/framsticks/framclipse/script/model/Argument.java @ 437

Last change on this file since 437 was 437, checked in by Mateusz Poszwa, 9 years ago

Added Framclipse as developed by Bartosz Kukawka and Tomek Maciejewski in 2010

  • Property svn:eol-style set to native
File size: 470 bytes
Line 
1package com.framsticks.framclipse.script.model;
2
3import com.thoughtworks.xstream.annotations.XStreamAlias;
4import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
5
6@XStreamAlias("argument")
7public class Argument {
8
9        @XStreamAsAttribute
10        private String name, type;
11
12        public String getName() {
13                return name;
14        }
15       
16        public String getName(int nr) {
17                return name != null ? name : "arg" + nr;
18        }       
19
20        public String getType() {
21                return type != null ? type : "?";
22        }
23
24}
Note: See TracBrowser for help on using the repository browser.