Uses of Interface
se.conciliate.extensions.type.rule.ModelingRules.Result
Packages that use ModelingRules.Result
Package
Description
Provides rules for what can be done in models.
-
Uses of ModelingRules.Result in se.conciliate.extensions.type.rule
Methods in se.conciliate.extensions.type.rule that return ModelingRules.ResultModifier and TypeMethodDescriptionModelingRules.accept
(MTCompleteModel model, MTSymbol symbol) Returns true if thisModelingRules
accepts that a given symbol is added to a given model.ModelingRules.accept
(MTCompleteModel model, EdgeType edgeType, MTCompleteVertex from, MTCompleteVertex to) Returns true if thisModelRules
accept that an edge of type edgeType is placed between two vertices in a model.
NOTE: This method can be seen as providing further filtering on edge type recommendations.ModelingRules.acceptCopiesOf
(MTCompleteModel model, Collection<MTCompleteVertex> vertices, Collection<MTCompleteEdge> edges) Returns an ok result if the model accepts adding copies of vertices and edges from another model.ModelingRules.acceptMakingCopiesOf
(MTCompleteModel model, Collection<MTCompleteVertex> vertices, Collection<MTCompleteEdge> edges) Returns an ok result if is accepted to make copies of vertices and edges from the model.ModelingRules.acceptRelation
(ModelType modelType, EdgeType edgeType) Returns true if thisModelRules
accept thatMTCompleteEdge
s of type edgeType is placed inMTCompleteModel
s of modelType.ModelingRules.acceptSymbol
(ModelType modelType, SymbolType symbolType) Returns true if thisModelRules
accept that symbols of type symbolType is placed inMTCompleteModel
s of modelType.ModelingRules.acceptTypeChange
(MTModelHeader model, ModelType newType) Returns an OK result if these rules accept changing the type of a model.ModelingRules.acceptTypeChange
(SymbolVariant newVariant, MTCompleteVertex toChangeVariantOf) Returns true if thisModelRules
accept that the symbol of the vertextoChangeTypeOf
changes variant tonewVariant
.ModelingRules.canRemove
(MTCompleteModel model, Collection<MTCompleteVertex> vertices, Collection<MTCompleteEdge> edges) Returns true if everything in bothvertices
andedges
can be removed frommodel
, false otherwise.