com.ibm.jarm.api.core

Class RMFactory.ReportDefinition

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


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

      • getInstance

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

        public static ReportDefinition createInstance(FilePlanRepository fpRepository,
                                      java.lang.String idStr)
        Creates a ReportDefinition instance that is associated with the given FilePlanRepository.

        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 value to be assigned as report id of the new report definition. This parameter can be null in which case an id value will be automatically generated for the new instance.
        Returns:
        A new ReportDefinition instance.

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