public class PropertiesSearchMatch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
protected boolean |
isDeleted |
protected java.lang.String |
path |
protected java.util.List<PropertyGroup> |
propertyGroups |
Constructor and Description |
---|
PropertiesSearchMatch(java.lang.String id,
java.lang.String path,
boolean isDeleted,
java.util.List<PropertyGroup> propertyGroups) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The ID for the matched file or folder.
|
boolean |
getIsDeleted()
Whether the file or folder is deleted.
|
java.lang.String |
getPath()
The path for the matched file or folder.
|
java.util.List<PropertyGroup> |
getPropertyGroups()
List of custom property groups associated with the file.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String id
protected final java.lang.String path
protected final boolean isDeleted
protected final java.util.List<PropertyGroup> propertyGroups
public PropertiesSearchMatch(java.lang.String id, java.lang.String path, boolean isDeleted, java.util.List<PropertyGroup> propertyGroups)
id
- The ID for the matched file or folder. Must have length of at
least 1 and not be null
.path
- The path for the matched file or folder. Must not be null
.isDeleted
- Whether the file or folder is deleted.propertyGroups
- List of custom property groups associated with the
file. Must not contain a null
item and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getId()
null
.public java.lang.String getPath()
null
.public boolean getIsDeleted()
public java.util.List<PropertyGroup> getPropertyGroups()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.