Class AdapterDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.TypeDescriptor
-
- org.nuxeo.ecm.webengine.model.impl.AdapterDescriptor
-
- All Implemented Interfaces:
Cloneable
public class AdapterDescriptor extends TypeDescriptor
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description String[]
facets
String
name
String
targetType
-
Fields inherited from class org.nuxeo.ecm.webengine.model.impl.TypeDescriptor
clazz, fragment, superType, type, visibility
-
-
Constructor Summary
Constructors Constructor Description AdapterDescriptor()
AdapterDescriptor(ClassProxy clazz, String name, String type, String superType)
AdapterDescriptor(ClassProxy clazz, String name, String type, String superType, String targetType, String[] facets)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdapterDescriptor
asAdapterDescriptor()
boolean
equals(Object obj)
static AdapterDescriptor
fromAnnotation(ClassProxy clazz, WebAdapter type)
String
getFragment()
String
getId()
boolean
isAdapter()
boolean
isMainFragment()
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.TypeDescriptor
asTypeDescriptor, clone, fromAnnotation, getVisibility, hashCode, setVisibility, toString
-
-
-
-
Constructor Detail
-
AdapterDescriptor
public AdapterDescriptor()
-
AdapterDescriptor
public AdapterDescriptor(ClassProxy clazz, String name, String type, String superType)
-
-
Method Detail
-
isAdapter
public boolean isAdapter()
- Overrides:
isAdapter
in classTypeDescriptor
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classTypeDescriptor
-
getId
public String getId()
- Overrides:
getId
in classTypeDescriptor
-
getFragment
public String getFragment()
- Overrides:
getFragment
in classTypeDescriptor
-
isMainFragment
public boolean isMainFragment()
- Overrides:
isMainFragment
in classTypeDescriptor
-
asAdapterDescriptor
public AdapterDescriptor asAdapterDescriptor()
- Overrides:
asAdapterDescriptor
in classTypeDescriptor
-
fromAnnotation
public static AdapterDescriptor fromAnnotation(ClassProxy clazz, WebAdapter type)
-
-