Class Traceable
- java.lang.Object
-
- org.apache.sling.provisioning.model.Traceable
-
- Direct Known Subclasses:
Commentable,Model,RunMode
public abstract class Traceable extends java.lang.ObjectA 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.StringgetLocation()Get the location.voidsetLocation(java.lang.String value)Set the location.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-