Alle implementierten Schnittstellen:
ISubjectGroup, ICapsuleCallback, IGraphCallback, IParseablePASSProcessModelElement, IAbstractElement, IExtendingElement<ISubject>, IImplementingElement, IImplementingElementT<ISubject>, IPASSProcessModelElement, IInteractionDescribingComponent, ISubject, IContainableElement<IModelLayer>, IHasSimple2DVisualizationBox, IValueChangedObserver<IPASSProcessModelElement>, IValueChangedPublisher<IPASSProcessModelElement>

public class SubjectGroup extends Subject implements ISubjectGroup
This class represents the SystemInterfaceSubject owl class defined in the abstract pass ont. A SystemInterfaceSubject is an InterfaceSubject which can contain other InterfaceSubjects.
  • Felddetails

  • Konstruktordetails

    • SubjectGroup

      public SubjectGroup()
    • SubjectGroup

      public SubjectGroup(IModelLayer layer, String labelForId, Set<IMessageExchange> incomingMessageExchange, Set<ISubject> containedSubjects, Set<IMessageExchange> outgoingMessageExchange, int maxSubjectInstanceRestriction, IFullySpecifiedSubject referencedSubject, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute)
      Parameter:
      layer - The layer this subject should be placed onto
      labelForId -
      incomingMessageExchange -
      containedSubjects -
      outgoingMessageExchange -
      maxSubjectInstanceRestriction -
      referencedSubject - If the InterfaceSubject is referencing another FullySpecifiedSubject, this can be passed here
      comment -
      additionalLabel -
      additionalAttribute -
    • SubjectGroup

      public SubjectGroup(IModelLayer layer)
      Parameter:
      layer - The layer this subject should be placed onto
  • 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 Subject
      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 Subject
    • addSubject

      public boolean addSubject(ISubject subject)
    • setSubjects

      public void setSubjects(Set<ISubject> subjects, int removeCascadeDepth)
      Beschreibung aus Schnittstelle kopiert: ISubjectGroup
      Sets a set of Subjects as contained subjects for this Group subject, overwriting old subjects.
      Angegeben von:
      setSubjects in Schnittstelle ISubjectGroup
      Parameter:
      subjects - The set of Subjects
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setSubjects

      public void setSubjects(Set<ISubject> subjects)
      Beschreibung aus Schnittstelle kopiert: ISubjectGroup
      Sets a set of Subjects as contained subjects for this Group subject, overwriting old subjects.
      Angegeben von:
      setSubjects in Schnittstelle ISubjectGroup
      Parameter:
      subjects - The set of Subjects
    • removeSubject

      public boolean removeSubject(String id, int removeCascadeDepth)
      Beschreibung aus Schnittstelle kopiert: ISubjectGroup
      Removes an Subject from the list of contained subjects
      Angegeben von:
      removeSubject in Schnittstelle ISubjectGroup
      Parameter:
      id - the id of the subject
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
      Gibt zurück:
      a boolean indicating whether the process of removal was a success
    • removeSubject

      public boolean removeSubject(String id)
      Beschreibung aus Schnittstelle kopiert: ISubjectGroup
      Removes an Subject from the list of contained subjects
      Angegeben von:
      removeSubject in Schnittstelle ISubjectGroup
      Parameter:
      id - the id of the subject
      Gibt zurück:
      a boolean indicating whether the process of removal was a success
    • getContainedSubjects

      public Map<String,ISubject> getContainedSubjects()
      Beschreibung aus Schnittstelle kopiert: ISubjectGroup
      Returns all contained Subjects.
      Angegeben von:
      getContainedSubjects in Schnittstelle ISubjectGroup
      Gibt zurück:
      all contained Subjects
    • 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 Subject
      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: