/** {@inheritDoc} */ @Override public ResourcePath getPath() { return m_agent.getStorageResourcePath(); }
@Override public ResourcePath getParent() { return m_agent.getStorageResourcePath(); }
@Override public final ResourcePath getParent() { return m_agent.getStorageResourcePath(); }
/** {@inheritDoc} */ @Override public ResourcePath getPath() { return getCollectionAgent().getStorageResourcePath(); }
@Override public ResourcePath getParent() { return getCollectionAgent().getStorageResourcePath(); }
@Override public ResourcePath getParent() { return getCollectionAgent().getStorageResourcePath(); }
@Override public ResourcePath getParent() { return getCollectionAgent().getStorageResourcePath(); }
@Override public ResourcePath getPath() { String label = getInterfaceLabel(); if (label == null || "".equals(label)) { throw new IllegalStateException("Could not construct resource directory because interface label is null or blank: nodeId: " + getNodeId()); } return ResourcePath.get(getCollectionAgent().getStorageResourcePath(), label); }
public CollectionAgentDTO(CollectionAgent agent) { Objects.requireNonNull(agent); for (String attribute : agent.getAttributeNames()) { setAttribute(attribute, agent.getAttribute(attribute)); } address = agent.getAddress(); storeByForeignSource = agent.isStoreByForeignSource(); nodeId = agent.getNodeId(); nodeLabel = agent.getNodeLabel(); foreignSource = agent.getForeignSource(); foreignId = agent.getForeignId(); location = agent.getLocationName(); setStorageResourcePath(agent.getStorageResourcePath()); sysUpTime = agent.getSavedSysUpTime(); }