Package org.docx4j.dml.diagram
Class CTConstraint
java.lang.Object
org.docx4j.dml.diagram.CTConstraint
- All Implemented Interfaces:
Child
public class CTConstraint extends java.lang.Object implements 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
Fields Modifier and Type Field Description protected STConstraintRelationship_forprotected CTOfficeArtExtensionListextLstprotected java.lang.Doublefactprotected java.lang.StringforNameprotected STBoolOperatoropprotected STElementTypeptTypeprotected STConstraintRelationshiprefForprotected java.lang.StringrefForNameprotected STElementTyperefPtTypeprotected STConstraintTyperefTypeprotected STConstraintTypetypeprotected java.lang.Doubleval -
Constructor Summary
Constructors Constructor Description CTConstraint() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.doublegetFact()Gets the value of the fact property.STConstraintRelationshipgetFor()Gets the value of the for property.java.lang.StringgetForName()Gets the value of the forName property.STBoolOperatorgetOp()Gets the value of the op property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STElementTypegetPtType()Gets the value of the ptType property.STConstraintRelationshipgetRefFor()Gets the value of the refFor property.java.lang.StringgetRefForName()Gets the value of the refForName property.STElementTypegetRefPtType()Gets the value of the refPtType property.STConstraintTypegetRefType()Gets the value of the refType property.STConstraintTypegetType()Gets the value of the type property.doublegetVal()Gets the value of the val property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetFact(java.lang.Double value)Sets the value of the fact property.voidsetFor(STConstraintRelationship value)Sets the value of the for property.voidsetForName(java.lang.String value)Sets the value of the forName property.voidsetOp(STBoolOperator value)Sets the value of the op property.voidsetParent(java.lang.Object parent)voidsetPtType(STElementType value)Sets the value of the ptType property.voidsetRefFor(STConstraintRelationship value)Sets the value of the refFor property.voidsetRefForName(java.lang.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.voidsetVal(java.lang.Double value)Sets the value of the val property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
extLst
-
op
-
val
protected java.lang.Double val -
fact
protected java.lang.Double fact -
type
-
_for
-
forName
protected java.lang.String forName -
ptType
-
refType
-
refFor
-
refForName
protected java.lang.String 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
public void setVal(java.lang.Double value)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
public void setFact(java.lang.Double value)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
public java.lang.String getForName()Gets the value of the forName property.- Returns:
- possible object is
String
-
setForName
public void setForName(java.lang.String value)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
public java.lang.String getRefForName()Gets the value of the refForName property.- Returns:
- possible object is
String
-
setRefForName
public void setRefForName(java.lang.String value)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
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)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.
-