| Constructor and Description |
|---|
InterfaceLevelResource(NodeLevelResource node,
String ifName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIfName() |
String |
getInstance()
Returns a unique name for the instance of this resource.
|
String |
getLabel(CollectionResource resource)
Returns a unique label for the instance of this resource.
|
NodeLevelResource |
getParent() |
Path |
getPath(CollectionResource resource)
Retrieves the path of the resource, relative to the repository root.
|
String |
getTypeName()
Returns the type name associated with the resource.
|
String |
toString() |
public InterfaceLevelResource(NodeLevelResource node, String ifName)
public String getIfName()
public String getLabel(CollectionResource resource)
ResourceCollectionResourceWrapperpublic NodeLevelResource getParent()
public String getInstance()
ResourceIndexStorageStrategygetInstance in interface Resourcepublic Path getPath(CollectionResource resource)
ResourcegetPath in interface Resourceresource - Used by the GenericTypeResource in order to determine the instance name.public String getTypeName()
ResourcegetTypeName in interface ResourceCopyright © 2020. All rights reserved.