Class YamlType
- java.lang.Object
-
- de.iip_ecosphere.platform.services.spring.yaml.YamlType
-
-
Constructor Summary
Constructors Constructor Description YamlType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<YamlField>getFields()Returns the fields of the type.java.lang.StringgetName()Returns the name of the type.voidsetFields(java.util.List<YamlField> fields)Defines the fields of the type.voidsetName(java.lang.String name)Defines the name of the type.
-
-
-
Field Detail
-
name
private java.lang.String name
-
fields
private java.util.List<YamlField> fields
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:TypeReturns the name of the type.
-
getFields
public java.util.List<YamlField> getFields()
Description copied from interface:TypeReturns the fields of the type.
-
setName
public void setName(java.lang.String name)
Defines the name of the type. [required by SnakeYaml]- Parameters:
name- the name
-
setFields
public void setFields(java.util.List<YamlField> fields)
Defines the fields of the type.- Parameters:
fields- the fields
-
-