Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
HApiTypeLazyWrapper(HApiUtil util,
org.apache.sling.api.resource.ResourceResolver resolver,
String serverUrl,
org.apache.sling.api.resource.Resource resource) |
HApiTypeLazyWrapper(HApiUtil util,
org.apache.sling.api.resource.ResourceResolver resolver,
String serverUrl,
String name)
A new HApiType that is just a weak reference by name
|
Modifier and Type | Method and Description |
---|---|
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
|
String |
getDescription()
The description of this type
|
String |
getFqdn()
The fully qualified domain name of this type
|
String |
getName()
The name of this type
|
List<String> |
getParameters()
A list of
String representing java-like generic types that can be used as types for the properties belonging to this type |
HApiType |
getParent()
Returns the parent type object
|
String |
getPath()
The path of the Resource representing this type
|
Map<String,HApiProperty> |
getProperties()
A map with the names of the properties as keys and the HApiProperty object as values defined for this type
|
String |
getUrl()
The external URL of the node representing this type
|
boolean |
isAbstract()
Whether this type is abstract or not.
|
String |
toString() |
public HApiTypeLazyWrapper(HApiUtil util, org.apache.sling.api.resource.ResourceResolver resolver, String serverUrl, String name)
util
- resolver
- name
- public String getName()
public String getDescription()
getDescription
in interface HApiType
public String getPath()
public String getUrl()
public String getFqdn()
public List<String> getParameters()
String
representing java-like generic types that can be used as types for the properties belonging to this typegetParameters
in interface HApiType
public Map<String,HApiProperty> getProperties()
This list does not include properties inherited from the parent type
getProperties
in interface HApiType
public Map<String,HApiProperty> getAllProperties()
getAllProperties
in interface HApiType
public HApiType getParent()
public boolean isAbstract()
isAbstract
in interface HApiType
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.