public class ResolvedModelSource<T> extends Object
ResourceModel
for
a Resource
. Provides the found model as an OsgiModelSource
and the resource type the model was found for. The resource type may be any type within the resource's
resource type or node type hierarchy.Constructor and Description |
---|
ResolvedModelSource(OsgiModelSource<T> source,
String resourceType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getResolvedResourceType()
The resource type for which this model was resolved.
|
OsgiModelSource<T> |
getSource() |
int |
hashCode() |
String |
toString() |
public ResolvedModelSource(OsgiModelSource<T> source, String resourceType)
source
- must not be null
resourceType
- must not be null
public OsgiModelSource<T> getSource()
public String getResolvedResourceType()
MappableTypeHierarchy
.null
.Copyright © 2024. All rights reserved.