Package com.nomagic.magicdraw.uml.text
Class PropertyTextParams
- java.lang.Object
-
- com.nomagic.magicdraw.uml.text.MemberTextParams
-
- com.nomagic.magicdraw.uml.text.PropertyTextParams
-
@OpenApiAll public class PropertyTextParams extends MemberTextParams
Configuration for creating Property element text withModelTextCreator.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanpureTextprivate booleanshowDerivedprivate booleanshowFullTypeprivate booleanshowInitValueprivate booleanshowMultiplicityprivate booleanshowTypeprivate booleanshowTypeNameIfEmptyNameprivate booleanshowTypeTaggedValues
-
Constructor Summary
Constructors Constructor Description PropertyTextParams()
-
Method Summary
-
Methods inherited from class com.nomagic.magicdraw.uml.text.MemberTextParams
getInvisibleFilter, isShowAdditionalSlotText, isShowConstraintName, isShowConstraintSpecification, isShowInheritedSign, isShowName, isShowProperties, isShowStereotype, isShowTaggedValues, isShowVisibility
-
-
-
-
Field Detail
-
showType
private boolean showType
-
showDerived
private boolean showDerived
-
showFullType
private boolean showFullType
-
showInitValue
private boolean showInitValue
-
showTypeTaggedValues
private boolean showTypeTaggedValues
-
showMultiplicity
private boolean showMultiplicity
-
showTypeNameIfEmptyName
private boolean showTypeNameIfEmptyName
-
pureText
private boolean pureText
-
-
Method Detail
-
setShowName
public PropertyTextParams setShowName(boolean showName)
- Overrides:
setShowNamein classMemberTextParams
-
setShowVisibility
public PropertyTextParams setShowVisibility(boolean showVisibility)
- Overrides:
setShowVisibilityin classMemberTextParams
-
setShowStereotype
public PropertyTextParams setShowStereotype(boolean showStereotype)
- Overrides:
setShowStereotypein classMemberTextParams
-
setShowProperties
public PropertyTextParams setShowProperties(boolean showProperties)
- Overrides:
setShowPropertiesin classMemberTextParams
-
setShowTaggedValues
public PropertyTextParams setShowTaggedValues(boolean showTaggedValues)
- Overrides:
setShowTaggedValuesin classMemberTextParams
-
setShowConstraintName
public PropertyTextParams setShowConstraintName(boolean showConstraintName)
- Overrides:
setShowConstraintNamein classMemberTextParams
-
setShowConstraintSpecification
public PropertyTextParams setShowConstraintSpecification(boolean showConstraintSpecification)
- Overrides:
setShowConstraintSpecificationin classMemberTextParams
-
setShowInheritedSign
public PropertyTextParams setShowInheritedSign(boolean showInheritedSign)
- Overrides:
setShowInheritedSignin classMemberTextParams
-
setShowAdditionalSlotText
public PropertyTextParams setShowAdditionalSlotText(boolean showAdditionalSlotText)
- Overrides:
setShowAdditionalSlotTextin classMemberTextParams
-
setInvisibleFilter
public PropertyTextParams setInvisibleFilter(java.util.function.Predicate<Element> invisibleFilter)
Set filter to accept elements represented in the text (like stereotypes, constraints, tagged values). By default all elements are accepted- Overrides:
setInvisibleFilterin classMemberTextParams- Parameters:
invisibleFilter- filter- Returns:
- filter for elements represented in the text
-
setPureText
public PropertyTextParams setPureText(boolean pureText)
-
setShowType
public PropertyTextParams setShowType(boolean showType)
-
setShowDerived
public PropertyTextParams setShowDerived(boolean showDerived)
-
setShowFullType
public PropertyTextParams setShowFullType(boolean showFullType)
-
setShowInitValue
public PropertyTextParams setShowInitValue(boolean showInitValue)
-
setShowTypeTaggedValues
public PropertyTextParams setShowTypeTaggedValues(boolean showTypeTaggedValues)
-
setShowMultiplicity
public PropertyTextParams setShowMultiplicity(boolean showMultiplicity)
-
setShowTypeNameIfNameEmpty
public PropertyTextParams setShowTypeNameIfNameEmpty(boolean showTypeName)
-
isShowType
public boolean isShowType()
-
isShowDerived
public boolean isShowDerived()
-
isShowFullType
public boolean isShowFullType()
-
isShowInitValue
public boolean isShowInitValue()
-
isShowMultiplicity
public boolean isShowMultiplicity()
-
isShowTypeNameIfEmptyName
public boolean isShowTypeNameIfEmptyName()
-
isShowTypeTaggedValues
public boolean isShowTypeTaggedValues()
-
isPureText
public boolean isPureText()
-
-