Class PathNameRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityManagerOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.securitymanager.rest.MetadataSourceRequestBody
-
- org.odpi.openmetadata.accessservices.securitymanager.rest.PathNameRequestBody
-
- All Implemented Interfaces:
Serializable
public class PathNameRequestBody extends MetadataSourceRequestBody
PathNameRequestBody carries the parameters for creating a new FileFolder asset.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PathNameRequestBody()Default constructorPathNameRequestBody(PathNameRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetFullPath()Return the full path of the file - this should be unique.inthashCode()Return hash code for this objectvoidsetFullPath(String fullPath)Set up the full path of the file - this should be unique.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.securitymanager.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
-
-
-
Constructor Detail
-
PathNameRequestBody
public PathNameRequestBody()
Default constructor
-
PathNameRequestBody
public PathNameRequestBody(PathNameRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getFullPath
public String getFullPath()
Return the full path of the file - this should be unique.- Returns:
- string name
-
setFullPath
public void setFullPath(String fullPath)
Set up the full path of the file - this should be unique.- Parameters:
fullPath- string name
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classMetadataSourceRequestBody- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classMetadataSourceRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classMetadataSourceRequestBody- Returns:
- int hash code
-
-