Class PathNameRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.rest.DataManagerOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody
-
- org.odpi.openmetadata.accessservices.datamanager.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 boolean
equals(Object objectToCompare)
Return comparison result based on the content of the properties.String
getFullPath()
Return the full path of the file - this should be unique.int
hashCode()
Return hash code for this objectvoid
setFullPath(String fullPath)
Set up the full path of the file - this should be unique.String
toString()
JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.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:
toString
in 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:
equals
in classMetadataSourceRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCode
in classMetadataSourceRequestBody
- Returns:
- int hash code
-
-