public class ImportedServiceCompositeDescriptor extends Object implements CompositeDescriptor
| Modifier and Type | Field and Description |
|---|---|
protected ImportedServiceDescriptor |
importedService |
protected List<Class<?>> |
mixins |
| Constructor and Description |
|---|
ImportedServiceCompositeDescriptor(ImportedServiceDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
ImportedServiceDescriptor |
importedService() |
boolean |
isAssignableTo(Class<?> type) |
<T> T |
metaInfo(Class<T> infoType)
Get metadata that implements the given type.
|
Stream<Class<?>> |
mixinTypes() |
ModuleDescriptor |
module()
The Module that the Model is declared in.
|
Class<?> |
primaryType() |
Class<? extends ServiceImporter> |
serviceImporter() |
javax.json.JsonObjectBuilder |
toJson() |
String |
toURI() |
Stream<Class<?>> |
types() |
Visibility |
visibility() |
protected ImportedServiceDescriptor importedService
public ImportedServiceCompositeDescriptor(ImportedServiceDescriptor descriptor)
public ImportedServiceDescriptor importedService()
public ModuleDescriptor module()
ModelDescriptormodule in interface ModelDescriptorpublic Stream<Class<?>> mixinTypes()
mixinTypes in interface CompositeDescriptorpublic Class<?> primaryType()
primaryType in interface CompositeDescriptorpublic Visibility visibility()
visibility in interface ModelDescriptorpublic <T> T metaInfo(Class<T> infoType)
MetaInfoHoldermetaInfo in interface MetaInfoHolderT - metadata typeinfoType - the type of metadata to be returnednull if
no such metadata has been registeredpublic boolean isAssignableTo(Class<?> type)
isAssignableTo in interface ModelDescriptorpublic Class<? extends ServiceImporter> serviceImporter()
public String toURI()
public javax.json.JsonObjectBuilder toJson()