Modifier and Type | Field and Description |
---|---|
protected SortedSet<GenericClassInfo> |
GenericPackageInfo.classes |
protected Map<String,GenericClassInfo> |
GenericModel.genClassInfosById |
protected Map<String,GenericClassInfo> |
GenericModel.genClassInfosByName |
Modifier and Type | Method and Description |
---|---|
GenericClassInfo |
GenericModel.createCopy(ClassInfo ci,
String copyId)
Creates a copy of the given class.
|
GenericClassInfo |
GenericClassInfo.createCopy(String copyId,
String copyName,
int copyCategory)
WARNING: creates copies of attributes, but NOT of association roles
|
Modifier and Type | Method and Description |
---|---|
SortedSet<GenericClassInfo> |
GenericPackageInfo.getClasses() |
Map<String,GenericClassInfo> |
GenericModel.getGenClasses() |
SortedSet<GenericClassInfo> |
GenericModel.selectedSchemaClasses() |
Modifier and Type | Method and Description |
---|---|
void |
GenericModel.add(GenericPropertyInfo newProperty,
GenericClassInfo classToAddProperty,
GenericModel.PropertyCopyPositionIndicator copyPositionIndicator,
GenericModel.PropertyCopyDuplicatBehaviorIndicator duplicateHandling)
Adds the property to the model map and also the given class.
|
void |
GenericPackageInfo.addClass(GenericClassInfo ci) |
void |
GenericModel.addClass(GenericClassInfo genCi) |
void |
GenericModel.copyClassContent(GenericClassInfo fromClass,
GenericClassInfo toClass,
GenericModel.PropertyCopyPositionIndicator copyPositionIndicator,
GenericModel.PropertyCopyDuplicatBehaviorIndicator duplicateHandling)
Copies the content of fromClass to toClass, including attributes, but
NOT:
associations
constraints (because the latter are automatically retrieved and
potentially overridden by each class while the input model is loaded)
operations
dependencies
|
protected Constraint |
GenericModel.parse(FolConstraint con,
Sbvr2FolParser parser,
GenericClassInfo genCi) |
protected Constraint |
GenericModel.parse(OclConstraint con,
GenericClassInfo genCi) |
void |
GenericModel.register(GenericClassInfo genCi)
Puts the given class info into the genClassInfosById and
genClassInfosByName maps.
|
void |
GenericModel.remove(GenericClassInfo ciToRemove)
Removes the given class from the model.
|
void |
GenericModel.updateClassName(GenericClassInfo genCi,
String newName)
Replaces the current name of the class with the given name, applying the
update in the model as well (superclasses, subtypes, model, and property
type info).
|
Modifier and Type | Method and Description |
---|---|
void |
GenericModel.remove(Collection<GenericClassInfo> cisToRemove)
Removes the given classes from the model.
|
void |
GenericPackageInfo.setClasses(SortedSet<GenericClassInfo> genericClassInfos) |
void |
GenericModel.setGenClassInfosById(Map<String,GenericClassInfo> genClassInfosById) |
void |
GenericModel.setGenClassInfosByName(Map<String,GenericClassInfo> genClassInfosByName) |
Constructor and Description |
---|
GenericOclConstraint(GenericClassInfo ci,
OclConstraint constr)
Creates a new OCL constraint from the given constraint (with same
context, but having parsed the OCL anew from the text of the given
constraint).
|
GenericOclConstraint(GenericClassInfo ci,
String constrName,
String constrStatus,
String constrText)
Creates a new OCL constraint with the given class as context, and OCL
parsed from the given text.
|
GenericTextConstraint(GenericClassInfo genCi,
Constraint origCon) |
Modifier and Type | Method and Description |
---|---|
GenericClassInfo |
GenericClassContentHandler.getGenericClass() |
Modifier and Type | Method and Description |
---|---|
static Constraint |
ConstraintParserAndValidator.parse(FolConstraint con,
Sbvr2FolParser parser,
GenericClassInfo genCi,
ShapeChangeResult r) |
static Constraint |
ConstraintParserAndValidator.parse(OclConstraint con,
GenericClassInfo genCi) |
Modifier and Type | Method and Description |
---|---|
Set<GenericClassInfo> |
Profiler.getAllSubtypes(GenericClassInfo genCi) |
Modifier and Type | Method and Description |
---|---|
Set<GenericClassInfo> |
Profiler.getAllSubtypes(GenericClassInfo genCi) |
Copyright © 2018. All rights reserved.