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[]facetsStringnameStringtargetType- 
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 AdapterDescriptorasAdapterDescriptor()booleanequals(Object obj)static AdapterDescriptorfromAnnotation(ClassProxy clazz, WebAdapter type)StringgetFragment()StringgetId()booleanisAdapter()booleanisMainFragment()- 
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:
 isAdapterin classTypeDescriptor
 
- 
equals
public boolean equals(Object obj)
- Overrides:
 equalsin classTypeDescriptor
 
- 
getId
public String getId()
- Overrides:
 getIdin classTypeDescriptor
 
- 
getFragment
public String getFragment()
- Overrides:
 getFragmentin classTypeDescriptor
 
- 
isMainFragment
public boolean isMainFragment()
- Overrides:
 isMainFragmentin classTypeDescriptor
 
- 
asAdapterDescriptor
public AdapterDescriptor asAdapterDescriptor()
- Overrides:
 asAdapterDescriptorin classTypeDescriptor
 
- 
fromAnnotation
public static AdapterDescriptor fromAnnotation(ClassProxy clazz, WebAdapter type)
 
 - 
 
 -