Package org.apache.sling.hapi
Interface HApiProperty
-
@ProviderType public interface HApiPropertyA Hypermedia API property for aHApiType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Get the description of this propertyjava.lang.BooleangetMultiple()Whether this property is a multiple valuejava.lang.StringgetName()Get the name of this propertyHApiTypegetType()Get the type of this propertyvoidsetDescription(java.lang.String description)Set the description of this propertyvoidsetMultiple(java.lang.Boolean multiple)Set the boolean value for multiplevoidsetName(java.lang.String name)Set the name of this propertyvoidsetType(HApiType type)Set the type of this property
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the name of this property- Returns:
-
setName
void setName(java.lang.String name)
Set the name of this property- Parameters:
name-
-
getDescription
java.lang.String getDescription()
Get the description of this property- Returns:
-
setDescription
void setDescription(java.lang.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
java.lang.Boolean getMultiple()
Whether this property is a multiple value- Returns:
-
setMultiple
void setMultiple(java.lang.Boolean multiple)
Set the boolean value for multiple- Parameters:
multiple-
-
-