Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.model.impl
Class AdapterDescriptor

java.lang.Object
  extended by org.nuxeo.ecm.webengine.model.impl.TypeDescriptor
      extended by org.nuxeo.ecm.webengine.model.impl.AdapterDescriptor
All Implemented Interfaces:
Cloneable

public class AdapterDescriptor
extends TypeDescriptor

Author:
Bogdan Stefanescu

Field Summary
 String[] facets
           
 String name
           
 String targetType
           
 
Fields inherited from class org.nuxeo.ecm.webengine.model.impl.TypeDescriptor
clazz, fragment, superType, type, visibility
 
Constructor Summary
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
 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, setVisibility, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

targetType

public String targetType

facets

public String[] facets
Constructor Detail

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)
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.