public class SearchResultObject extends ObjectIdentity
Constructor and Description |
---|
SearchResultObject(String identifier,
String path,
String location,
String name,
String objectType,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate,
long size)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
Date |
getCreatedDate()
Get the creation date of the object represented by this SearchResultObject
|
String |
getLastModifiedBy()
Get the userid of the user who last modified the object represented by this SearchResultObject
|
Date |
getLastModifiedDate()
Get the last modified date of the object represented by this SearchResultObject
|
String |
getLocation()
Get the parent location of the object represented by this SearchResultObject
|
String |
getName()
Get the name of the object represented by this SearchResultObject
|
String |
getPath()
Get the full path of the object represented by this SearchResultObject
|
long |
getSize()
Get the size (in bytes) of the object (files only) represented by this SearchResultObject.
|
int |
hashCode()
Return a hash code value for the object.
|
String |
toString()
Return a string representation of the object.
|
getIdentifier, getObjectType, setIdentifier, setObjectType
public SearchResultObject(String identifier, String path, String location, String name, String objectType, Date createdDate, String lastModifiedBy, Date lastModifiedDate, long size)
path
- the full pathlocation
- the parent locationname
- the nameobjectType
- the object typecreatedDate
- the creation datelastModifiedBy
- the userid of the user who last modified the objectlastModifiedDate
- the last modified datesize
- the size (in bytes) if a filepublic String getPath()
public String getLocation()
public String getName()
public long getSize()
public Date getCreatedDate()
public String getLastModifiedBy()
public Date getLastModifiedDate()
public int hashCode()
ObjectIdentity
hashCode
in class ObjectIdentity
Object.hashCode()
public boolean equals(Object obj)
ObjectIdentity
equals
in class ObjectIdentity
Object.equals(java.lang.Object)
public String toString()
ObjectIdentity
toString
in class ObjectIdentity
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA