Class MetadataProperty
java.lang.Object
com.atlassian.confluence.api.extension.MetadataProperty
Describes a meta-data property that's returned from
ModelMetadataProvider
.- Since:
- 6.12.0
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataProperty
(String propertyName, Type propertyType) MetadataProperty
(String propertyName, List<MetadataProperty> children) -
Method Summary
Modifier and TypeMethodDescriptionGet the child properties, that are specified without a java type.Get the name of the property.@Nullable Type
Get the java type of the property, or null if there are child properties instead.
-
Constructor Details
-
MetadataProperty
-
MetadataProperty
-
-
Method Details
-
getPropertyName
Get the name of the property. -
getPropertyType
Get the java type of the property, or null if there are child properties instead. The type may be a simple type (String, Integer etc), or a complex type annotated with json serialization annotations. -
getChildren
Get the child properties, that are specified without a java type. A property that has a propertyType will not have dynamic child properties.
-