Class ClassBehaviourBinding

java.lang.Object
org.alfresco.repo.policy.ClassBehaviourBinding
All Implemented Interfaces:
BehaviourBinding
Direct Known Subclasses:
ClassFeatureBehaviourBinding

@AlfrescoPublicApi public class ClassBehaviourBinding extends Object implements BehaviourBinding
Behaviour binding to a Class (Type or Aspect) in the Content Model.
Author:
David Caruana
  • Method Details

    • generaliseBinding

      public BehaviourBinding generaliseBinding()
      Description copied from interface: BehaviourBinding
      Gets a generalised form of the Binding. For example, if the binding key is hierarchical, return the parent key.
      Specified by:
      generaliseBinding in interface BehaviourBinding
      Returns:
      the generalised form (or null, if there isn't one)
    • getNodeRef

      public NodeRef getNodeRef()
      Gets the instance level node reference
      Returns:
      the node reference
    • getClassQName

      public QName getClassQName()
      Gets the class qualified name
      Returns:
      the class qualified name
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object