Class ResourceDescription
java.lang.Object
org.odpi.openmetadata.viewservices.automatedcuration.properties.RefDataElementBase
org.odpi.openmetadata.viewservices.automatedcuration.properties.ResourceDescription
-
Field Summary
Fields inherited from class org.odpi.openmetadata.viewservices.automatedcuration.properties.RefDataElementBase
additionalProperties, description, displayName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorResourceDescription(ResourceListProperties template) Copy/clone constructorResourceDescription(ResourceDescription template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the identifier that describes the type of resource use.inthashCode()Return hash code based on properties.voidsetResourceUse(String resourceUse) Set up identifier that describes the type of resource use.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.viewservices.automatedcuration.properties.RefDataElementBase
getAdditionalProperties, getDescription, getDisplayName, getRelatedElement, getSpecification, getSpecificationMermaidGraph, setAdditionalProperties, setDescription, setDisplayName, setRelatedElement, setSpecification, setSpecificationMermaidGraph
-
Constructor Details
-
ResourceDescription
public ResourceDescription()Default constructor -
ResourceDescription
Copy/clone constructor- Parameters:
template- object to copy
-
ResourceDescription
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getResourceUse
Return the identifier that describes the type of resource use. (Use ResourceUse enum in GAF).- Returns:
- string
-
setResourceUse
Set up identifier that describes the type of resource use. (Use ResourceUse enum in GAF).- Parameters:
resourceUse- string
-
toString
JSON-style toString- Overrides:
toStringin classRefDataElementBase- Returns:
- return string containing the property names and values
-
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-