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 thisModelingRulesaccepts that a given symbol is added to a given model.ModelingRules.accept(MTCompleteModel model, EdgeType edgeType, MTCompleteVertex from, MTCompleteVertex to) Returns true if thisModelRulesaccept 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 thisModelRulesaccept thatMTCompleteEdges of type edgeType is placed inMTCompleteModels of modelType.ModelingRules.acceptSymbol(ModelType modelType, SymbolType symbolType) Returns true if thisModelRulesaccept that symbols of type symbolType is placed inMTCompleteModels 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 thisModelRulesaccept that the symbol of the vertextoChangeTypeOfchanges variant tonewVariant.ModelingRules.canRemove(MTCompleteModel model, Collection<MTCompleteVertex> vertices, Collection<MTCompleteEdge> edges) Returns true if everything in bothverticesandedgescan be removed frommodel, false otherwise.