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, setTimestamppublic InterfaceLevelResource(NodeLevelResource node, String ifName)
public String getIfName()
public NodeLevelResource getParent()
public String getInstance()
ResourceIndexStorageStrategypublic String getUnmodifiedInstance()
ResourceObjectNameStorageStrategypublic String getLabel(CollectionResource resource)
ResourceCollectionResourceWrapperString object.public ResourcePath getPath(CollectionResource resource)
Resourceresource - Used by the GenericTypeResource in order to determine the instance name.public String getTypeName()
ResourceCopyright © 2022. All rights reserved.