public boolean equals(Object obj) {
   if (obj == null) {
     return (false);
   } else if (obj instanceof CFAsteriskExtensionsConfHBuff) {
     CFAsteriskExtensionsConfHBuff rhs = (CFAsteriskExtensionsConfHBuff) obj;
     if (!super.equals(obj)) {
       return (false);
     }
     if (getRequiredClusterId() != rhs.getRequiredClusterId()) {
       return (false);
     }
     if (getRequiredId() != rhs.getRequiredId()) {
       return (false);
     }
     if (!getRequiredFileContents().equals(rhs.getRequiredFileContents())) {
       return (false);
     }
     return (true);
   } else if (obj instanceof CFAsteriskExtensionsConfBuff) {
     CFAsteriskExtensionsConfBuff rhs = (CFAsteriskExtensionsConfBuff) obj;
     if (!super.equals(obj)) {
       return (false);
     }
     if (getRequiredClusterId() != rhs.getRequiredClusterId()) {
       return (false);
     }
     if (getRequiredId() != rhs.getRequiredId()) {
       return (false);
     }
     if (!getRequiredFileContents().equals(rhs.getRequiredFileContents())) {
       return (false);
     }
     return (true);
   } else if (obj instanceof CFAsteriskExtensionsConfByExtClusterIdxKey) {
     CFAsteriskExtensionsConfByExtClusterIdxKey rhs =
         (CFAsteriskExtensionsConfByExtClusterIdxKey) obj;
     if (getRequiredClusterId() != rhs.getRequiredClusterId()) {
       return (false);
     }
     return (true);
   } else {
     return (super.equals(obj));
   }
 }
 public void setExtensionsConfBuff(CFAsteriskExtensionsConfBuff src) {
   super.setConfigurationFileBuff(src);
   setRequiredFileContents(src.getRequiredFileContents());
 }