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 java.lang.String
getDescription()
Get the description of this propertyjava.lang.Boolean
getMultiple()
Whether this property is a multiple valuejava.lang.String
getName()
Get the name of this propertyHApiType
getType()
Get the type of this propertyvoid
setDescription(java.lang.String description)
Set the description of this propertyvoid
setMultiple(java.lang.Boolean multiple)
Set the boolean value for multiplevoid
setName(java.lang.String name)
Set the name of this propertyvoid
setType(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
-
-
-