Package com.day.cq.wcm.api.reference
Class Reference
java.lang.Object
com.day.cq.wcm.api.reference.Reference
The ReferencedResource represents a resource which is referenced from another
Resource
.
Unless otherwise noted, all fields contained in this class are not null.
-
Constructor Details
-
Reference
-
-
Method Details
-
getType
- Returns:
- the type of the resource, for informative purposes
-
getName
- Returns:
- the friendly name of the resource, for informative purposes
-
getResource
- Returns:
- the referenced resource
-
getLastModified
public long getLastModified()- Returns:
- the time when this resource was last modified, or -1 if the last modified time is not known
-