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 | |
---|
1 | package com.framsticks.framclipse.script.model; |
---|
2 | |
---|
3 | import com.thoughtworks.xstream.annotations.XStreamAlias; |
---|
4 | import com.thoughtworks.xstream.annotations.XStreamAsAttribute; |
---|
5 | |
---|
6 | @XStreamAlias("argument") |
---|
7 | public 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.