private Collection<AssociationsInfo> analyzeAssociations(DataSupport baseObj){
  try {
    Collection<AssociationsInfo> associationInfos=getAssociationInfo(baseObj.getClassName());
    analyzeAssociatedModels(baseObj,associationInfos);
    return associationInfos;
  }
 catch (  Exception e) {
    throw new DataSupportException(e.getMessage());
  }
}

private Collection < AssociationsInfo > analyzeAssociations ( DataSupport baseObj ) { try { Collection < AssociationsInfo > associationInfos = getAssociationInfo ( baseObj . getClassName ( ) ) ; analyzeAssociatedModels ( baseObj , associationInfos ) ; return associationInfos ; } catch ( Exception e ) { throw new DataSupportException ( e . getMessage ( ) ) ; } }
analyze the associations of baseobj and store the result in it . the associations will be used when deleting referenced data of baseobj .
