Package com.day.cq.wcm.api.reference
Class Reference
- java.lang.Object
-
- com.day.cq.wcm.api.reference.Reference
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLastModified()
String
getName()
Resource
getResource()
String
getType()
-
-
-
Method Detail
-
getType
public String getType()
- Returns:
- the type of the resource, for informative purposes
-
getName
public String getName()
- Returns:
- the friendly name of the resource, for informative purposes
-
getResource
public Resource 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
-
-