Class VecVariantGroup

java.lang.Object
com.foursoft.harness.vec.v113.VecExtendableElement
com.foursoft.harness.vec.v113.VecVariantGroup
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, HasDescription<VecAbstractLocalizedString>, HasIdentification, HasModifiableIdentification, Visitable, Serializable

With a VariantGroup it is possible to group VariantCodes. The semantic of this grouping should be defined with the groupType (e.g. composition, choice, etc.).

Java class for VariantGroup complex type.

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


 <complexType name="VariantGroup">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
       <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="GroupType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="VariantCode" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • identification

      protected String identification

      Specifies a unique identification of the variant code.

    • descriptions

      protected List<VecAbstractLocalizedString> descriptions

      On optional human readable description of the variant group.

    • groupType

      protected String groupType

      Allows the classification of a VariantGroups into different types. For example: - composition (e.g. winter package) - choice (e.g. right hand / left hand driving)

    • variantCode

      protected List<VecVariantCode> variantCode
  • Constructor Details

    • VecVariantGroup

      public VecVariantGroup()
  • Method Details

    • getIdentification

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

      Specifies a unique identification of the variant code.

      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

      On optional human readable description of the variant group.

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

      public String getGroupType()
      Gets the value of the groupType property.

      Allows the classification of a VariantGroups into different types. For example: - composition (e.g. winter package) - choice (e.g. right hand / left hand driving)

      Returns:
      possible object is String
    • setGroupType

      public void setGroupType(String value)
      Sets the value of the groupType property.
      Parameters:
      value - allowed object is String
      See Also:
    • getVariantCode

      public List<VecVariantCode> getVariantCode()
      Gets the value of the variantCode 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 variantCode property.

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

          getVariantCode().add(newItem);
       

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

    • getParentVariantGroupSpecification

      public VecVariantGroupSpecification getParentVariantGroupSpecification()
      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 VecVariantGroupSpecification 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