* Constraints File. Constraints File provide information about the
* <code>Constraint</code>s i.e. Constraint class name, Constraint
* constructor arguments & thier types.
*/
private void constructConstraints() {
Constraints customConstraints = null;
Constraints defaultConstraints = null;
String constraintsFile =
System.getProperty("constraints.file"); //NOI18N
///System.out.println(consFile);
if(constraintsFile != null){
customConstraints = getConstraints(constraintsFile);
}
if(defaultConstraintsFile != null){
defaultConstraints = getConstraints(defaultConstraintsFile);
}
if(customConstraints != null){
if(defaultConstraints != null){
int count = defaultConstraints.sizeCheckInfo();
CheckInfo checkInfo = null;
CheckInfo checkInfoClone = null;
for(int i=0; i<count; i++){
checkInfo = defaultConstraints.getCheckInfo(i);
///String str = checkInfo.dumpBeanNode();
checkInfoClone = (CheckInfo) checkInfo.clone();
///System.out.println(checkInfoClone.dumpBeanNode());
customConstraints.addCheckInfo(checkInfoClone);
}