public class ModelStats
extends java.lang.Object
Constructor and Description |
---|
ModelStats(UmlModel model)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getAssociationCount() |
int |
getAttributeCount() |
int |
getClassCount() |
int |
getDependencyCount() |
int |
getDiagramCount() |
UmlModel |
getModel() |
int |
getOperationCount() |
int |
getPackageCount() |
java.util.Map<OwningWg,java.util.Collection<UmlAssociation>> |
getScopedAssociations() |
java.util.Map<OwningWg,java.util.Collection<UmlAttribute>> |
getScopedAttributes() |
java.util.Map<OwningWg,java.util.Collection<UmlClass>> |
getScopedClasses() |
java.util.Map<OwningWg,java.util.Collection<UmlDependency>> |
getScopedDependencies() |
java.util.Map<OwningWg,java.util.Collection<UmlDiagram>> |
getScopedDiagrams() |
java.util.Map<OwningWg,java.util.Collection<UmlOperation>> |
getScopedOperations() |
java.util.Map<OwningWg,java.util.Collection<UmlPackage>> |
getScopedPackages() |
java.util.Map<OwningWg,java.util.Map<java.lang.String,java.util.Set<UmlObject>>> |
getScopedTags() |
java.util.Map<Nature,java.util.Collection<StatsPerOwner>> |
getStatsPerNature() |
int |
getTagNamesCount() |
void |
logAbbreviatedTermUsage(org.apache.log4j.Level level)
(IEC61850) For every abbreviated term, logs DOs using it; opposite to
logDONameDecomposition(Level) . |
void |
logAggregationsWithWgClasses(org.apache.log4j.Level level,
OwningWg wg) |
void |
logAttributesWithConstraints(org.apache.log4j.Level level)
Note: Attribute constraints can be derived from class or own.
|
void |
logCimNoncimAssociations(org.apache.log4j.Level level) |
void |
logClasses(org.apache.log4j.Level level) |
void |
logClassesWithAttributeConstraints(org.apache.log4j.Level level) |
void |
logDONameDecomposition(org.apache.log4j.Level level)
(IEC61850) For every DO, logs abbreviations used; opposite to
logAbbreviatedTermUsage(Level) . |
void |
logMultivaluedAttributes(org.apache.log4j.Level level) |
void |
logNamespaceInfos(org.apache.log4j.Level level) |
void |
logNormativeAssociationsWithWgClasses(org.apache.log4j.Level level,
OwningWg wg) |
void |
logNormativeClasses(org.apache.log4j.Level level,
java.util.EnumSet<OwningWg> wgs) |
void |
logOperations(org.apache.log4j.Level level) |
void |
logPackages(org.apache.log4j.Level level) |
void |
logStats() |
void |
logTaggedValues(org.apache.log4j.Level level)
Using tagged values as keys, logs detailed list of referencing objects, except for those tags
that are configured to be ignored.
|
void |
logVersionInfos(org.apache.log4j.Level level) |
java.lang.String |
toHtml() |
java.lang.String |
toString() |
public ModelStats(UmlModel model)
model
- public java.util.Map<OwningWg,java.util.Collection<UmlPackage>> getScopedPackages()
public int getPackageCount()
public int getClassCount()
public java.util.Map<OwningWg,java.util.Collection<UmlAttribute>> getScopedAttributes()
public int getAttributeCount()
public java.util.Map<OwningWg,java.util.Collection<UmlAssociation>> getScopedAssociations()
public int getAssociationCount()
public java.util.Map<OwningWg,java.util.Collection<UmlOperation>> getScopedOperations()
public int getOperationCount()
public java.util.Map<OwningWg,java.util.Collection<UmlDependency>> getScopedDependencies()
public int getDependencyCount()
public java.util.Map<OwningWg,java.util.Collection<UmlDiagram>> getScopedDiagrams()
public int getDiagramCount()
public java.util.Map<OwningWg,java.util.Map<java.lang.String,java.util.Set<UmlObject>>> getScopedTags()
public int getTagNamesCount()
public java.util.Map<Nature,java.util.Collection<StatsPerOwner>> getStatsPerNature()
public UmlModel getModel()
public void logStats()
public java.lang.String toHtml()
public java.lang.String toString()
toString
in class java.lang.Object
public void logPackages(org.apache.log4j.Level level)
public void logClasses(org.apache.log4j.Level level)
public void logOperations(org.apache.log4j.Level level)
public void logNormativeClasses(org.apache.log4j.Level level, java.util.EnumSet<OwningWg> wgs)
public void logNormativeAssociationsWithWgClasses(org.apache.log4j.Level level, OwningWg wg)
public void logAggregationsWithWgClasses(org.apache.log4j.Level level, OwningWg wg)
public void logCimNoncimAssociations(org.apache.log4j.Level level)
public void logClassesWithAttributeConstraints(org.apache.log4j.Level level)
public void logAttributesWithConstraints(org.apache.log4j.Level level)
public void logMultivaluedAttributes(org.apache.log4j.Level level)
public void logNamespaceInfos(org.apache.log4j.Level level)
public void logVersionInfos(org.apache.log4j.Level level)
public void logTaggedValues(org.apache.log4j.Level level)
public void logDONameDecomposition(org.apache.log4j.Level level)
logAbbreviatedTermUsage(Level)
.public void logAbbreviatedTermUsage(org.apache.log4j.Level level)
logDONameDecomposition(Level)
.Copyright 2009-2016 Tatjana (Tanja) Kostic