|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProductVersion
Specifies the version number of an application, represented with four release levels and its product release type. The four release levels specify the major, minor, tertiary and patch level of a product.
ProductVersion
,
TypeDefinitionRecord.ProductVersion
Method Summary | |
---|---|
short |
getMajor()
Returns the major component of the version number. |
short |
getMinor()
Returns the minor component of the version number. |
short |
getPatchLevel()
Returns the patch level component of the version number. |
short |
getTertiary()
Returns the tertiary component of the version number. |
ProductReleaseType |
getType()
Returns the associated application's product release type, for example final, debug, beta etc.. |
void |
setMajor(short major)
Sets the major component of this version number. |
void |
setMinor(short minor)
Sets the minor component of the version number. |
void |
setPatchLevel(short patchLevel)
Sets the patch level component of the version number. |
void |
setTertiary(short tertiary)
Sets the tertiary component of the version number. |
void |
setType(ProductReleaseType type)
Sets the associated application's product release type, for example final, debug, beta etc.. |
Method Detail |
---|
@UInt16 short getMajor()
Returns the major component of the version number.
void setMajor(@UInt16 short major) throws IllegalArgumentException
Sets the major component of this version number.
major
- Major component of the version number.
IllegalArgumentException
- Cannot set the major component of this product version
to a negative value.@UInt16 short getMinor()
Returns the minor component of the version number.
void setMinor(@UInt16 short minor) throws IllegalArgumentException
Sets the minor component of the version number.
minor
- Minor component of the version number.
IllegalArgumentException
- Cannot set the minor component of this product version
to a negative value.@UInt16 short getTertiary()
Returns the tertiary component of the version number.
void setTertiary(@UInt16 short tertiary) throws IllegalArgumentException
Sets the tertiary component of the version number.
tertiary
- Tertiary component of the version number.
IllegalArgumentException
- Cannot set the tertiary component of this product version
to a negative value.@UInt16 short getPatchLevel()
Returns the patch level component of the version number.
void setPatchLevel(@UInt16 short patchLevel) throws IllegalArgumentException
Sets the patch level component of the version number.
patchLevel
- Patch level component of the version number.
IllegalArgumentException
- Cannot set the patch level component of this product version
to a negative value.ProductReleaseType getType()
Returns the associated application's product release type, for example final, debug, beta etc..
void setType(ProductReleaseType type) throws NullPointerException
Sets the associated application's product release type, for example final, debug, beta etc..
type
- Associated application's release type.
NullPointerException
- The given product release type is null
.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |