Class ResourceListProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.resources.ResourceListProperties
ResourceListProperties provides a details of why an element providing resources (such as a community) has been attached to an initiative
such as a governance domain.
-
Constructor Summary
ConstructorDescriptionDefault constructorResourceListProperties
(ResourceListProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the identifier that describes the type of resource use.Return the description of how the resource is used, or why it is useful.Return any additional properties that explains how to use the resource.boolean
Return whether changes to the resource result in notifications to the initiative.int
hashCode()
Return hash code based on properties.void
setResourceUse
(String resourceUse) Set up identifier that describes the type of resource use.void
setResourceUseDescription
(String resourceUseDescription) Set up the description of how the resource is used, or why it is useful.void
setResourceUseProperties
(Map<String, String> resourceUseProperties) Set up any additional properties that explains how to use the resource.void
setWatchResource
(boolean watchResource) Set up whether changes to the resource result in notifications to the initiative.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ResourceListProperties
public ResourceListProperties()Default constructor -
ResourceListProperties
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
-
getResourceUseDescription
Return the description of how the resource is used, or why it is useful.- Returns:
- string
-
setResourceUseDescription
Set up the description of how the resource is used, or why it is useful.- Parameters:
resourceUseDescription
- string
-
getResourceUseProperties
Return any additional properties that explains how to use the resource.- Returns:
- map
-
setResourceUseProperties
Set up any additional properties that explains how to use the resource.- Parameters:
resourceUseProperties
- map
-
getWatchResource
public boolean getWatchResource()Return whether changes to the resource result in notifications to the initiative.- Returns:
- flag
-
setWatchResource
public void setWatchResource(boolean watchResource) Set up whether changes to the resource result in notifications to the initiative.- Parameters:
watchResource
- flag
-
toString
JSON-style toString- Overrides:
toString
in classRelationshipProperties
- 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:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-