Package org.docx4j.dml.diagram
Class CTConstraint
java.lang.Object
org.docx4j.dml.diagram.CTConstraint
- All Implemented Interfaces:
Child
Java class for CT_Constraint complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Constraint">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attGroup ref="{http://schemas.openxmlformats.org/drawingml/2006/diagram}AG_ConstraintAttributes"/>
<attGroup ref="{http://schemas.openxmlformats.org/drawingml/2006/diagram}AG_ConstraintRefAttributes"/>
<attribute name="op" type="{http://schemas.openxmlformats.org/drawingml/2006/diagram}ST_BoolOperator" default="none" />
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}double" default="0" />
<attribute name="fact" type="{http://www.w3.org/2001/XMLSchema}double" default="1" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected STConstraintRelationshipprotected CTOfficeArtExtensionListprotected Doubleprotected Stringprotected STBoolOperatorprotected STElementTypeprotected STConstraintRelationshipprotected Stringprotected STElementTypeprotected STConstraintTypeprotected STConstraintTypeprotected Double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the extLst property.doublegetFact()Gets the value of the fact property.getFor()Gets the value of the for property.Gets the value of the forName property.getOp()Gets the value of the op property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the ptType property.Gets the value of the refFor property.Gets the value of the refForName property.Gets the value of the refPtType property.Gets the value of the refType property.getType()Gets the value of the type property.doublegetVal()Gets the value of the val property.voidSets the value of the extLst property.voidSets the value of the fact property.voidsetFor(STConstraintRelationship value) Sets the value of the for property.voidsetForName(String value) Sets the value of the forName property.voidsetOp(STBoolOperator value) Sets the value of the op property.voidvoidsetPtType(STElementType value) Sets the value of the ptType property.voidSets the value of the refFor property.voidsetRefForName(String value) Sets the value of the refForName property.voidsetRefPtType(STElementType value) Sets the value of the refPtType property.voidsetRefType(STConstraintType value) Sets the value of the refType property.voidsetType(STConstraintType value) Sets the value of the type property.voidSets the value of the val property.
-
Field Details
-
extLst
-
op
-
val
-
fact
-
type
-
_for
-
forName
-
ptType
-
refType
-
refFor
-
refForName
-
refPtType
-
-
Constructor Details
-
CTConstraint
public CTConstraint()
-
-
Method Details
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTOfficeArtExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTOfficeArtExtensionList
-
getOp
Gets the value of the op property.- Returns:
- possible object is
STBoolOperator
-
setOp
Sets the value of the op property.- Parameters:
value- allowed object isSTBoolOperator
-
getVal
public double getVal()Gets the value of the val property.- Returns:
- possible object is
Double
-
setVal
Sets the value of the val property.- Parameters:
value- allowed object isDouble
-
getFact
public double getFact()Gets the value of the fact property.- Returns:
- possible object is
Double
-
setFact
Sets the value of the fact property.- Parameters:
value- allowed object isDouble
-
getType
Gets the value of the type property.- Returns:
- possible object is
STConstraintType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSTConstraintType
-
getFor
Gets the value of the for property.- Returns:
- possible object is
STConstraintRelationship
-
setFor
Sets the value of the for property.- Parameters:
value- allowed object isSTConstraintRelationship
-
getForName
Gets the value of the forName property.- Returns:
- possible object is
String
-
setForName
Sets the value of the forName property.- Parameters:
value- allowed object isString
-
getPtType
Gets the value of the ptType property.- Returns:
- possible object is
STElementType
-
setPtType
Sets the value of the ptType property.- Parameters:
value- allowed object isSTElementType
-
getRefType
Gets the value of the refType property.- Returns:
- possible object is
STConstraintType
-
setRefType
Sets the value of the refType property.- Parameters:
value- allowed object isSTConstraintType
-
getRefFor
Gets the value of the refFor property.- Returns:
- possible object is
STConstraintRelationship
-
setRefFor
Sets the value of the refFor property.- Parameters:
value- allowed object isSTConstraintRelationship
-
getRefForName
Gets the value of the refForName property.- Returns:
- possible object is
String
-
setRefForName
Sets the value of the refForName property.- Parameters:
value- allowed object isString
-
getRefPtType
Gets the value of the refPtType property.- Returns:
- possible object is
STElementType
-
setRefPtType
Sets the value of the refPtType property.- Parameters:
value- allowed object isSTElementType
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-