com.ibm.jarm.api.core

Class RMFactory.NamingPatternSequence

  • java.lang.Object
    • com.ibm.jarm.api.core.RMFactory.NamingPatternSequence
  • Enclosing class:
    RMFactory


    public static class RMFactory.NamingPatternSequence
    extends java.lang.Object
    Factory for NamingPatternSequence instances.
    • Method Detail

      • getInstance

        public static NamingPatternSequence getInstance(FilePlanRepository fpRepository,
                                        java.lang.String namingPatternSequenceId)
        Constructs a placeholder instance of the specified NamingPatternSequence object.
        Parameters:
        fpRepository - the FilePlanRepository that the naming pattern sequence is associated with. This entry cannot be null.
        namingPatternSequenceId - the ID String of the desired naming pattern sequence. This entry cannot be null or blank.
        Returns:
        A NamingPatternSequence instance.
      • createInstance

        public static NamingPatternSequence createInstance(FilePlanRepository fpRepository,
                                           java.lang.String idStr)
        Creates a NamingPatternSequence instance that is associated with the given FilePlanRepository. This new instance can then be further defined using its RMProperties collection and persisted using its save method.

        This createInstance method version allows the caller to optionally specify an Id value to assign the the new instance.

        Parameters:
        fpRepository - the FilePlanRepository to associate the new instance with and eventually save to. This entry cannot be null.
        idStr - a String Id value to be assigned to the new instance. This parameter can be null in which case an Id value will be automatically generated for the new instance.
        Returns:
        A new NamingPatternSequence instance.

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