- private ToscaSchemaDefinition convert(final EntrySchema entrySchema) {
- if (entrySchema == null) {
- return null;
- }
- final ToscaSchemaDefinition toscaSchemaDefinition = new ToscaSchemaDefinition();
- toscaSchemaDefinition.setType(entrySchema.getType());
- toscaSchemaDefinition.setDescription(entrySchema.getDescription());
- return toscaSchemaDefinition;
- }
-