- 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 Summary
FieldsModifier and TypeFieldDescriptionprotected List<VecLocalizedString>On optional human readable description of the material (e.g.protected StringThe key of the material in the corresponding material reference system.protected StringThe identification of the material reference system, which is defining possible values and the semantic of material keys.protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the descriptions property.getKey()Gets the value of the key property.Gets the value of the referenceSystem property.getXmlId()Gets the value of the xmlId property.voidSets the value of the key property.voidsetReferenceSystem(String value) Sets the value of the referenceSystem property.voidSets the value of the xmlId property.toString()
-
Field Details
-
key
The key of the material in the corresponding material reference system.
-
referenceSystem
The identification of the material reference system, which is defining possible values and the semantic of material keys.
-
descriptions
On optional human readable description of the material (e.g. the name).
-
xmlId
-
-
Constructor Details
-
VecMaterial
public VecMaterial()
-
-
Method Details
-
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
Sets the value of the key property. -
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:
getReferenceSystemin interfaceHasReferenceSystem- Returns:
- possible object is
String
-
setReferenceSystem
Sets the value of the referenceSystem property.- Parameters:
value- allowed object isString- See Also:
-
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
setmethod 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
VecLocalizedStringOn optional human readable description of the material (e.g. the name).
- Specified by:
getDescriptionsin interfaceHasDescription<VecLocalizedString>- Returns:
- The value of the descriptions property.
-
getXmlId
Gets the value of the xmlId property.- Specified by:
getXmlIdin interfaceIdentifiable- Returns:
- possible object is
String
-
setXmlId
Sets the value of the xmlId property.- Specified by:
setXmlIdin interfaceModifiableIdentifiable- Parameters:
value- allowed object isString
-
accept
-
toString
-