Class AttributeAnalysisStructure
java.lang.Object
com.evolveum.midpoint.common.mining.objects.analysis.AttributeAnalysisStructure
- All Implemented Interfaces:
Serializable
Represents an attribute analysis structure.
Used for storing statistical data about the role analysis cluster.
Represent information about the attribute similarity and density.
- See Also:
-
Constructor Summary
ConstructorDescriptionAttributeAnalysisStructure
(double density, ItemPath itemPath, QName complexType) AttributeAnalysisStructure
(int uniqueValues, int objectCount, int totalValues, ItemPath itemPath, QName complexType) AttributeAnalysisStructure
(RoleAnalysisAttributeAnalysis attributeAnalysis) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTotalValues
(int totalValues) void
addUniqueValues
(int uniqueValues) protected double
calculateDensity
(int relations, int possibleRelations) static @NotNull List<AttributeAnalysisStructure>
extractAttributeAnalysis
(@NotNull RoleAnalysisClusterType cluster) static @NotNull List<AttributeAnalysisStructure>
extractAttributeAnalysis
(@NotNull List<RoleAnalysisAttributeAnalysis> attributeAnalysisList, @NotNull QName complexType) double
int
int
boolean
void
setAttributeStatistics
(List<RoleAnalysisAttributeStatistics> attributeStatistics) void
setDescription
(String description) void
setMultiValue
(boolean multiValue)
-
Constructor Details
-
AttributeAnalysisStructure
-
AttributeAnalysisStructure
-
AttributeAnalysisStructure
-
-
Method Details
-
extractAttributeAnalysis
@NotNull public static @NotNull List<AttributeAnalysisStructure> extractAttributeAnalysis(@NotNull @NotNull RoleAnalysisClusterType cluster) -
extractAttributeAnalysis
@NotNull public static @NotNull List<AttributeAnalysisStructure> extractAttributeAnalysis(@NotNull @NotNull List<RoleAnalysisAttributeAnalysis> attributeAnalysisList, @NotNull @NotNull QName complexType) -
addUniqueValues
public void addUniqueValues(int uniqueValues) -
addTotalValues
public void addTotalValues(int totalValues) -
calculateDensity
protected double calculateDensity(int relations, int possibleRelations) -
getUniqueValues
public int getUniqueValues() -
getTotalValues
public int getTotalValues() -
getItemPath
-
getItemPathType
-
getDensity
public double getDensity() -
getDescription
-
setDescription
-
getAttributeStatistics
-
setAttributeStatistics
-
isMultiValue
public boolean isMultiValue() -
setMultiValue
public void setMultiValue(boolean multiValue) -
getComplexType
-