test_class.file: sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/update/xmlbeans/ChannelXmlBeanTest.java
test_class.identifier: ChannelXmlBeanTest
test_class.superclass: extends BaseSQuirreLJUnit4TestCase
test_case.body: @Test
      public void testEquals() {
          ReleaseXmlBean releaseBean1 = new ReleaseXmlBean("snapshot", "Snapshot-20070922_1258");
          
          ReleaseXmlBean releaseBean2 = new ReleaseXmlBean("snapshot", "Snapshot-20070929_1300");
          
          ChannelXmlBean cb1 = new ChannelXmlBean();
          cb1.setName("snapshot");
          cb1.setCurrentRelease(releaseBean1);
          
          ChannelXmlBean cb2 = new ChannelXmlBean();
          cb2.setName("snapshot");
          cb2.setCurrentRelease(releaseBean1);        
          
          ChannelXmlBean cb3 = new ChannelXmlBean();
          cb3.setName("snapshot");
          cb3.setCurrentRelease(releaseBean2);
          
          ChannelXmlBean cb4 = new ChannelXmlBean() {
              private static final long serialVersionUID = 1L;
          };
  
          new EqualsTester(cb1, cb2, cb3, cb4);
      }
test_case.class_method_signature: ChannelXmlBeanTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: setName setCurrentRelease setName setCurrentRelease setName setCurrentRelease
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: currentRelease
focal_class.modifier: private
focal_class.original_string: private ReleaseXmlBean currentRelease;
focal_class.type: ReleaseXmlBean
focal_class.var_name: currentRelease
focal_class.file: sql12/app/src/main/java/net/sourceforge/squirrel_sql/client/update/xmlbeans/ChannelXmlBean.java
focal_class.identifier: ChannelXmlBean
focal_class.class_method_signature: ChannelXmlBean.getName()
focal_class.full_signature: public String getName()
focal_class.identifier: getName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: ChannelXmlBean.setName(String name)
focal_class.full_signature: public void setName(String name)
focal_class.identifier: setName
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void setName(String name)
focal_class.class_method_signature: ChannelXmlBean.getCurrentRelease()
focal_class.full_signature: public ReleaseXmlBean getCurrentRelease()
focal_class.identifier: getCurrentRelease
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ReleaseXmlBean
focal_class.signature: ReleaseXmlBean getCurrentRelease()
focal_class.class_method_signature: ChannelXmlBean.setCurrentRelease(ReleaseXmlBean currentRelease)
focal_class.full_signature: public void setCurrentRelease(ReleaseXmlBean currentRelease)
focal_class.identifier: setCurrentRelease
focal_class.modifiers: public
focal_class.parameters: (ReleaseXmlBean currentRelease)
focal_class.return: void
focal_class.signature: void setCurrentRelease(ReleaseXmlBean currentRelease)
focal_class.class_method_signature: ChannelXmlBean.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ChannelXmlBean.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: ChannelXmlBean.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public boolean equals(Object obj) {
          if (this == obj)
              return true;
          if (obj == null)
              return false;
          if (getClass() != obj.getClass())
              return false;
          final ChannelXmlBean other = (ChannelXmlBean) obj;
          if (currentRelease == null) {
              if (other.currentRelease != null)
                  return false;
          } else if (!currentRelease.equals(other.currentRelease))
              return false;
          if (name == null) {
              if (other.name != null)
                  return false;
          } else if (!name.equals(other.name))
              return false;
          return true;
      }
focal_method.class_method_signature: ChannelXmlBean.equals(Object obj)
focal_method.full_signature: @Override public boolean equals(Object obj)
focal_method.identifier: equals
focal_method.invocations: getClass getClass equals equals
focal_method.modifiers: @Override public
focal_method.parameters: (Object obj)
focal_method.return: boolean
focal_method.signature: boolean equals(Object obj)