Package org.apache.sling.hapi
Interface HApiProperty
-
@ProviderType public interface HApiProperty
A Hypermedia API property for aHApiType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Get the description of this propertyBooleangetMultiple()Whether this property is a multiple valueStringgetName()Get the name of this propertyHApiTypegetType()Get the type of this propertyvoidsetDescription(String description)Set the description of this propertyvoidsetMultiple(Boolean multiple)Set the boolean value for multiplevoidsetName(String name)Set the name of this propertyvoidsetType(HApiType type)Set the type of this property
-
-
-
Method Detail
-
getName
String getName()
Get the name of this property- Returns:
-
setName
void setName(String name)
Set the name of this property- Parameters:
name-
-
getDescription
String getDescription()
Get the description of this property- Returns:
-
setDescription
void setDescription(String description)
Set the description of this property
-
getType
HApiType getType()
Get the type of this property- Returns:
-
setType
void setType(HApiType type)
Set the type of this property
-
getMultiple
Boolean getMultiple()
Whether this property is a multiple value- Returns:
-
setMultiple
void setMultiple(Boolean multiple)
Set the boolean value for multiple- Parameters:
multiple-
-
-