Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.core.general
Interface ProductVersion

All Superinterfaces:
Comparable<ProductVersion>

public interface ProductVersion
extends Comparable<ProductVersion>

A product version. The Oracle format for product versions, also including an IRM specific build number.

Creation

Instances of Product Version objects can be created using the following factory style method(s).

ProductVersion object = createProductVersion(version);
ProductVersion object = createProductVersion(
    major,
    base,
    release,
    patchSet,
    port,
    build);

XML Serialization

Product Version instances can be serialized as an XML document. This XML document can also be used to recreate a Product Version object. The following XML document shows an example Product Version in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<core:ProductVersion xmlns:core="http://xmlns.oracle.com/irm/core">
    <version>6.5.4.3.2</version>
</core:ProductVersion>


Method Summary
 short getBase()
          Base version number.
 short getBuild()
          Build number.
 short getMajor()
          Major version number.
 short getPatchSet()
          Patch set.
 short getPort()
          OS Port.
 short getRelease()
          Release.
 String getVersion()
          The version string.

 

Methods inherited from interface java.lang.Comparable
compareTo

 

Method Detail

getVersion

String getVersion()
The version string. e.g. 11.1.1.0.0.
Returns:
the value of the property. This method will never return null.

getMajor

short getMajor()
Major version number.

Transient

This property is transient and will not be serialized (e.g into XML, remote method calls).
Returns:
the value of the property.

getBase

short getBase()
Base version number.

Transient

This property is transient and will not be serialized (e.g into XML, remote method calls).
Returns:
the value of the property.

getRelease

short getRelease()
Release.

Transient

This property is transient and will not be serialized (e.g into XML, remote method calls).
Returns:
the value of the property.

getPatchSet

short getPatchSet()
Patch set.

Transient

This property is transient and will not be serialized (e.g into XML, remote method calls).
Returns:
the value of the property.

getPort

short getPort()
OS Port.

Transient

This property is transient and will not be serialized (e.g into XML, remote method calls).
Returns:
the value of the property.

getBuild

short getBuild()
Build number. This is IRM specific.

Transient

This property is transient and will not be serialized (e.g into XML, remote method calls).
Returns:
the value of the property.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.