| org.kuali.kfs.context.KualiTestBase org.kuali.bo.BusinessObjectStructureTest
BusinessObjectStructureTest | public class BusinessObjectStructureTest extends KualiTestBase (Code) | | This class verifies some rules about setting up Business Objects. Primary Key & References: Object - has attribute, a getter, and
setter OJB - not setup as anonymous When no column of the FK is also part of the current objects PK, then anonymous attributes
should be used. So: Object - no attribute, no getter, no setter OJB - FK anonymous Should have a a public constructor that takes
no arguments Should not initialize other Business Objects, but may initialize other types such as Lists No BO initialization
should take place in getters (e.g. "lazy initialization")
|
Inner Class :static class FileExtensionFilter implements FilenameFilter | |
Inner Class :static class FileDirectoryFilter implements FileFilter | |
DIRECTORY_FILTER | final static FileDirectoryFilter DIRECTORY_FILTER(Code) | | |
findJavaSourceFiles | public Set findJavaSourceFiles()(Code) | | This method returns a set of Files from SOURCEDIR with an extension of .java
Set of Files |
isBusinessObjectClass | public boolean isBusinessObjectClass(Class klass)(Code) | | |
recursivelyFindFilteredFiles | public Set recursivelyFindFilteredFiles(File directory, FilenameFilter filter)(Code) | | This method recursively iterates through a given directory and builds a set of files as allowed by the given filter
Parameters: directory - - directory from which to start Parameters: filter - - FilenameFilter that determines whether a file is allowed in the result Set of Files matching filter |
verify | public void verify(Object object, String property, boolean expectGetter, boolean expectSetter)(Code) | | |
verifyPrimaryKey | public void verifyPrimaryKey(Object object)(Code) | | |
|
|