- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,Visitable,Serializable
- Direct Known Subclasses:
VecCompositeUnit,VecCustomUnit,VecIECUnit,VecImperialUnit,VecOtherUnit,VecSIUnit,VecUSUnit
A precisely specified quantity in terms of which the magnitudes of other quantities of the same kind can be stated. The different systems to define units are represented by the subclasses of this class (e.g. SIUnit, ImperialUnit).
Java class for Unit complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Unit">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Exponent" type="{http://www.w3.org/2001/XMLSchema}integer" 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 BigIntegerDefines the exponent with which this unit instance should be used.protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the exponent property.Gets a reference to the parent of this object in the XML DOM Tree.Gets aSetof allVecBuildingBlockSpecification2Dthat 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.Gets aSetof allVecBuildingBlockSpecification3Dthat 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.Gets aSetof allVecCompositeUnitthat 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.Gets aSetof allVecDimensionthat 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.Gets aSetof allVecValueWithUnitthat 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.getXmlId()Gets the value of the xmlId property.voidsetExponent(BigInteger value) Sets the value of the exponent property.voidSets the value of the xmlId property.toString()
-
Field Details
-
exponent
Defines the exponent with which this unit instance should be used. In order to define square meters for example, the SIUnit "metre" with an exponent of 2 will be used. If no exponent is defined it is equivalent to the value 1.
-
xmlId
-
-
Constructor Details
-
VecUnit
public VecUnit()
-
-
Method Details
-
getExponent
Gets the value of the exponent property.Defines the exponent with which this unit instance should be used. In order to define square meters for example, the SIUnit "metre" with an exponent of 2 will be used. If no exponent is defined it is equivalent to the value 1.
- Returns:
- possible object is
BigInteger
-
setExponent
Sets the value of the exponent property.- Parameters:
value- allowed object isBigInteger- See Also:
-
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
-
getRefBuildingBlockSpecification2D
Gets aSetof allVecBuildingBlockSpecification2Dthat 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. -
getRefBuildingBlockSpecification3D
Gets aSetof allVecBuildingBlockSpecification3Dthat 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. -
getRefCompositeUnit
Gets aSetof allVecCompositeUnitthat 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. -
getRefDimension
Gets aSetof allVecDimensionthat 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. -
getRefValueWithUnit
Gets aSetof allVecValueWithUnitthat 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. -
getParentVecContent
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 aVecContentotherwise 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. -
toString
-