Schnittstelle IContainableElement<T>

Typparameter:
T -
Alle bekannten Unterschnittstellen:
IAction, IActorPlaceHolder, IALPSSBDComponent, IALPSSIDComponent, IBehaviorDescribingComponent, IChoiceSegment, IChoiceSegmentPath, ICommunicationAct, ICommunicationChannel, ICommunicationRestriction, ICommunicationTransition, ICustomOrExternalDataTypeDefinition, IDataDescribingComponent, IDataMappingFunction, IDataMappingIncomingToLocal, IDataMappingLocalToOutgoing, IDataObjectDefinition, IDataObjectListDefinition, IDataTypeDefinition, IDoFunction, IDoState, IDoTransition, IDoTransitionCondition, IExtensionBehavior, IFlowRestrictor, IFullySpecifiedSubject, IFunctionSpecification, IGenericReturnToOriginReference, IGroupState, IGuardBehavior, IGuardExtension, IGuardReceiveState, IInitialStateOfChoiceSegmentPath, IInputPoolConstraint, IInputPoolConstraintHandlingStrategy, IInteractionDescribingComponent, IInterfaceSubject, IJSONDataTypeDefinition, IMacroBehavior, IMacroExtension, IMacroState, IMessageExchange, IMessageExchangeCondition, IMessageExchangeList, IMessageSenderTypeConstraint, IMessageSpecification, IMessageTypeConstraint, IModelBuiltInDataTypes, IModelLayer, IMultiSubject, IOWLDataTypeDefinition, IPayloadDataObjectDefinition, IPayloadDescription, IPayloadPhysicalObjectDescription, IReceiveFunction, IReceiveState, IReceiveTransition, IReceiveTransitionCondition, IReceiveType, ISenderTypeConstraint, ISendFunction, ISendingFailedCondition, ISendingFailedTransition, ISendState, ISendTransition, ISendTransitionCondition, ISendType, ISingleSubject, IStandaloneMacroSubject, IStandardPASSState, IState, IStatePlaceholder, IStateReference, ISubject, ISubjectBaseBehavior, ISubjectBehavior, ISubjectDataDefinition, ISubjectExecutionMapping, ISubjectExtension, ISystemInterfaceSubject, ITimeTransition, ITimeTransitionCondition, ITransition, ITransitionCondition, IUserCancelTransition, IXSDDataTypeDefinition
Alle bekannten Implementierungsklassen:
Action, ActorPlaceHolder, ALPSSBDComponent, ALPSSIDComponent, BehaviorDescribingComponent, ChoiceSegment, ChoiceSegmentPath, CommunicationAct, CommunicationChannel, CommunicationRestriction, CommunicationTransition, CustomOrExternalDataTypeDefinition, DataDescribingComponent, DataMappingFunction, DataMappingIncomingToLocal, DataMappingLocalToOutgoing, DataObjectDefinition, DataObjectListDefinition, DataTypeDefinition, DoFunction, DoState, DoTransition, DoTransitionCondition, ExtensionBehavior, FlowRestrictor, FullySpecifiedSubject, FunctionSpecification, GenericReturnToOriginReference, GroupState, GuardBehavior, GuardExtension, GuardReceiveState, InitialStateOfChoiceSegmentPath, InputPoolConstraint, InputPoolConstraintHandlingStrategy, InteractionDescribingComponent, InterfaceSubject, JSONDataTypeDefinition, MacroBehavior, MacroExtension, MacroState, MessageExchange, MessageExchangeCondition, MessageExchangeList, MessageSenderTypeConstraint, MessageSpecification, MessageTypeConstraint, ModelBuiltInDataTypes, ModelLayer, MultiSubject, OWLDataTypeDefinition, ParsedStateReferenceStub, PayloadDataObjectDefinition, PayloadDescription, PayloadPhysicalObjectDescription, ReceiveFunction, ReceiveState, ReceiveTransition, ReceiveTransitionCondition, ReceiveType, SenderTypeConstraint, SendFunction, SendingFailedCondition, SendingFailedTransition, SendState, SendTransition, SendTransitionCondition, SendType, SingleSubject, StandaloneMacroSubject, StandardPASSState, State, StatePlaceholder, Subject, SubjectBaseBehavior, SubjectBehavior, SubjectDataDefinition, SubjectExecutionMapping, SubjectExtension, SubjectGroup, SystemInterfaceSubject, TimeTransition, TimeTransitionCondition, Transition, TransitionCondition, UserCancelTransition, XSDDataTypeDefinition

public interface IContainableElement<T>
This interface defines a bit of a loose hierarchy for the pass process model elements. A class can implement it and define which class its "container parent" is. I.e. a State might implement IContainableElement, because states are always contained inside a behavior. if the state is added to a behavior, the behavior can set itself as container while only checking if the given IPASSProcessModelElement is IContainableElement, it does not need to know it is a specific element (a state)
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns the container this element belongs to "out" method
    void
    Removes this element from its container
    void
    setContainedBy(T container)
    Sets the container for this element
  • Methodendetails

    • setContainedBy

      void setContainedBy(T container)
      Sets the container for this element
      Parameter:
      container - the container class
    • getContainedBy

      T getContainedBy()
      Returns the container this element belongs to "out" method
      Gibt zurück:
      true if the container is not null and the element is currently contained by another instance
    • removeFromContainer

      void removeFromContainer()
      Removes this element from its container