Package | Description |
---|---|
org.tanjakostic.jcleancim.model |
Classes being created by a builder or with the API (code) to hold the in-memory UML model.
|
org.tanjakostic.jcleancim.statistics |
Classes responsible for tracking and reporting model statistics.
|
org.tanjakostic.jcleancim.validation |
Classes responsible for validating the model and the rules to apply.
|
Modifier and Type | Field and Description |
---|---|
private UmlAssociation |
UmlAssociationEnd._containingAssociation |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,UmlAssociation> |
UmlModel._associations |
private java.util.Collection<UmlAssociation> |
UmlClass._associationsAsSource |
private java.util.Collection<UmlAssociation> |
UmlClass._associationsAsSourceAndTarget |
private java.util.Collection<UmlAssociation> |
UmlClass._associationsAsTarget |
Modifier and Type | Method and Description |
---|---|
(package private) UmlAssociation |
UmlModel.addAssociation(UmlAssociation a)
Intended to be called by
UmlClass and tests only. |
UmlAssociation |
UmlClass.addAssociation(UmlAssociationEnd sourceEnd,
UmlAssociationEnd targetEnd,
UmlObjectData objData,
UmlAssociation.Data data)
Creates from arguments an association with this as type of
sourceEnd , adds it to
both types of association ends and to the model, and returns the newly created object. |
(package private) static UmlAssociation |
UmlAssociation.basic(UmlAssociationEnd sourceEnd,
UmlAssociationEnd targetEnd)
For testing only: Constructs minimal association.
|
(package private) static UmlAssociation |
UmlAssociation.basic(UmlAssociationEnd sourceEnd,
UmlAssociationEnd targetEnd,
UmlStereotype stereotype)
For testing only: Constructs minimal association with stereotype.
|
UmlAssociation |
UmlAssociationEnd.getContainingAssociation()
Returns the association to which this end belongs.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<UmlAssociation> |
UmlModel.findAssociations(java.util.EnumSet<OwningWg> wgs,
java.util.EnumSet<UmlAssociationEnd.Kind> kinds,
boolean includeNormative,
boolean includeInformative)
Returns all associations involving classes from owners
wg . |
java.util.Collection<UmlAssociation> |
UmlModel.findCimNoncimAssociations()
Returns all associations that are mappings between models of different natures.
|
java.util.Collection<UmlAssociation> |
UmlModel.getAssociations()
Returns all associations in this model.
|
java.util.Collection<UmlAssociation> |
UmlClass.getAssociations() |
(package private) java.util.Collection<UmlAssociation> |
UmlClass.getAssociationsAsSource() |
(package private) java.util.Collection<UmlAssociation> |
UmlClass.getAssociationsAsSourceAndTarget() |
(package private) java.util.Collection<UmlAssociation> |
UmlClass.getAssociationsAsTarget() |
java.util.Collection<UmlAssociation> |
UmlClass.getInheritedAssociations() |
Modifier and Type | Method and Description |
---|---|
(package private) UmlAssociation |
UmlModel.addAssociation(UmlAssociation a)
Intended to be called by
UmlClass and tests only. |
(package private) void |
UmlAssociationEnd.setContainingAssociation(UmlAssociation containingAssociation)
Reserved for use by
UmlAssociation : Sets containing association for this end. |
Modifier and Type | Method and Description |
---|---|
private void |
UmlModel.saveAssocEndsTags(java.util.Collection<UmlAssociation> objects) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<UmlKind,java.util.List<UmlAssociation>> |
StatsPerOwner._associations |
private java.util.Map<OwningWg,java.util.Collection<UmlAssociation>> |
ModelStats._scopedAssociations |
private java.util.Collection<UmlAssociation> |
CrossPackageStats._scopedAssociations |
Modifier and Type | Method and Description |
---|---|
java.util.Map<UmlKind,java.util.List<UmlAssociation>> |
StatsPerOwner.getAssociations() |
java.util.Map<OwningWg,java.util.Collection<UmlAssociation>> |
ModelStats.getScopedAssociations() |
Modifier and Type | Method and Description |
---|---|
private void |
CrossPackageStats.addClassPairsFromAssocs(java.util.Collection<UmlAssociation> assocs,
java.util.Collection<java.util.Collection<UmlClass>> xownerAssocs,
java.util.Collection<java.util.Collection<UmlClass>> xpackageAssocs) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<UmlAssociation> |
AssociationValidator._scopedUmlObjects |
Modifier and Type | Method and Description |
---|---|
java.util.List<UmlAssociation> |
AssociationValidator.getScopedUmlObjects() |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<UmlObject> |
AssociationValidator.collectEndsAsUmlObjects(UmlAssociation o) |
protected java.util.List<UmlObject> |
AssociationValidator.AssociationEndsWithUnallowedStereotype.getSubObjects(UmlAssociation o) |
protected java.util.List<UmlObject> |
AssociationValidator.AssociationEndsMissingDoc.getSubObjects(UmlAssociation assoc) |
protected java.util.List<UmlObject> |
AssociationValidator.AssociationEndsWithBadDocStart.getSubObjects(UmlAssociation assoc) |
protected java.util.List<UmlObject> |
AssociationValidator.AssociationEndsWithBadDocEnd.getSubObjects(UmlAssociation assoc) |
protected java.util.List<UmlObject> |
AssociationValidator.AssociationEndsWithBadCharacterInName.getSubObjects(UmlAssociation assoc) |
private static java.util.List<UmlObject> |
AssociationValidator.getSubObjectsDocRelated(UmlAssociation assoc) |
protected boolean |
AssociationValidator.AssociationEndsMissingDoc.skipValidation(UmlAssociation o) |
void |
AssociationValidator.AssociationsWithExplicitDirection.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.AssociationsWithRoleBadDirection.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.AssociationsWithDoc.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.AssociationsWithSameDocOnBothEnds.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.AssociationsWithName.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.AssociationsMissingInformativeStereotype.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.AssociationsWithNoMultiplicity.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.AssociationsWithWrongSource.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.Iec61850AssociationsThatShouldBePrivate.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.Iec61850AssociationsWithDifferentEndVisibility.validate(UmlAssociation o,
ModelIssues issues) |
void |
AssociationValidator.CimAssociationEndsNameStartingWithLowerCase.validate(UmlAssociation ae,
ModelIssues issues) |
void |
AssociationValidator.CimAssociationEndsNameShouldBePlural.validate(UmlAssociation ae,
ModelIssues issues) |
void |
AssociationValidator.CimAssociationEndsNameShouldBeSingular.validate(UmlAssociation ae,
ModelIssues issues) |
Constructor and Description |
---|
AssociationValidator(Config cfg,
java.util.Collection<UmlAssociation> allAssociations,
ModelIssues issues) |
Copyright 2009-2015 Tatjana (Tanja) Kostic