Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
frascati
frascati
Commits
9d53b881
Commit
9d53b881
authored
May 24, 2017
by
seinturi
Browse files
Support custom setter name in AttributeDesc.
Adlet: support declaring the attribute control interface.
parent
1ff0284f
Changes
1
Show whitespace changes
Inline
Side-by-side
tinfi/module/adlparser-scaadl/src/main/java/org/ow2/frascati/tinfi/emf/EMFParserSupportImpl.java
View file @
9d53b881
...
...
@@ -575,7 +575,9 @@ public class EMFParserSupportImpl extends AbstractADLSupportImpl<Composite> {
type
=
typeqname
.
getLocalPart
();
}
String
value
=
propvalue
.
getValue
();
AttributeDesc
adesc
=
new
AttributeDesc
(
cdesc
,
null
,
name
,
value
,
type
);
String
setterName
=
name
.
substring
(
0
,
1
).
toUpperCase
()+
name
.
substring
(
1
);
AttributeDesc
adesc
=
new
AttributeDesc
(
cdesc
,
null
,
name
,
value
,
type
,
setterName
);
cdesc
.
putAttribute
(
name
,
adesc
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment