org.teleal.cling.model.meta
Class UDAVersion

java.lang.Object
  extended by org.teleal.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
UDAVersion()
           
UDAVersion(int major, int minor)
           
 
Method Summary
 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 © 2011 Teleal GmbH, Switzerland. All Rights Reserved.