java.lang.Object
com.foursoft.harness.vec.v113.VecUnit
com.foursoft.harness.vec.v113.VecCustomUnit
- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasIdentification,HasModifiableIdentification,Visitable,Serializable
public class VecCustomUnit
extends VecUnit
implements Serializable, HasIdentification, HasModifiableIdentification, Visitable
A CustomUnit can be used to define "FreeText"-Units. Custom units must not be used for units that can be expressed by any of the other subclasses of Unit. Custom units are only allowed if a unit is needed that cannot be handled by any of the other classes.
Java class for CustomUnit complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomUnit">
<complexContent>
<extension base="{http://www.prostep.org/ecad-if/2011/vec}Unit">
<sequence>
<element name="Identification" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the identification property.voidsetIdentification(String value) Sets the value of the identification property.Methods inherited from class com.foursoft.harness.vec.v113.VecUnit
getExponent, getParentVecContent, getRefBuildingBlockSpecification2D, getRefBuildingBlockSpecification3D, getRefCompositeUnit, getRefDimension, getRefValueWithUnit, getXmlId, setExponent, setXmlId, toString
-
Field Details
-
identification
A unique identification of the custom unit.
-
-
Constructor Details
-
VecCustomUnit
public VecCustomUnit()
-
-
Method Details
-
getIdentification
Gets the value of the identification property.A unique identification of the custom unit.
- 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:
-
accept
-