org.nuxeo.ecm.webengine.model.impl
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
name
public String name
targetType
public String targetType
facets
public String[] facets
AdapterDescriptor
public AdapterDescriptor()
AdapterDescriptor
public AdapterDescriptor(ClassProxy clazz,
String name,
String type,
String superType)
AdapterDescriptor
public AdapterDescriptor(ClassProxy clazz,
String name,
String type,
String superType,
String targetType,
String[] facets)
isAdapter
public boolean isAdapter()
- Overrides:
isAdapter
in class TypeDescriptor
equals
public boolean equals(Object obj)
- Overrides:
equals
in class TypeDescriptor
getId
public String getId()
- Overrides:
getId
in class TypeDescriptor
getFragment
public String getFragment()
- Overrides:
getFragment
in class TypeDescriptor
isMainFragment
public boolean isMainFragment()
- Overrides:
isMainFragment
in class TypeDescriptor
asAdapterDescriptor
public AdapterDescriptor asAdapterDescriptor()
- Overrides:
asAdapterDescriptor
in class TypeDescriptor
fromAnnotation
public static AdapterDescriptor fromAnnotation(ClassProxy clazz,
WebAdapter type)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.