com.ibm.jarm.api.constants

Enum RepositoryType

  • java.lang.Object
    • java.lang.Enum<RepositoryType>
      • com.ibm.jarm.api.constants.RepositoryType
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<RepositoryType>


    public enum RepositoryType
    extends java.lang.Enum<RepositoryType>
    Enumerated values that define a particular type of repository with respect to IBM Enterprise Records.
    See Also:
    Repository.getRepositoryType
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      Combined
      A repository that is designated as a "combined" FPOS/ROS per its current P8 Add-on status.
      Content
      A repository that has the IBM Enterprise Records "ROS" data model installed (but not any "FPOS" data model).
      FilePlan
      A repository that has one of the IBM Enterprise Records "FPOS" data models installed.
      Plain
      A "plain" repository that does not have any IBM Enterprise Records data model installed.
      Unknown
      Unknown repository type.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static RepositoryType valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static RepositoryType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Unknown

        public static final RepositoryType Unknown
        Unknown repository type.
      • Plain

        public static final RepositoryType Plain
        A "plain" repository that does not have any IBM Enterprise Records data model installed.
      • Content

        public static final RepositoryType Content
        A repository that has the IBM Enterprise Records "ROS" data model installed (but not any "FPOS" data model).
      • FilePlan

        public static final RepositoryType FilePlan
        A repository that has one of the IBM Enterprise Records "FPOS" data models installed. Note that a FilePlan repository is often, by definition, also a Content repository.
      • Combined

        public static final RepositoryType Combined
        A repository that is designated as a "combined" FPOS/ROS per its current P8 Add-on status. Keep in mind that every P8 "FilePlan" repository is also a "Content" repository; however only those FilePlan repositories that have both Add-on officially installed are designated as "Combined." (This is all per FVT request.)
    • Method Detail

      • values

        public static RepositoryType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RepositoryType c : RepositoryType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RepositoryType valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null

© Copyright IBM Corp. 2010, 2013. All Rights Reserved.