org.fourthline.cling.model.meta

## Class UDAVersion

- java.lang.Object
- - org.fourthline.cling.model.meta.UDAVersion

- All Implemented Interfaces:
    Validatable

      public class UDAVersion
      extends Object
      implements Validatable

  Version of the UPnP Device Architecture (UDA), defaults to 1.0.
  Author:
    Christian Bauer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UDAVersion()`
    `UDAVersion(int major, int minor)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getMajor()`
    `int` | `getMinor()`
    `List<ValidationError>` | `validate()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UDAVersion

          public UDAVersion()

    - #### UDAVersion

          public UDAVersion(int major,
                    int minor)

  - ### Method Detail

    - #### getMajor

          public int getMajor()

    - #### getMinor

          public int getMinor()

    - #### validate

          public List<ValidationError> validate()

      Specified by:
        `validate` in interface `Validatable`
      Returns:
        An empty `List` if all rules validated properly, otherwise, the detected errors.

Copyright © 2014 4th Line GmbH, Switzerland. All Rights Reserved.