blob: 8e0bedf50053c71859b75e9ab0e6ba4792a23445 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package org.openecomp.sdc.toscaparser.api.elements;
import org.openecomp.sdc.toscaparser.jython.elements.JyGroupType;
import com.google.common.base.MoreObjects.ToStringHelper;
public class GroupType extends StatefulEntityType {
private final JyGroupType jyGroupType;
public GroupType(JyGroupType jyGroupType) {
super(jyGroupType);
this.jyGroupType = jyGroupType;
}
public String getVersion() {
return jyGroupType.getJyVersion();
}
public String getDescription() {
return jyGroupType.getJyDescription();
}
@Override
protected ToStringHelper toStringHelper() {
return super.toStringHelper()
.add("version", getVersion())
.add("description", getDescription());
}
}
|