Package adalid.core

Class ProcessOperation

    • Constructor Detail

      • ProcessOperation

        public ProcessOperation()
    • Method Detail

      • finalise

        public boolean finalise()
        Description copied from interface: Artifact
        dot the i's and cross the t's
        Specified by:
        finalise in interface Artifact
        Overrides:
        finalise in class Operation
        Returns:
        true if this artifact was successfully finalised; otherwise false
      • isAnnotatedWithProcessOperationClass

        public boolean isAnnotatedWithProcessOperationClass()
        Returns:
        true if annotated with ProcessOperationClass; false otherwise
      • getProperName

        public java.lang.String getProperName()
        Overrides:
        getProperName in class Operation
        Returns:
        the proper name
      • getProcessName

        public java.lang.String getProcessName()
        Returns:
        the process name
      • getProcessingGroup

        public java.lang.String getProcessingGroup()
        Returns:
        the processing group identifier
      • getNewTaskNotification

        public TemporalAddend getNewTaskNotification()
        Returns:
        the new task notification addend
      • isNotifySupervisor

        public boolean isNotifySupervisor()
        Returns:
        the notify supervisor indicator
      • isNotifyAssignment

        public boolean isNotifyAssignment()
        Returns:
        the notify assignment indicator
      • isNotifyAssumption

        public boolean isNotifyAssumption()
        Returns:
        the notify assumption indicator
      • isNotifyRelief

        public boolean isNotifyRelief()
        Returns:
        the notify relief indicator
      • isNotifyAbandonment

        public boolean isNotifyAbandonment()
        Returns:
        the notify abandonment indicator
      • isNotifyCancellation

        public boolean isNotifyCancellation()
        Returns:
        the notify cancellation indicator
      • isNotifyCompletion

        public boolean isNotifyCompletion()
        Returns:
        the notify completion indicator
      • getUnassignedTaskNotification

        public TemporalAddend getUnassignedTaskNotification()
        Returns:
        the unassigned task notification addend
      • getUnfinishedTaskNotification

        public TemporalAddend getUnfinishedTaskNotification()
        Returns:
        the unfinished task notification addend
      • getUnassignedTaskEscalation

        public TemporalAddend getUnassignedTaskEscalation()
        Returns:
        the unassigned task escalation addend
      • getUnfinishedTaskEscalation

        public TemporalAddend getUnfinishedTaskEscalation()
        Returns:
        the unfinished task escalation addend
      • getNextUnassignedTaskNotification

        public TemporalAddend getNextUnassignedTaskNotification()
        Returns:
        the next unassigned task notification addend
      • getNextUnfinishedTaskNotification

        public TemporalAddend getNextUnfinishedTaskNotification()
        Returns:
        the next unfinished task notification addend
      • getNextUnassignedTaskEscalation

        public TemporalAddend getNextUnassignedTaskEscalation()
        Returns:
        the next unassigned task escalation addend
      • getNextUnfinishedTaskEscalation

        public TemporalAddend getNextUnfinishedTaskEscalation()
        Returns:
        the next unfinished task escalation addend
      • getDeadlineAddend

        public TemporalAddend getDeadlineAddend()
        Returns:
        the deadline addend
      • isAutomaticAssumption

        public boolean isAutomaticAssumption()
        Returns:
        the automatic assumption indicator
      • isBuiltIn

        public boolean isBuiltIn()
        Returns:
        the built-in indicator
      • isTreeStructureModifier

        public boolean isTreeStructureModifier()
        Returns:
        the tree structure modifier indicator
      • getJobPriority

        public int getJobPriority()
        Returns:
        the job priority
      • isExtensionBplCodeGenEnabled

        public boolean isExtensionBplCodeGenEnabled()
        Returns:
        true if this operation business process logic code generation is enabled on the declaring entity or any of its extensions
      • isBplCodeGenEnabled

        public boolean isBplCodeGenEnabled()
        Returns:
        the business process logic code generation enabled indicator
      • setBplCodeGenEnabled

        public void setBplCodeGenEnabled​(boolean enabled)
        El método setBplCodeGenEnabled se utiliza para especificar si se debe, o no, generar código BPL (Business Process Logic) para la operación. El método setBplCodeGenEnabled debe ejecutarse en el método settleAttributes de la operación .
        Parameters:
        enabled - true o false para generar, o no, código BPL para la operación
      • isSqlCodeGenEnabled

        public boolean isSqlCodeGenEnabled()
        Returns:
        the SQL code generation enabled indicator
      • setSqlCodeGenEnabled

        public void setSqlCodeGenEnabled​(boolean enabled)
        El método setSqlCodeGenEnabled se utiliza para especificar si se debe, o no, generar código SQL para la operación. El método setSqlCodeGenEnabled debe ejecutarse en el método settleAttributes de la operación.
        Parameters:
        enabled - true o false para generar, o no, código SQL para la operación
      • getOverloading

        public Kleenean getOverloading()
        Returns:
        the overloading indicator
      • getServiceable

        public Kleenean getServiceable()
        Returns:
        the serviceable indicator
      • setServiceable

        public void setServiceable​(Kleenean serviceable)
        El método setServiceable se utiliza para especificar si se debe, o no, generar código BWS (Business Web Service) para la operación. El método setServiceable debe ejecutarse en el método settleAttributes de la operación.
        Parameters:
        serviceable - TRUE o FALSE para generar, o no, código BWS para la operación.
      • isAnnotatedWithConstructionOperationClass

        public boolean isAnnotatedWithConstructionOperationClass()
        Returns:
        true if annotated with ConstructionOperationClass; false otherwise
      • isConstructor

        public boolean isConstructor()
        Overrides:
        isConstructor in class Operation
        Returns:
        the constructor operation indicator
      • isSelfConstructor

        public boolean isSelfConstructor()
        Overrides:
        isSelfConstructor in class Operation
        Returns:
        the self-constructor operation indicator
      • getConstructionType

        public java.lang.Class<? extends Entity> getConstructionType()
        Returns:
        the construction type
      • getConstructionOperationLinkedPropertiesMap

        public java.util.Map<java.lang.String,​Property> getConstructionOperationLinkedPropertiesMap()
      • isValidConstructionOperationLinkedPropertiesMap

        public boolean isValidConstructionOperationLinkedPropertiesMap()
      • addTransition

        public Transition addTransition​(State x,
                                        State y)
        El método addTransition se utiliza para agregar una transición a la lista de transiciones que lleva a cabo la operación.
        Parameters:
        x - estado inicial
        y - estado final
        Returns:
        la transición agregada
      • addTransition

        public void addTransition​(Transition transition)
        El método addTransition se utiliza para agregar una transición a la lista de transiciones que lleva a cabo la operación.
        Parameters:
        transition - la transición a agregar
      • addTriggerOn

        public void addTriggerOn​(State... states)
        El método addTriggerOn se utiliza para agregar uno o más estados a la lista de estados en los cuales se debe disparar la operación.
        Parameters:
        states - uno o más estados de la entidad
      • signature

        public java.lang.String signature()
        Overrides:
        signature in class Operation
      • getValidTypeAnnotations

        protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getValidTypeAnnotations()
        Overrides:
        getValidTypeAnnotations in class Operation