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

A Net is an undirected link between a number ofNetworkPorts. It defines that theNetworkPortsare related to each other with theNet.

ANetis normally an instance of aNetType. E.g. if "CAN-BUS" is defined as a aNetTypetypicalNetswould be "BODY-CAN", "AUDIO-CAN".

Java class for Net complex type.

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


 <complexType name="Net">
   <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="Description" type="{http://www.prostep.org/ecad-if/2011/vec}AbstractLocalizedString" maxOccurs="unbounded" minOccurs="0"/>
         <element name="NetType" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/>
         <element name="NetworkPort" type="{http://www.w3.org/2001/XMLSchema}IDREFS"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • identification

      protected String identification

      Specifies a unique identification of the Net. The identification is guaranteed to be unique within the NetSpecification.

    • descriptions

      protected List<VecAbstractLocalizedString> descriptions

      Room for additional, human readable information about the Net.

    • netType

      protected VecNetType netType
    • networkPort

      protected List<VecNetworkPort> networkPort
  • Constructor Details

    • VecNet

      public VecNet()
  • Method Details

    • getIdentification

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

      Specifies a unique identification of the Net. The identification is guaranteed to be unique within the NetSpecification.

      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:
    • getDescriptions

      public List<VecAbstractLocalizedString> getDescriptions()
      Gets the value of the descriptions 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 descriptions property.

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

          getDescriptions().add(newItem);
       

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

      Room for additional, human readable information about the Net.

      Specified by:
      getDescriptions in interface HasDescription<VecAbstractLocalizedString>
      Returns:
      The value of the descriptions property.
    • getNetType

      public VecNetType getNetType()
      Gets the value of the netType property.
      Returns:
      possible object is Object
    • setNetType

      public void setNetType(VecNetType value)
      Sets the value of the netType property.
      Parameters:
      value - allowed object is Object
    • getRefConnection

      public Set<VecConnection> getRefConnection()
      Gets a Set of all VecConnection that have a outgoing reference to this object.
      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.
    • getNetworkPort

      public List<VecNetworkPort> getNetworkPort()
      Gets the value of the networkPort 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 networkPort property.

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

          getNetworkPort().add(newItem);
       

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

    • getRefNetGroup

      public Set<VecNetGroup> getRefNetGroup()
      Gets a Set of all VecNetGroup that have a outgoing reference to this object.
      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.
    • getParentNetSpecification

      public VecNetSpecification getParentNetSpecification()
      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 VecNetSpecification 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