Class Traceable
- java.lang.Object
-
- org.apache.sling.provisioning.model.Traceable
-
- Direct Known Subclasses:
Commentable
,Model
,RunMode
public abstract class Traceable extends java.lang.Object
A traceable has an optional location.
-
-
Constructor Summary
Constructors Constructor Description Traceable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLocation()
Get the location.void
setLocation(java.lang.String value)
Set the location.java.lang.String
toString()
-
-
-
Method Detail
-
getLocation
public java.lang.String getLocation()
Get the location. The location might be the location of the model file or any other means identifying where the object is defined.- Returns:
- The location or
null
.
-
setLocation
public void setLocation(java.lang.String value)
Set the location.- Parameters:
value
- The new location.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-