Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
HApiTypeImpl(String name,
String description,
String serverUrl,
String path,
String fqdn,
List<String> parameters,
Map<String,HApiProperty> properties,
HApiType parent,
boolean isAbstract)
A new HApiType
|
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.
|
void |
setParent(HApiType parent) |
void |
setProperties(Map<String,HApiProperty> properties) |
String |
toString() |
public HApiTypeImpl(String name, String description, String serverUrl, String path, String fqdn, List<String> parameters, Map<String,HApiProperty> properties, HApiType parent, boolean isAbstract)
name
- description
- serverUrl
- path
- fqdn
- parameters
- properties
- parent
- 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
public void setParent(HApiType parent)
public void setProperties(Map<String,HApiProperty> properties)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.