public class InterfaceLevelResource extends AbstractResource
Constructor and Description |
---|
InterfaceLevelResource(NodeLevelResource node,
String ifName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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() |
ResourcePath |
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 |
getUnmodifiedInstance()
Returns the original unmodified unique name for the instance of this resource.
|
int |
hashCode() |
String |
toString() |
getTimestamp, resolve, setTimestamp
public InterfaceLevelResource(NodeLevelResource node, String ifName)
public String getIfName()
public NodeLevelResource getParent()
public String getInstance()
Resource
IndexStorageStrategy
public String getUnmodifiedInstance()
Resource
ObjectNameStorageStrategy
public String getLabel(CollectionResource resource)
Resource
CollectionResourceWrapper
String
object.public ResourcePath getPath(CollectionResource resource)
Resource
resource
- Used by the GenericTypeResource
in order to determine the instance name.public String getTypeName()
Resource
Copyright © 2021. All rights reserved.