Skip navigation links
A B C G H I L N P S T U 

A

AbstractDesignRule - Class in br.edu.ufcg.splab.designtests.designrules
Abstract class to start the properties of the rules for software design in instance of the DesignWizard.
AbstractDesignRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Initiates rule properties for software design in instance of the DesignWizard.
AbstractDesignRule(DesignWizard, Set<ClassNode>) - Constructor for class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Initiates rule properties for software design in instance of the DesignWizard.
addReport(String) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Add new errors messages at the report.
addResultFalse(ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Add a ClassNode in the set of false results.
addResultTrue(ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Add a ClassNode in the set of true results.

B

br.edu.ufcg.splab.designtests.designrules - package br.edu.ufcg.splab.designtests.designrules
Package with a set of design rules for a software's design in an instance of the DesignWizard.
br.edu.ufcg.splab.designtests.util - package br.edu.ufcg.splab.designtests.util
Class with functions for extracting information of persistent classes and java collections.

C

checkClassNodes(Set<ClassNode>) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Checks if the parameter belongs to the set of classes of the design DesignWizard.getAllClasses().
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Checks if the set AbstractDesignRule.getClassNodes() attends the rule.
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.HashCodeAndEqualsNotUseIdentifierPropertyRule
Check if the equals(java.lang.Object) method and hashCode() method access the identifier field.
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.HashCodeAndEqualsRule
 
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.ImplementsSerializableRule
 
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.NoArgumentConstructorRule
Checks if the set AbstractDesignRule.getClassNodes() attends the rule.
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.NoFinalClassRule
Checks if the set AbstractDesignRule.getClassNodes() attends the rule.
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.ProvideGetsSetsFieldsRule
Checks the class fields (no static) if contains getters and setters.
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.ProvideIdentifierPropertyRule
Checks if the set AbstractDesignRule.getClassNodes() attends the rule.
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.UseInterfaceSetOrListRule
 
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.UseListCollectionRule
 
checkRule() - Method in class br.edu.ufcg.splab.designtests.designrules.UseSetCollectionRule
 

G

getClassesAnnotated(DesignWizard, String) - Method in class br.edu.ufcg.splab.designtests.util.PersistenceRuleUtil
Returns the set of ClassNode with the annotated classes to the entity represented by this annotationName.
getClassNodes() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Returns the set of ClassNode objects where this design rule will be executed.
getDesignWizard() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Returns a DesignWizard's instance with the design.
getEqualsMethod(ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Returns a MethodNode object that reflects the specified equals method of the class or superClass represented by ClassNode object.
getHashCodeMethod(ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Returns a MethodNode object that reflects the specified hashCode method of the class or superClass represented by ClassNode object.
getIdentifierProperty(ClassNode) - Method in class br.edu.ufcg.splab.designtests.util.PersistenceRuleUtil
Checks if the class contains a identifier field in the declared fields.
getMethod(ClassNode, String) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Returns a MethodNode object that reflects the specified method of the class or interface represented by ClassNode object.
getName() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Returns the rule's name.
getObjectClass() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
ClassNode for represents the Object class.
getReport() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
The Report with errors messages.
getResultsFalse() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Returns the set of ClassNode objects that did not pass the rule.
getResultsTrue() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Returns the set of ClassNode objects that passed the rule.

H

hasGetMethod(FieldNode, ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Verifies if exists get method for the field.
HashCodeAndEqualsNotUseIdentifierPropertyRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: Both equals(java.lang.Object) and hashCode() in classes of the Model Package doesn't access the field that is identifier property.
HashCodeAndEqualsNotUseIdentifierPropertyRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.HashCodeAndEqualsNotUseIdentifierPropertyRule
Initiates rule properties for software design in instance of the DesignWizard.
HashCodeAndEqualsRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: Override both equals(java.lang.Object) and hashCode() in classes of the Model Package.
HashCodeAndEqualsRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.HashCodeAndEqualsRule
Initiates rule properties for software design in instance of the DesignWizard.
hasSetMethod(FieldNode, ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Verifies if exists set method for the field.

I

ImplementsSerializableRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: The Serializable interface should be implementated for all classes in the Model Package.
ImplementsSerializableRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.ImplementsSerializableRule
Initiates rule properties for software design in instance of the DesignWizard.
ImplementsSerializableRule(DesignWizard, Set<ClassNode>) - Constructor for class br.edu.ufcg.splab.designtests.designrules.ImplementsSerializableRule
Initiates rule properties for software design in instance of the DesignWizard.
isCollection(ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Checks if the classNode implements or inherits from the Collection type of the Java Collection Framework.
isCollection(ClassNode) - Method in class br.edu.ufcg.splab.designtests.util.TypesOfCollections
Checks if the classNode represents a java collection.
isCollection(String) - Method in class br.edu.ufcg.splab.designtests.util.TypesOfCollections
Checks if the class name represents a java collection.
isEmptyReport() - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Checks if the report is empty.
isList(ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Checks if the classNode implements or inherits from the List type of the Java Collection Framework.
isList(ClassNode) - Method in class br.edu.ufcg.splab.designtests.util.TypesOfCollections
Checks if the classNode represents a collection of the List type.
isList(String) - Method in class br.edu.ufcg.splab.designtests.util.TypesOfCollections
Checks if the class name represents a collection of the List type.
isSet(ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Checks if the classNode implements or inherits from the Set type of the Java Collection Framework.
isSet(ClassNode) - Method in class br.edu.ufcg.splab.designtests.util.TypesOfCollections
Checks if the classNode represents a collection of the Set type.
isSet(String) - Method in class br.edu.ufcg.splab.designtests.util.TypesOfCollections
Checks if the class name represents a collection of the Set type.

L

LIST - Static variable in class br.edu.ufcg.splab.designtests.util.TypesOfCollections
ClassNode for represents the List interface.

N

NoArgumentConstructorRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: A default constructor must be implemented in classes of the Model Package.
NoArgumentConstructorRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.NoArgumentConstructorRule
Builds the rule for the designwizard instance.
NoFinalClassRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: The classes can't to be final in classes of the Model Package.
NoFinalClassRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.NoFinalClassRule
Builds the rule for the designwizard instance.

P

PersistenceRuleUtil - Class in br.edu.ufcg.splab.designtests.util
Class with functions for extracting information of persistent classes.
PersistenceRuleUtil() - Constructor for class br.edu.ufcg.splab.designtests.util.PersistenceRuleUtil
 
ProvideGetsSetsFieldsRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: Defines getters and setters in classes of the Model Package.
ProvideGetsSetsFieldsRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.ProvideGetsSetsFieldsRule
Builds the rule for the designwizard instance.
ProvideIdentifierPropertyRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: Provide identifier Properties in classes of the Model Package.
ProvideIdentifierPropertyRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.ProvideIdentifierPropertyRule
Builds the rule for the designwizard instance.

S

SET - Static variable in class br.edu.ufcg.splab.designtests.util.TypesOfCollections
ClassNode for represents the Set interface.
setClassNode(ClassNode) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Put a ClassNode object where this design rule will be executed.
setClassNodes(Set<ClassNode>) - Method in class br.edu.ufcg.splab.designtests.designrules.AbstractDesignRule
Put a set of ClassNode objects where this design rule will be executed.

T

TypesOfCollections - Class in br.edu.ufcg.splab.designtests.util
Utility class with functions related to collections to facilitate the implementation of design rules.
TypesOfCollections() - Constructor for class br.edu.ufcg.splab.designtests.util.TypesOfCollections
Extract all informations of the collections classes.

U

UseInterfaceSetOrListRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: Declaration of Collection of the type Set or List in classes of the Model Package.
UseInterfaceSetOrListRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.UseInterfaceSetOrListRule
Initiates rule properties for software design in instance of the DesignWizard.
UseListCollectionRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: Declaration of Collection of the type List in classes of the Model Package.
UseListCollectionRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.UseListCollectionRule
Initiates rule properties for software design in instance of the DesignWizard.
UseSetCollectionRule - Class in br.edu.ufcg.splab.designtests.designrules
Rule: Declaration of Collection of the type Set in classes of the Model Package.
UseSetCollectionRule(DesignWizard) - Constructor for class br.edu.ufcg.splab.designtests.designrules.UseSetCollectionRule
Initiates rule properties for software design in instance of the DesignWizard.
A B C G H I L N P S T U 
Skip navigation links

Copyright © 2016. All rights reserved.