List of usage examples for java.util UUID toString
public String toString()
From source file:org.ovirt.engine.sdk.decorators.HostHooks.java
/** * Fetches HostHook object by id.// w ww. j av a 2s .c o m * * @return * {@link HostHook } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public HostHook get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Hook.class, HostHook.class); }
From source file:org.ovirt.engine.sdk.decorators.StorageDomainVMDisks.java
/** * Fetches StorageDomainVMDisk object by id. * * @return/* w ww .j a v a2 s . c o m*/ * {@link StorageDomainVMDisk } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public StorageDomainVMDisk get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Disk.class, StorageDomainVMDisk.class); }
From source file:org.ovirt.engine.sdk.decorators.VMApplications.java
/** * Fetches VMApplication object by id./* w w w . ja v a 2 s . c o m*/ * * @return * {@link VMApplication } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMApplication get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Application.class, VMApplication.class); }
From source file:org.ovirt.engine.sdk.decorators.VMDiskStatistics.java
/** * Fetches VMDiskStatistic object by id. * * @return//from www. j a v a 2s . c o m * {@link VMDiskStatistic } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMDiskStatistic get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Statistic.class, VMDiskStatistic.class); }
From source file:org.ovirt.engine.sdk.decorators.VMNICReportedDevices.java
/** * Fetches VMNICReportedDevice object by id. * * @return// w w w . j a va 2 s. c o m * {@link VMNICReportedDevice } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMNICReportedDevice get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.ReportedDevice.class, VMNICReportedDevice.class); }
From source file:org.ovirt.engine.sdk.decorators.VMNICStatistics.java
/** * Fetches VMNICStatistic object by id.//from ww w .ja v a 2s . c om * * @return * {@link VMNICStatistic } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMNICStatistic get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Statistic.class, VMNICStatistic.class); }
From source file:org.ovirt.engine.sdk.decorators.VMReportedDevices.java
/** * Fetches VMReportedDevice object by id. * * @return/*ww w . jav a 2s .c o m*/ * {@link VMReportedDevice } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMReportedDevice get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.ReportedDevice.class, VMReportedDevice.class); }
From source file:org.ovirt.engine.sdk.decorators.VMSessions.java
/** * Fetches VMSession object by id./*from w w w . j a v a 2 s . co m*/ * * @return * {@link VMSession } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMSession get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Session.class, VMSession.class); }
From source file:org.ovirt.engine.sdk.decorators.VMSnapshotCdRoms.java
/** * Fetches VMSnapshotCdRom object by id. * * @return//from w w w. j a v a2 s.c om * {@link VMSnapshotCdRom } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMSnapshotCdRom get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.CdRom.class, VMSnapshotCdRom.class); }
From source file:org.ovirt.engine.sdk.decorators.VMSnapshotDisks.java
/** * Fetches VMSnapshotDisk object by id./* ww w. j av a2 s . co m*/ * * @return * {@link VMSnapshotDisk } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMSnapshotDisk get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Disk.class, VMSnapshotDisk.class); }