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)
Resource
CollectionResourceWrapper
public NodeLevelResource getParent()
public String getInstance()
Resource
IndexStorageStrategy
getInstance
in interface Resource
public Path getPath(CollectionResource resource)
Resource
getPath
in interface Resource
resource
- Used by the GenericTypeResource
in order to determine the instance name.public String getTypeName()
Resource
getTypeName
in interface Resource
Copyright © 2018. All rights reserved.