\r
class NodeFilterDefinition {\r
var properties: MutableMap<String, PropertyDefinition>? = null\r
- var capabilities : MutableList<String>? = null\r
+ var capabilities: MutableList<String>? = null\r
}\r
\r
/*\r
A Data Type definition defines the schema for new named datatypes in TOSCA.\r
*/\r
\r
-class DataType : EntityType(){\r
+class DataType : EntityType() {\r
var constraints: MutableList<ConstraintClause>? = null\r
}\r
\r
topology at some stage of its lifecycle, but is not explicitly part of the topology itself\r
(i.e., it does not prevent the application or service from being deployed or run if it did not exist).\r
*/\r
-class PolicyType : EntityType(){\r
+class PolicyType : EntityType() {\r
lateinit var targets: MutableList<String>\r
}\r
\r
var id: String? = null\r
lateinit var type: String\r
var description: String? = null\r
- var metadata : MutableMap<String, String>? = null\r
- var properties : MutableMap<String, JsonNode>? = null\r
+ var metadata: MutableMap<String, String>? = null\r
+ var properties: MutableMap<String, JsonNode>? = null\r
var members = ArrayList<String>()\r
- var interfaces : MutableMap<String, InterfaceDefinition>?= null\r
+ var interfaces: MutableMap<String, InterfaceDefinition>? = null\r
}\r
\r
/*\r
@get:JsonProperty("node_types")\r
var nodeTypes: MutableMap<String, NodeType>? = null\r
@get:JsonProperty("policy_types")\r
- var policyTypes: PolicyType? = null\r
+ var policyTypes: MutableMap<String, PolicyType>? = null\r
@get:JsonProperty("topology_template")\r
var topologyTemplate: TopologyTemplate? = null\r
}\r