Package com.nomagic.magicdraw.properties
Class PropertyVisitorAdapter
- java.lang.Object
-
- com.nomagic.magicdraw.properties.PropertyVisitorAdapter
-
- All Implemented Interfaces:
PropertyVisitor
@OpenApiAll public abstract class PropertyVisitorAdapter extends java.lang.Object implements PropertyVisitor
An abstract adapter class for property visiting. The methods in this class are empty. Extend this class to create aPropertyVisitor
and override the methods for the required properties. (If you implement thePropertyVisitor
interface, you have to define all of the methods in it. This abstract class defines empty methods for them all, so you can only override methods for properties you care about.)
-
-
Constructor Summary
Constructors Constructor Description PropertyVisitorAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(BooleanProperty o)
void
visit(com.nomagic.magicdraw.properties.ChoiceListProperty o)
void
visit(ChoiceProperty o)
void
visit(ClassPathEntriesListProperty o)
void
visit(ColorProperty o)
void
visit(com.nomagic.magicdraw.properties.ConstraintProperty o)
void
visit(DateTimeProperty o)
void
visit(com.nomagic.magicdraw.properties.ElementInstanceProperty o)
void
visit(ElementListProperty o)
void
visit(ElementProperty o)
void
visit(ExtendablePropertyManager o)
void
visit(com.nomagic.magicdraw.properties.ExternalToolProperty o)
void
visit(FileProperty o)
void
visit(FontProperty o)
void
visit(com.nomagic.magicdraw.properties.ImageProperty o)
void
visit(JarEntryProperty o)
void
visit(JDBCDriverClassNameProperty o)
void
visit(ListProperty o)
void
visit(LocaleProperty p)
void
visit(com.nomagic.magicdraw.properties.MapProperty o)
void
visit(NumberProperty o)
void
visit(PageFormatProperty p)
void
visit(PasswordProperty o)
void
visit(Property o)
void
visit(PropertyManager o)
void
visit(PropertyManagerByDiagram o)
void
visit(PropertyManagerByStereotype o)
void
visit(com.nomagic.magicdraw.properties.SpecificElementProperty o)
void
visit(StringProperty o)
void
visit(Style p)
void
visit(StyleManager o)
void
visit(TypeProperty o)
void
visit(com.nomagic.magicdraw.properties.ui.ObjectListProperty o)
void
visit(com.nomagic.magicdraw.properties.ValueSpecificationProperty o)
-
-
-
Method Detail
-
visit
public void visit(Property o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.ImageProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ColorProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ChoiceProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.ChoiceListProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(FontProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(FileProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(BooleanProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(NumberProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(StyleManager o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(PropertyManager o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(PropertyManagerByDiagram o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(PropertyManagerByStereotype o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(StringProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(LocaleProperty p) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(PageFormatProperty p) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(Style p) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(JarEntryProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(JDBCDriverClassNameProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(PasswordProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ClassPathEntriesListProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(TypeProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ElementProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.ValueSpecificationProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.SpecificElementProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.ConstraintProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ElementListProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.ElementInstanceProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ListProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ExtendablePropertyManager o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.ui.ObjectListProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.ExternalToolProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(com.nomagic.magicdraw.properties.MapProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(DateTimeProperty o) throws java.lang.Exception
- Specified by:
visit
in interfacePropertyVisitor
- Throws:
java.lang.Exception
-
-