Class PathNameRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.PathNameRequestBody
PathNameRequestBody carries the parameters for creating a new FileFolderProperties asset.
-
Constructor Summary
ConstructorDescriptionDefault constructorPathNameRequestBody
(PathNameRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the full path of the file - this should be unique.int
hashCode()
Return hash code for this objectvoid
setPathName
(String pathName) Set up the full path of the file - this should be unique.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
PathNameRequestBody
public PathNameRequestBody()Default constructor -
PathNameRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getPathName
Return the full path of the file - this should be unique.- Returns:
- string name
-
setPathName
Set up the full path of the file - this should be unique.- Parameters:
pathName
- string name
-
toString
JSON-style toString- Overrides:
toString
in classExternalSourceRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classExternalSourceRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classExternalSourceRequestBody
- Returns:
- int hash code
-