com.ibm.jarm.api.core

Class RMFactory.Record

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


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

      • fetchInstance

        public static Record fetchInstance(FilePlanRepository fpRepository,
                           java.lang.String recordIdent,
                           RMPropertyFilter filter)
        Retrieves a Record from a file plan repository.
        Parameters:
        fpRepository - the FilePlanRepository to retrieve from. This entry cannot be null.
        recordIdent - an ID String or full path String of the desired record. This entry cannot be null or blank.
        filter - an optional RMPropertyFilter defining which properties to retrieve. This entry can be null.
        Returns:
        A Record instance.
      • getInstance

        public static Record getInstance(FilePlanRepository fpRepository,
                         java.lang.String recordIdent,
                         EntityType recordEntityType)
        Constructs a placeholder instance of a specific Record. A placeholder instance can be used for performing updates and as a reference for an object-type property value.
        Parameters:
        fpRepository - The repository that the record is associated with. This entry cannot be null.
        recordIdent - ID or full path string of the desired record. This entry cannot be null or empty/blank.
        recordEntityType - Expected entity type of the record.
        Returns:
        A Record instance.

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