package org.alfresco.repo.policy; import org.alfresco.api.AlfrescoPublicApi; import org.alfresco.service.namespace.QName; /** * Description of a bound Behaviour. * * @author David Caruana * * @param The type of Binding. */ @AlfrescoPublicApi public interface BehaviourDefinition { /** * Gets the Policy bound to * * @return the policy name */ public QName getPolicy(); /** * Gets the definition of the Policy bound to * * @return the policy definition (or null, if the Policy has not been registered yet) */ public PolicyDefinition getPolicyDefinition(); /** * Gets the binding used to bind the Behaviour to the Policy * * @return the binding */ public B getBinding(); /** * Gets the Behaviour * * @return the behaviour */ public Behaviour getBehaviour(); }