com.versionone.apiclient.interfaces

## Interface IOperation

-     public interface IOperation

  Methods required by VersionOne Operation objects

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `IAssetType` | `getAssetType()` Get the type of asset for this operation
    `String` | `getName()` Get the operation name
    `String` | `getToken()` Get the token for this operation
    `IAttributeDefinition` | `getValidatorAttribute()` Get the definition for the attribute used to validate this operation

- - ### Method Detail

    - #### getToken

          String getToken()

      Get the token for this operation
      Returns:
        operation token

    - #### getName

          String getName()

      Get the operation name
      Returns:
        name of operation

    - #### getAssetType

          IAssetType getAssetType()
                           throws MetaException

      Get the type of asset for this operation
      Returns:
        IAssetType for this operation
      Throws:
        `MetaException` - - if the asset does not support this operation

    - #### getValidatorAttribute

          IAttributeDefinition getValidatorAttribute()
                                              throws MetaException

      Get the definition for the attribute used to validate this operation
      Returns:
        IAttributeDefinition of attribute used to validate this operation
      Throws:
        `MetaException` - if there's a problem getting the information

Copyright © 2016 VersionOne, Inc.. All rights reserved.