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

Allows the definition of material information. Attributes of the type Material normally have the multiplicity [0..*]. This means that such an attribute can have material values for differentreferenceSystems. It must not have multiple values for the samereferenceSystems.

Java class for Material complex type.

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


 <complexType name="Material">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ReferenceSystem" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <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

    • key

      protected String key

      The key of the material in the corresponding material reference system.

    • referenceSystem

      protected String referenceSystem

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

    • descriptions

      protected List<VecLocalizedString> descriptions

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

    • xmlId

      protected String xmlId
  • Constructor Details

    • VecMaterial

      public VecMaterial()
  • Method Details

    • getKey

      public String getKey()
      Gets the value of the key property.

      The key of the material in the corresponding material reference system.

      Returns:
      possible object is String
    • setKey

      public void setKey(String value)
      Sets the value of the key property.
      Parameters:
      value - allowed object is String
      See Also:
    • getReferenceSystem

      public String getReferenceSystem()
      Gets the value of the referenceSystem property.

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

      Specified by:
      getReferenceSystem in interface HasReferenceSystem
      Returns:
      possible object is String
    • setReferenceSystem

      public void setReferenceSystem(String value)
      Sets the value of the referenceSystem property.
      Parameters:
      value - allowed object is String
      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 material (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