com.belladati.sdk.util.ResourceInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-api Show documentation
Show all versions of sdk-api Show documentation
The BellaDati SDK allows accessing a BellaDati server from 3rd-party applications using Java. This project contains the SDK's interface definitions.
package com.belladati.sdk.util;
/**
* An information object representing a resource from the BellaDati API. Call
* {@link #loadDetails()} to load the full resource from the server.
*
* @author Chris Hennigfeld
*/
public interface ResourceInfo extends IdElement {
/**
* Returns the ID of the resource represented by this info object.
*
* @return the ID of the resource represented by this info object
*/
String getId();
/**
* Returns the name of the resource represented by this info object.
*
* @return the name of the resource represented by this info object
*/
String getName();
/**
* Loads the full resource from the server.
*
* @return the full resource represented by this info object
*/
T loadDetails();
}