Class VecSwitchingState

All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, HasIdentification, HasModifiableIdentification, Visitable, Serializable

ASwitchingStatedefines a certain static state of anEEComponent. Under which conditions or when such a state applies, should be described in an external description model.

ASwitchingStatereferences a collection ofInternalComponentConnections, with the semantic that these connections exist (and only these connections) when the switching state is active.

Java class for SwitchingState complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="SwitchingState">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ConfigurableElement">
       <sequence>
         <element name="Identification" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="SwitchedConnections" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • identification

      protected String identification

      Identification of the SwitchingState, which must be distinct for all SwitchingStates of an EEComponent.

    • switchedConnections

      protected List<VecInternalComponentConnection> switchedConnections

      Specifies theInternalComponentConnectionsthat are switched by thisSwitchingState.

  • Constructor Details

    • VecSwitchingState

      public VecSwitchingState()
  • Method Details

    • getIdentification

      public String getIdentification()
      Gets the value of the identification property.

      Identification of the SwitchingState, which must be distinct for all SwitchingStates of an EEComponent.

      Specified by:
      getIdentification in interface HasIdentification
      Returns:
      possible object is String
    • setIdentification

      public void setIdentification(String value)
      Sets the value of the identification property.
      Specified by:
      setIdentification in interface HasModifiableIdentification
      Parameters:
      value - allowed object is String
      See Also:
    • getSwitchedConnections

      public List<VecInternalComponentConnection> getSwitchedConnections()
      Gets the value of the switchedConnections property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the switchedConnections property.

      For example, to add a new item, do as follows:

          getSwitchedConnections().add(newItem);
       

      Objects of the following type(s) are allowed in the list Object

      Specifies theInternalComponentConnectionsthat are switched by thisSwitchingState.

    • getParentEEComponentSpecification

      public VecEEComponentSpecification getParentEEComponentSpecification()
      Gets a reference to the parent of this object in the XML DOM Tree. If this class can have different parents in DOM, this property is initialized with the parent, if the parent is a VecEEComponentSpecification otherwise it will be null.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable