Class VecRobustnessProperties

java.lang.Object
com.foursoft.harness.vec.v113.VecRobustnessProperties
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasDescription<VecLocalizedString>, Visitable, Serializable

public class VecRobustnessProperties extends Object implements Serializable, Identifiable, ModifiableIdentifiable, HasDescription<VecLocalizedString>, Visitable

Allows the definition of robustness properties. Robustness of component is specified as a level of robustness against a specific influence (e.g. oil, water, UV-light). The influence is specified by theclassand the level is specified by theclassKey. Valid robustness classes and keys are specified by the reference system. Attributes of the type RobustnessProperties normally have the multiplicity [0..*]. This means that such an attribute can have RobustnessProperties entries for differentclassReferenceSystemsandclasses. It must not have multiple entries for the sameclassandclassReferenceSystem.

Java class for RobustnessProperties complex type.

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


 <complexType name="RobustnessProperties">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Class" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ClassKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ClassReferenceSystem" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="HasRobustness" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="Description" type="{http://www.prostep.org/ecad-if/2011/vec}LocalizedString" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • clazz

      protected String clazz

      Specifies the identifier of a robustness class defined by the robustness class reference system. Robustness classes are for example: oil, petrol, UV, water.

    • classKey

      protected String classKey

      Specifies a key for the robustness level defined in the specified robustness class (e.g. A, B, C).

    • classReferenceSystem

      protected String classReferenceSystem

      The identification of the robustness class reference system, which is defining possible values and the semantic of robustness classes and robustness class keys.

    • hasRobustness

      protected boolean hasRobustness

      Specifies if the described element has a robustness in the specified robustness class. (see KBLFRM-260)

    • descriptions

      protected List<VecLocalizedString> descriptions

      On optional human readable description of the robustnes (e.g. the name).

    • xmlId

      protected String xmlId
  • Constructor Details

    • VecRobustnessProperties

      public VecRobustnessProperties()
  • Method Details

    • getClazz

      public String getClazz()
      Gets the value of the clazz property.

      Specifies the identifier of a robustness class defined by the robustness class reference system. Robustness classes are for example: oil, petrol, UV, water.

      Returns:
      possible object is String
    • setClazz

      public void setClazz(String value)
      Sets the value of the clazz property.
      Parameters:
      value - allowed object is String
      See Also:
    • getClassKey

      public String getClassKey()
      Gets the value of the classKey property.

      Specifies a key for the robustness level defined in the specified robustness class (e.g. A, B, C).

      Returns:
      possible object is String
    • setClassKey

      public void setClassKey(String value)
      Sets the value of the classKey property.
      Parameters:
      value - allowed object is String
      See Also:
    • getClassReferenceSystem

      public String getClassReferenceSystem()
      Gets the value of the classReferenceSystem property.

      The identification of the robustness class reference system, which is defining possible values and the semantic of robustness classes and robustness class keys.

      Returns:
      possible object is String
    • setClassReferenceSystem

      public void setClassReferenceSystem(String value)
      Sets the value of the classReferenceSystem property.
      Parameters:
      value - allowed object is String
      See Also:
    • isHasRobustness

      public boolean isHasRobustness()
      Gets the value of the hasRobustness property.

      Specifies if the described element has a robustness in the specified robustness class. (see KBLFRM-260)

    • setHasRobustness

      public void setHasRobustness(boolean value)
      Sets the value of the hasRobustness property.
      See Also:
    • getDescriptions

      public List<VecLocalizedString> 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 VecLocalizedString

      On optional human readable description of the robustnes (e.g. the name).

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

      public String getXmlId()
      Gets the value of the xmlId property.
      Specified by:
      getXmlId in interface Identifiable
      Returns:
      possible object is String
    • setXmlId

      public void setXmlId(String value)
      Sets the value of the xmlId property.
      Specified by:
      setXmlId in interface ModifiableIdentifiable
      Parameters:
      value - allowed object is String
    • accept

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

      public String toString()
      Overrides:
      toString in class Object