@OpenApiAll public class PropertyManagerByDiagram extends ExtendablePropertyManager
mRemovable
IS_UNIQUE, mSupport, OWN_PROPERTY_ADDED, OWN_PROPERTY_REMOVED
Constructor and Description |
---|
PropertyManagerByDiagram() |
PropertyManagerByDiagram(java.lang.String name,
java.util.List<Property> properties) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PropertyVisitor visitor)
Accepts the given visitor.
|
java.lang.String |
getClassType()
Returns property class type.
|
java.lang.String |
getDiagramType() |
boolean |
isTheSame(PropertyManager manager)
Check if given property manager is the same as current.
|
PropertyManager |
makeCopy()
Make copy of property.
|
void |
setDiagramType(java.lang.String diagramType) |
elementIsAllowed, getDefinedIn, getSymbolType, isExtendableByDiagram, isExtendableByStereotype, isRemovable, setDefinedIn, setExtendableByDiagram, setExtendableByStereotype, setRemovable, setSymbolType, setSymbolType
addProperties, addProperty, addPropertyChangeListener, append, append, append, append, apply, apply, applyValues, clone, cloneProperties, distinct, distinct, equalsTo, equalsWithValues, generateDefaultDescriptionID, generateNullDescriptionID, getID, getName, getOrderedProperties, getOwnProperties, getParentPropertyManager, getProperties, getProperty, getPropertyByName, getStyle, hideParentProperty, isFrozen, isHiddenParentProperty, leaveTheSame, leaveTheSame, makeOwnProperty, mergeBooleanProperty, mergeChoiceProperty, mergeElementProperty, mergeProperties, mergePropertyByType, propertyChange, removeProperty, removeProperty, removeProperty, removePropertyChangeListener, retainProperties, setFrozen, setID, setName, setParentPropertyManager, setParentPropertyManagerOnly, setProperties, setPropertyEnableMap, setStyle, sGetID, shareProperty, showParentProperty, toString
public PropertyManagerByDiagram()
public PropertyManagerByDiagram(java.lang.String name, java.util.List<Property> properties)
public void accept(PropertyVisitor visitor) throws java.lang.Exception
PropertyManager
accept
in interface PropertyVisitorAcceptor
accept
in class ExtendablePropertyManager
visitor
- the PropertyVisitor.java.lang.Exception
PropertyManager.accept(com.nomagic.magicdraw.properties.PropertyVisitor)
public java.lang.String getDiagramType()
public void setDiagramType(java.lang.String diagramType)
diagramType
- new diagram type.public java.lang.String getClassType()
getClassType
in interface PropertyVisitorAcceptor
getClassType
in class ExtendablePropertyManager
PropertyID.PROPERTY_MANAGER
public PropertyManager makeCopy()
PropertyManager
makeCopy
in class ExtendablePropertyManager
public boolean isTheSame(PropertyManager manager)
isTheSame
in class PropertyManager
manager
- manager