Skip navigation links

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

E12907-03


oracle.irm.engine.content.schema
Class SchemaVersionFactory

java.lang.Object
  extended by oracle.irm.engine.content.schema.SchemaVersionFactory


public final class SchemaVersionFactory
extends Object

Schema Version factory. This class provides methods for creating new instances of SchemaVersion objects.


Method Summary
static SchemaVersion createSchemaVersion(int major, int minor)
          Create a schema version.
static SchemaVersion createSchemaVersion(String version)
          Create a schema version given a string representation.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createSchemaVersion

public static SchemaVersion createSchemaVersion(int major,
                                                int minor)
Create a schema version.
Parameters:
major - major number.
minor - minor number.
Returns:
a new Schema Version instance.

createSchemaVersion

public static SchemaVersion createSchemaVersion(String version)
                                         throws IllegalArgumentException
Create a schema version given a string representation.
Parameters:
version - version in dotted string form (e.g. 6.0).
Returns:
a new Schema Version instance.
Throws:
IllegalArgumentException - the version is not in a valid format.

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.