com.versionone.apiclient.interfaces.IMetaModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of VersionOne.SDK.Java.APIClient Show documentation
Show all versions of VersionOne.SDK.Java.APIClient Show documentation
A library for custom Java development against the VersionOne Development Platform's REST API.
package com.versionone.apiclient.interfaces;
import com.versionone.apiclient.exceptions.MetaException;
/**
* Methods required by objects providing VersionOne MetaModel data
*/
public interface IMetaModel {
/**
* Get type information on the asset specified in the token
*
* @param token - token of desired asset
* @return IAssetType for asset defined in token
* @throws MetaException if an error occurs while locating the asset
*/
IAssetType getAssetType(String token) throws MetaException;
/**
* Get the definition of an attribute specified in the token
*
* @param token - token of desired attribute
* @return IAttributeDefinition for attribute specified
* @throws MetaException if an error occurs finding the attribute
*/
IAttributeDefinition getAttributeDefinition(String token) throws MetaException;
/**
* Get information on an operation specified in the token
*
* @param token - token of desired operation
* @return IOperation based on token
* @throws MetaException if as error occurs finding the operation information
*/
IOperation getOperation(String token) throws MetaException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy