Class BranchProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationBeanProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.softwaredevelopment.BranchProperties
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.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationBeanProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorBranchProperties(BranchProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the name of the branch.Return the purpose of the branch.getScope()Return the scope of the contents of the branch.getURL()Return the url to access the master copy of this branch in the repository.inthashCode()Return hash code based on properties.voidsetDisplayName(String displayName) Set up the name of the branch.voidsetPurpose(String purpose) Set up the purpose of the branch.voidSet up the scope of the contents of the branch.voidSet up the url to access the master copy of this branch in the repository.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationBeanProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getUnrecognizedProperties, setEffectiveFrom, setEffectiveTo, setUnrecognizedProperties, setUnrecognizedProperty
-
Constructor Details
-
BranchProperties
public BranchProperties()Default constructor -
BranchProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getDisplayName
Return the name of the branch.- Returns:
- string
-
setDisplayName
Set up the name of the branch.- Parameters:
displayName- string
-
getScope
Return the scope of the contents of the branch.- Returns:
- string
-
setScope
Set up the scope of the contents of the branch.- Parameters:
scope- string
-
getPurpose
Return the purpose of the branch.- Returns:
- string
-
setPurpose
Set up the purpose of the branch.- Parameters:
purpose- string
-
getURL
Return the url to access the master copy of this branch in the repository.- Returns:
- string
-
setURL
Set up the url to access the master copy of this branch in the repository.- Parameters:
url- string
-
toString
Standard toString method.- Overrides:
toStringin classClassificationBeanProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classClassificationBeanProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classClassificationBeanProperties- Returns:
- int
-