Class CapabilityDTO


  • public class CapabilityDTO
    extends DTO
    Data Transfer Object for a Capability.
    Author:
    $Id: CapabilityDTO.java 1614569 2014-07-30 07:22:32Z cziegeler $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Map<java.lang.String,​java.lang.Object> attributes
      The attributes for the capability.
      java.util.Map<java.lang.String,​java.lang.String> directives
      The directives for the capability.
      int id
      The unique identifier of the capability.
      java.lang.String namespace
      The namespace for the capability.
      int resource
      The identifier of the resource declaring the capability.
    • Constructor Summary

      Constructors 
      Constructor Description
      CapabilityDTO()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • id

        public int id
        The unique identifier of the capability.

        This identifier is transiently assigned and may vary across restarts.

      • directives

        public java.util.Map<java.lang.String,​java.lang.String> directives
        The directives for the capability.
        See Also:
        Capability.getDirectives()
      • attributes

        public java.util.Map<java.lang.String,​java.lang.Object> attributes
        The attributes for the capability.

        The value type must be a numerical type, Boolean, String, DTO or an array of any of the former.

        See Also:
        Capability.getAttributes()
    • Constructor Detail

      • CapabilityDTO

        public CapabilityDTO()