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
.
-
-
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
-
-
-
-
Method Detail
-
setShowName
public PropertyTextParams setShowName(boolean showName)
- Overrides:
setShowName
in classMemberTextParams
-
setShowVisibility
public PropertyTextParams setShowVisibility(boolean showVisibility)
- Overrides:
setShowVisibility
in classMemberTextParams
-
setShowStereotype
public PropertyTextParams setShowStereotype(boolean showStereotype)
- Overrides:
setShowStereotype
in classMemberTextParams
-
setShowProperties
public PropertyTextParams setShowProperties(boolean showProperties)
- Overrides:
setShowProperties
in classMemberTextParams
-
setShowTaggedValues
public PropertyTextParams setShowTaggedValues(boolean showTaggedValues)
- Overrides:
setShowTaggedValues
in classMemberTextParams
-
setShowConstraintName
public PropertyTextParams setShowConstraintName(boolean showConstraintName)
- Overrides:
setShowConstraintName
in classMemberTextParams
-
setShowConstraintSpecification
public PropertyTextParams setShowConstraintSpecification(boolean showConstraintSpecification)
- Overrides:
setShowConstraintSpecification
in classMemberTextParams
-
setShowInheritedSign
public PropertyTextParams setShowInheritedSign(boolean showInheritedSign)
- Overrides:
setShowInheritedSign
in classMemberTextParams
-
setShowAdditionalSlotText
public PropertyTextParams setShowAdditionalSlotText(boolean showAdditionalSlotText)
- Overrides:
setShowAdditionalSlotText
in 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:
setInvisibleFilter
in 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()
-
-