Package org.apache.sling.hapi
Interface HApiProperty
A Hypermedia API property for a
HApiType-
Method Summary
Modifier and TypeMethodDescriptionGet the description of this propertyWhether this property is a multiple valuegetName()Get the name of this propertygetType()Get the type of this propertyvoidsetDescription(String description) Set the description of this propertyvoidsetMultiple(Boolean multiple) Set the boolean value for multiplevoidSet the name of this propertyvoidSet the type of this property
-
Method Details
-
getName
String getName()Get the name of this property- Returns:
-
setName
Set the name of this property- Parameters:
name-
-
getDescription
String getDescription()Get the description of this property- Returns:
-
setDescription
Set the description of this property -
getType
HApiType getType()Get the type of this property- Returns:
-
setType
Set the type of this property -
getMultiple
Boolean getMultiple()Whether this property is a multiple value- Returns:
-
setMultiple
Set the boolean value for multiple- Parameters:
multiple-
-