Alle implementierten Schnittstellen:
IGroupState, IALPSSBDComponent, IALPSModelElement, ICapsuleCallback, IGraphCallback, IParseablePASSProcessModelElement, IImplementingElement, IImplementingElementT<IState>, IPASSProcessModelElement, IState, IMacroState, IStateReference, IBehaviorDescribingComponent, IContainableElement<ISubjectBehavior>, IHasSimple2DVisualizationBox, IValueChangedObserver<IPASSProcessModelElement>, IValueChangedPublisher<IPASSProcessModelElement>

public class GroupState extends State implements IGroupState
From abstract pass ont: StateGroups/GroupStates and/or Checklist are model objects that can "contain" other SBD-Model elements as their Sub-Shapes in order to group them.
  • Felddetails

  • Konstruktordetails

    • GroupState

      public GroupState()
    • GroupState

      public GroupState(ISubjectBehavior behavior, String labelForId, IGuardBehavior guardBehavior, IFunctionSpecification functionSpecification, Set<ITransition> incomingTransition, Set<ITransition> outgoingTransition, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute)
      Constructor that creates a new fully specified instance of the group state class
      Parameter:
      behavior -
      labelForId - a string describing this element which is used to generate the unique model component id
      guardBehavior -
      functionSpecification -
      incomingTransition -
      outgoingTransition -
      comment -
      additionalLabel -
      additionalAttribute -
    • GroupState

      public GroupState(ISubjectBehavior behavior)
      Constructor that creates a new fully specified instance of the group state class
      Parameter:
      behavior -
  • Methodendetails

    • getClassName

      public String getClassName()
      Beschreibung aus Klasse kopiert: PASSProcessModelElement
      public static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "."; }
      Angegeben von:
      getClassName in Schnittstelle IParseablePASSProcessModelElement
      Setzt außer Kraft:
      getClassName in Klasse State
      Gibt zurück:
      The name of the current class
    • getParsedInstance

      public IParseablePASSProcessModelElement getParsedInstance()
      Angegeben von:
      getParsedInstance in Schnittstelle IParseablePASSProcessModelElement
      Setzt außer Kraft:
      getParsedInstance in Klasse State
    • getExportTag

      protected String getExportTag()
      Setzt außer Kraft:
      getExportTag in Klasse PASSProcessModelElement
    • addGroupedComponent

      public boolean addGroupedComponent(IBehaviorDescribingComponent component)
      Beschreibung aus Schnittstelle kopiert: IGroupState
      Adds a component to the group of components grouped by this state
      Angegeben von:
      addGroupedComponent in Schnittstelle IGroupState
      Parameter:
      component - the new component
      Gibt zurück:
      whether the process of adding was successful
    • setGroupedComponents

      public void setGroupedComponents(Set<IBehaviorDescribingComponent> components, int removeCascadeDepth)
      Beschreibung aus Schnittstelle kopiert: IGroupState
      Overrides the set of grouped components
      Angegeben von:
      setGroupedComponents in Schnittstelle IGroupState
      Parameter:
      components - the new components
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setGroupedComponents

      public void setGroupedComponents(Set<IBehaviorDescribingComponent> components)
      Beschreibung aus Schnittstelle kopiert: IGroupState
      Overrides the set of grouped components
      Angegeben von:
      setGroupedComponents in Schnittstelle IGroupState
      Parameter:
      components - the new components
    • removeGroupedComponent

      public boolean removeGroupedComponent(String id, int removeCascadeDepth)
      Beschreibung aus Schnittstelle kopiert: IGroupState
      Removes a component from the group
      Angegeben von:
      removeGroupedComponent in Schnittstelle IGroupState
      Parameter:
      id - the id of the component
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
      Gibt zurück:
    • removeGroupedComponent

      public boolean removeGroupedComponent(String id)
      Beschreibung aus Schnittstelle kopiert: IGroupState
      Removes a component from the group
      Angegeben von:
      removeGroupedComponent in Schnittstelle IGroupState
      Parameter:
      id - the id of the component
      Gibt zurück:
    • getGroupedComponents

      public Map<String,IBehaviorDescribingComponent> getGroupedComponents()
      Angegeben von:
      getGroupedComponents in Schnittstelle IGroupState
      Gibt zurück:
      A dictionary of grouped states, mapped with their id
    • parseAttribute

      protected boolean parseAttribute(String predicate, String objectContent, String lang, String dataType, IParseablePASSProcessModelElement element)
      Beschreibung aus Klasse kopiert: PASSProcessModelElement
      Gets called while parsing a triple from a set of triples where this element is subject. The predicate and objectContent are derived directly from the triple, lang and dataType might be null (they will never both be NonNull at the same time) If the object specifies an uri to another element and the collection of all available elements contains this element, the element is passed as well
      Setzt außer Kraft:
      parseAttribute in Klasse State
      Parameter:
      predicate - the predicate contained by the triple
      objectContent - the content of the object contained by the triple
      lang - the lang attribute of the object if one was specified
      dataType - the datatype attribute of the object if one was specified
      element - the element the objectContent points to (if it does and the element exists)
      Gibt zurück: