Class DesignPatternProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.AuthoredReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.designpatterns.DesignPatternProperties
DesignPatternProperties provides a class for the properties of a design pattern.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the benefits of using this design pattern.Return the context for this design pattern.Return the forces that drive the use of this design pattern.Return the liabilities of using this design pattern.Return the problem example for this design pattern.Return the problem statement for this design pattern.Return the solution description for this design pattern.Return the solution example for this design pattern.getUsage()Return the known usage of this design pattern.inthashCode()Return a hash code based on the values of this object.voidsetBenefits(List<String> benefits) Set up the benefits of using this design pattern.voidsetContext(String context) Set up the context for this design pattern.voidSet up the forces that drive the use of this design pattern.voidsetLiabilities(List<String> liabilities) Set up the liabilities of using this design pattern.voidsetProblemExample(String problemExample) Set up the problem example for this design pattern.voidsetProblemStatement(String problemStatement) Set up the problem statement for this design pattern.voidsetSolutionDescription(String solutionDescription) Set up the solution description for this design pattern.voidsetSolutionExample(String solutionExample) Set up the solution example for this design pattern.voidSet up the known usage of this design pattern.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.AuthoredReferenceableProperties
getAuthors, getContentStatus, getUserDefinedContentStatus, setAuthors, setContentStatus, setUserDefinedContentStatusMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getCategory, getDescription, getDisplayName, getIdentifier, getQualifiedName, getURL, getVersionIdentifier, setAdditionalProperties, setCategory, setDescription, setDisplayName, setIdentifier, setQualifiedName, setURL, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getExtendedProperties, getLegal, getTypeName, setExtendedProperties, setLegal, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
DesignPatternProperties
public DesignPatternProperties() -
DesignPatternProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getContext
Return the context for this design pattern.- Returns:
- string
-
setContext
Set up the context for this design pattern.- Parameters:
context- string
-
getForces
Return the forces that drive the use of this design pattern.- Returns:
- list of strings
-
setForces
Set up the forces that drive the use of this design pattern.- Parameters:
forces- list of strings
-
getProblemStatement
Return the problem statement for this design pattern.- Returns:
- string
-
setProblemStatement
Set up the problem statement for this design pattern.- Parameters:
problemStatement- string
-
getProblemExample
Return the problem example for this design pattern.- Returns:
- string
-
setProblemExample
Set up the problem example for this design pattern.- Parameters:
problemExample- string
-
getSolutionDescription
Return the solution description for this design pattern.- Returns:
- string
-
setSolutionDescription
Set up the solution description for this design pattern.- Parameters:
solutionDescription- string
-
getSolutionExample
Return the solution example for this design pattern.- Returns:
- string
-
setSolutionExample
Set up the solution example for this design pattern.- Parameters:
solutionExample- string
-
getBenefits
Return the benefits of using this design pattern.- Returns:
- list of strings
-
setBenefits
Set up the benefits of using this design pattern.- Parameters:
benefits- list of strings
-
getLiabilities
Return the liabilities of using this design pattern.- Returns:
- list of strings
-
setLiabilities
Set up the liabilities of using this design pattern.- Parameters:
liabilities- list of strings
-
getUsage
Return the known usage of this design pattern.- Returns:
- string
-
setUsage
Set up the known usage of this design pattern.- Parameters:
usage- string
-
toString
JSON-style toString- Overrides:
toStringin classAuthoredReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classAuthoredReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCodein classAuthoredReferenceableProperties- Returns:
- int hash code
-