Media Authoring
with Java API

tv.amwa.maj.record
Interface VersionType

All Known Implementing Classes:
VersionType

public interface VersionType

Specifies a 2-byte unsigned version number, consisting of a major and minor component.

Author:
Richard Cartwright
See Also:
TypeDefinitionRecord.VersionType

Method Summary
 byte getMajor()
          Returns the major component of the version number.
 byte getMinor()
          Returns the minor component of the version number.
 void setMajor(byte major)
          Sets the major component of the version number.
 void setMinor(byte minor)
          Sets the minor component of the version number.
 

Method Detail

getMajor

@UInt8
byte getMajor()

Returns the major component of the version number.

Returns:
Major component of the version number.

setMajor

void setMajor(@UInt8
              byte major)

Sets the major component of the version number.

Parameters:
major - Major component of the version number.


getMinor

@UInt8
byte getMinor()

Returns the minor component of the version number.

Returns:
Minor component of the version number.

setMinor

void setMinor(@UInt8
              byte minor)

Sets the minor component of the version number.

Parameters:
minor - Minor component of the version number.

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.