- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,HasIdentification,HasModifiableIdentification,Visitable,Serializable
A Dimension defines a measurement for the distance between two Locations. An acceptable tolerance can be specified additionally. If the Locations are not located on adjacent topology-elements it is possible to specify a Path for the dimension along which the measurement must be taken.
The value for the Dimension is not specified as Numerical_value (which can define a Tolerance as well). This is because the "valueComponent" of the Numerical_value is mandatory. For Dimensions it shall be optional since there are scenarios where the dimension only specifies a Tolerance for a distance defined by the topology (segment length + placement information).
Java class for Dimension complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Dimension">
<complexContent>
<extension base="{http://www.prostep.org/ecad-if/2011/vec}ConfigurableElement">
<sequence>
<element name="Identification" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ValueComponent" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="ValueCalculated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="DimensionAnchor" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
<element name="ReferenceAnchor" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
<element name="UnitComponent" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
<element name="DefinedLocations" type="{http://www.prostep.org/ecad-if/2011/vec}Location" maxOccurs="2" minOccurs="0"/>
<element name="Path" type="{http://www.prostep.org/ecad-if/2011/vec}Path" minOccurs="0"/>
<element name="Tolerance" type="{http://www.prostep.org/ecad-if/2011/vec}Tolerance" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<VecLocation>protected VecDimensionAnchorReferences the location that is used as dimension point for the dimensioning (e.g.protected StringSpecifies a unique identification of the Dimension.protected VecPathprotected VecDimensionAnchorReferences the location that is used as reference point for the dimensioning (e.g.protected VecToleranceprotected VecUnitprotected BooleanDefines if the value of theDimensionwas calculated (e.g.protected DoubleDefines the value of the dimension.Fields inherited from class com.foursoft.harness.vec.v113.VecConfigurableElement
configInfoFields 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 definedLocations property.Gets the value of the dimensionAnchor property.Gets the value of the identification property.Gets a reference to the parent of this object in the XML DOM Tree.getPath()Gets the value of the path property.Gets the value of the referenceAnchor property.Gets the value of the tolerance property.Gets the value of the unitComponent property.Gets the value of the valueComponent property.Gets the value of the valueCalculated property.voidSets the value of the dimensionAnchor property.voidsetIdentification(String value) Sets the value of the identification property.voidSets the value of the path property.voidSets the value of the referenceAnchor property.voidsetTolerance(VecTolerance value) Sets the value of the tolerance property.voidsetUnitComponent(VecUnit value) Sets the value of the unitComponent property.voidsetValueCalculated(Boolean value) Sets the value of the valueCalculated property.voidsetValueComponent(Double value) Sets the value of the valueComponent property.Methods inherited from class com.foursoft.harness.vec.v113.VecConfigurableElement
getConfigInfo, setConfigInfoMethods 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 Dimension. The identification is guaranteed to be unique within the containing PlacementSpecification.
-
valueComponent
Defines the value of the dimension. This value can be null, if it shall be calculated and only a tolerance shall be defined.
-
valueCalculated
Defines if the value of theDimensionwas calculated (e.g. the sum of segment lengths in the topology) or if it was defined manually.
-
dimensionAnchor
References the location that is used as dimension point for the dimensioning (e.g. the entry point of a bundle into a connector housing).
See KBLFRM-329 and KBLFRM-391.
-
referenceAnchor
References the location that is used as reference point for the dimensioning (e.g. the location of a fixing as this relates to a fixpoint of the body in white).
See KBLFRM-329 and KBLFRM-391.
-
unitComponent
-
definedLocations
-
path
-
tolerance
-
-
Constructor Details
-
VecDimension
public VecDimension()
-
-
Method Details
-
getIdentification
Gets the value of the identification property.Specifies a unique identification of the Dimension. The identification is guaranteed to be unique within the containing PlacementSpecification.
- 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:
-
getValueComponent
Gets the value of the valueComponent property.Defines the value of the dimension. This value can be null, if it shall be calculated and only a tolerance shall be defined.
- Returns:
- possible object is
Double
-
setValueComponent
Sets the value of the valueComponent property.- Parameters:
value- allowed object isDouble- See Also:
-
isValueCalculated
Gets the value of the valueCalculated property.Defines if the value of theDimensionwas calculated (e.g. the sum of segment lengths in the topology) or if it was defined manually.
- Returns:
- possible object is
Boolean
-
setValueCalculated
Sets the value of the valueCalculated property.- Parameters:
value- allowed object isBoolean- See Also:
-
getDimensionAnchor
Gets the value of the dimensionAnchor property.References the location that is used as dimension point for the dimensioning (e.g. the entry point of a bundle into a connector housing).
See KBLFRM-329 and KBLFRM-391.
- Returns:
- possible object is
Object
-
setDimensionAnchor
Sets the value of the dimensionAnchor property.- Parameters:
value- allowed object isObject- See Also:
-
getReferenceAnchor
Gets the value of the referenceAnchor property.References the location that is used as reference point for the dimensioning (e.g. the location of a fixing as this relates to a fixpoint of the body in white).
See KBLFRM-329 and KBLFRM-391.
- Returns:
- possible object is
Object
-
setReferenceAnchor
Sets the value of the referenceAnchor property.- Parameters:
value- allowed object isObject- See Also:
-
getUnitComponent
Gets the value of the unitComponent property.- Returns:
- possible object is
Object
-
setUnitComponent
Sets the value of the unitComponent property.- Parameters:
value- allowed object isObject
-
getDefinedLocations
Gets the value of the definedLocations 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 definedLocations property.For example, to add a new item, do as follows:
getDefinedLocations().add(newItem);Objects of the following type(s) are allowed in the list
VecLocation- Returns:
- The value of the definedLocations property.
-
getPath
Gets the value of the path property.- Returns:
- possible object is
VecPath
-
setPath
Sets the value of the path property.- Parameters:
value- allowed object isVecPath
-
getTolerance
Gets the value of the tolerance property.- Returns:
- possible object is
VecTolerance
-
setTolerance
Sets the value of the tolerance property.- Parameters:
value- allowed object isVecTolerance
-
getParentPlacementSpecification
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 aVecPlacementSpecificationotherwise 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
-