public class BranchProperties extends ClassificationBeanProperties
BranchProperties provides the bean for the Branch classification. It identifies an element that holds the files for a specific branch of a source code repository.
  • Constructor Details

    • BranchProperties

      public BranchProperties()
      Default constructor
    • BranchProperties

      public BranchProperties(BranchProperties template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Return the name of the branch.
      Returns:
      string
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the name of the branch.
      Parameters:
      displayName - string
    • getScope

      public String getScope()
      Return the scope of the contents of the branch.
      Returns:
      string
    • setScope

      public void setScope(String scope)
      Set up the scope of the contents of the branch.
      Parameters:
      scope - string
    • getPurpose

      public String getPurpose()
      Return the purpose of the branch.
      Returns:
      string
    • setPurpose

      public void setPurpose(String purpose)
      Set up the purpose of the branch.
      Parameters:
      purpose - string
    • getURL

      public String getURL()
      Return the url to access the master copy of this branch in the repository.
      Returns:
      string
    • setURL

      public void setURL(String url)
      Set up the url to access the master copy of this branch in the repository.
      Parameters:
      url - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ClassificationBeanProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class ClassificationBeanProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class ClassificationBeanProperties
      Returns:
      int