- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,HasDescription<VecAbstractLocalizedString>,HasIdentification,HasModifiableIdentification,Visitable,Serializable
VariantCodes are defining the literals on which VariantConfiguration are stated. Possible VariantCodes might be different for steering types, optional equipment, engine-power class.
Java class for VariantCode complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VariantCode">
<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="CodeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Description" type="{http://www.prostep.org/ecad-if/2011/vec}AbstractLocalizedString" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringAllows the classification of a VariantCodes (e.g.protected List<VecAbstractLocalizedString>On optional human readable description of the variant code.protected StringSpecifies a unique identification of the variant code.Fields inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
customProperties, xmlId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the codeType property.Gets the value of the descriptions property.Gets the value of the identification property.Gets a reference to the parent of this object in the XML DOM Tree.Gets aSetof allVecVariantGroupthat have a outgoing reference to this object.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
This property is consistent to the state of object model at the time of unmarshalling.voidsetCodeType(String value) Sets the value of the codeType property.voidsetIdentification(String value) Sets the value of the identification property.Methods inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
getCustomProperties, getRefExternalMapping, getXmlId, setXmlId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.foursoft.harness.vec.common.HasCustomProperties
getCustomPropertiesWithType, getCustomProperty
-
Field Details
-
identification
Specifies a unique identification of the variant code. This is also the literal value for the VariantCode, which shall be used in the logisticControlExrpessions of VariantConfigurations.
-
codeType
Allows the classification of a VariantCodes (e.g. Base-Option, Extra-Option, ...).
-
descriptions
On optional human readable description of the variant code.
-
-
Constructor Details
-
VecVariantCode
public VecVariantCode()
-
-
Method Details
-
getIdentification
Gets the value of the identification property.Specifies a unique identification of the variant code. This is also the literal value for the VariantCode, which shall be used in the logisticControlExrpessions of VariantConfigurations.
- Specified by:
getIdentificationin interfaceHasIdentification- Returns:
- possible object is
String
-
setIdentification
Sets the value of the identification property.- Specified by:
setIdentificationin interfaceHasModifiableIdentification- Parameters:
value- allowed object isString- See Also:
-
getCodeType
Gets the value of the codeType property.Allows the classification of a VariantCodes (e.g. Base-Option, Extra-Option, ...).
- Returns:
- possible object is
String
-
setCodeType
Sets the value of the codeType 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
VecAbstractLocalizedStringOn optional human readable description of the variant code.
- Specified by:
getDescriptionsin interfaceHasDescription<VecAbstractLocalizedString>- Returns:
- The value of the descriptions property.
-
getRefVariantGroup
Gets aSetof allVecVariantGroupthat have a outgoing reference to this object.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
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. -
getParentVariantCodeSpecification
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 aVecVariantCodeSpecificationotherwise it will be null.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
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
-