Package org.apache.sling.hapi
Interface HApiType
A Hypermedia API type.
-
Method Summary
Modifier and TypeMethodDescriptionA map with the names of the properties as keys and the HApiProperty object as values defined for this type, including the properties inherited from the parent typeThe description of this typegetFqdn()The fully qualified domain name of this typegetName()The name of this typeA list ofStringrepresenting java-like generic types that can be used as types for the properties belonging to this typeReturns the parent type objectgetPath()The path of the Resource representing this typeA map with the names of the properties as keys and the HApiProperty object as values defined for this typegetUrl()The external URL of the node representing this typebooleanWhether this type is abstract or not.
-
Method Details
-
getName
String getName()The name of this type- Returns:
-
getDescription
String getDescription()The description of this type- Returns:
-
getPath
String getPath()The path of the Resource representing this type- Returns:
-
getUrl
String getUrl()The external URL of the node representing this type- Returns:
-
getFqdn
String getFqdn()The fully qualified domain name of this type- Returns:
-
getParameters
A list ofStringrepresenting java-like generic types that can be used as types for the properties belonging to this type- Returns:
-
getProperties
Map<String,HApiProperty> getProperties()A map with the names of the properties as keys and the HApiProperty object as values defined for this typeThis list does not include properties inherited from the parent type
- Returns:
-
getAllProperties
Map<String,HApiProperty> getAllProperties()A map with the names of the properties as keys and the HApiProperty object as values defined for this type, including the properties inherited from the parent type- Returns:
-
getParent
HApiType getParent()Returns the parent type object- Returns:
-
isAbstract
boolean isAbstract()Whether this type is abstract or not. An abstract type is an identifier that does not map to a jcr node as a path or as a FQDN- Returns:
-