com.ibm.jarm.api.core

Class RMFactory.RMPermission

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


    public static class RMFactory.RMPermission
    extends java.lang.Object
    Factory for RMPermission instances.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static RMPermission createInstance(DomainType domainType)
      Returns a new RMPermission instance.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createInstance

        public static RMPermission createInstance(DomainType domainType)
        Returns a new RMPermission instance.

        This new instance can be further defined and then included in a List collection in order to be applied to some entity using its Persistable.setPermissions method. This collection is then persisted when the associated entity is saved.

        Parameters:
        domainType - The DomainType to which some entity is or will be associated with, and to which this new permission will belong to. This entry cannot be null.
        Returns:
        A new RMPermission instance.

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