Package com.composum.sling.core.service
Interface PathReferencesService.Hit.Property
-
- All Known Implementing Classes:
PathReferencesServiceImpl.HitIteratorImpl.IteratorHit.HitProperty
- Enclosing interface:
- PathReferencesService.Hit
public static interface PathReferencesService.Hit.Property
a property wich is referencing the searched path
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PathReferencesService.Hit.Property.Value
a value which contains references of the searched path
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getName()
@NotNull String
getText()
@Nullable PathReferencesService.Hit.Property.Value
getValue()
@NotNull List<PathReferencesService.Hit.Property.Value>
getValues()
boolean
isMulti()
boolean
isRichText()
-
-
-
Method Detail
-
getName
@NotNull @NotNull String getName()
- Returns:
- the name of the matching property
-
getValue
@Nullable @Nullable PathReferencesService.Hit.Property.Value getValue()
- Returns:
- the first (the single one) matching value
-
getText
@NotNull @NotNull String getText()
- Returns:
- the content text of the first (the single one) matching value
-
getValues
@NotNull @NotNull List<PathReferencesService.Hit.Property.Value> getValues()
- Returns:
- the set of matching values, maybe more than one if the property is a multi value property
-
isMulti
boolean isMulti()
- Returns:
- 'true', the property is a multi value property
-
isRichText
boolean isRichText()
- Returns:
- 'true', if one of the matching values seems to be a rich text value
-
-