DOFPermissionBinding ClassOpenDOF Object Access Library
The Binding class defines the permission required to binding Objects and Interfaces.
Inheritance Hierarchy

SystemObject
  org.opendof.core.oal.securityDOFPermission
    org.opendof.core.oal.securityDOFPermissionBinding

Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
[SerializableAttribute]
public sealed class Binding : DOFPermission

The DOFPermissionBinding type exposes the following members.

Methods

  NameDescription
Public methodEquals (Inherited from DOFPermission.)
Public methodgetActions
Get the current allowed actions.
Public methodgetAttributes
Returns a the list of attributes that the permission applies to.
Public methodgetBytes (Overrides DOFPermissiongetBytes.)
Public methodgetComplement (Overrides DOFPermissiongetComplement.)
Public methodGetHashCode (Inherited from DOFPermission.)
Public methodgetInterfaceIDs
Returns a copy of the list of interfaces that the permission applies to.
Public methodgetObjectIDs
Returns a copy of the list of objects that the permission applies to.
Public methodgetPermissionType (Overrides DOFPermissiongetPermissionType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodgetWildCardAttributeTypes
Returns a list of wildcard attribute types that this permission applies to.
Public methodisAllAttributesAllowed
Returns whether or not the permission applies to all attributes.
Public methodisAllInterfaceIDs
Returns whether or not the permission applies to all interface identifiers.
Public methodisAllObjectIDs
Returns whether or not the permission applies to all object identifiers.
Public methodisAllowedBy(DOFPermission) (Overrides DOFPermissionisAllowedBy(DOFPermission).)
Public methodisAllowedBy(DOFPermissionSet) (Overrides DOFPermissionisAllowedBy(DOFPermissionSet).)
Public methodisExecute
Return whether or not the permission requests execute access.
Public methodisExplicit
Returns whether or not this permission is considered explicit.
(Inherited from DOFPermission.)
Public methodisIntersection (Overrides DOFPermissionisIntersection(DOFPermission).)
Public methodisProvide
Return whether or not the permission requests provide access.
Public methodisRead
Return whether or not the permission requests read access.
Public methodisSession
Return whether or not the permission requests session access.
Public methodisTerminal (Overrides DOFPermissionisTerminal.)
Public methodisWrite
Return whether or not the permission requests write access.
Public methodmarshal (Overrides DOFPermissionmarshal(DOFMarshalContext, Object, DOFPacket).)
Public methodnormalize (Overrides DOFPermissionnormalize.)
Public methodToString
Returns the string representation of this permission request.
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldStatic memberACTION_ALL
Permission to perform all actions.
Public fieldStatic memberACTION_EXECUTE
Permission to invoke a Method of an Interface.
Public fieldStatic memberACTION_PROVIDE
Permission to provide an Interface.
Public fieldStatic memberACTION_READ
Permission to get a Property or subscribe to a Property or Event of an Interface.
Public fieldStatic memberACTION_SESSION
Permission to open a Session on a Binding.
Public fieldStatic memberACTION_WRITE
Permission to set a Property of an Interface.
Top
Remarks

The Binding class defines the permission required to binding Objects and Interfaces. The specific types of binding: read, write, execute, provide, or session must be specified. An Object list or Interface list may also be specified. If no Objects or Interfaces are specified then all objects and Interfaces are assumed.

Must be created with a Builder . This class is immutable once built. Any changes will need to be made using the Builder.Builder(Binding) constructor.

See Also

Reference