com.ibm.jarm.api.core

Class RMFactory.Container

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


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

      • fetchInstance

        public static Container fetchInstance(FilePlanRepository fpRepository,
                              EntityType entityType,
                              java.lang.String containerIdent,
                              RMPropertyFilter filter)
        Retrieves a generic Container from a repository.
        Parameters:
        fpRepository - the FilePlanRepository to retrieve from. This entry cannot be null.
        entityType - the expected EntityType of the desired container. This entry cannot be null.
        containerIdent - an ID String or full path String of the desired container. This entry cannot be null or blank.
        filter - an optional RMPropertyFilter defining which properties to retrieve. This entry can be null.
        Returns:
        A Container instance.
      • getInstance

        public static Container getInstance(FilePlanRepository fpRepository,
                            EntityType entityType,
                            java.lang.String containerIdent)
        Constructs a placeholder instance of a specific Container. A placeholder instance can be used for performing updates and as a reference for an object-type property value.
        Parameters:
        fpRepository - the FilePlanRepository that the container is associated with. This entry cannot be null.
        entityType - the EntityType of the desired container. This entry cannot be null.
        containerIdent - an ID String or full path String of the desired container. This entry cannot be null or blank.
        Returns:
        A subclass of Container.

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