Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class TypeDescriptor
extends Object
implements Cloneable

Author:
Bogdan Stefanescu

Field Summary
 ClassProxy clazz
           
 String fragment
           
 String superType
           
 String type
           
 int visibility
           
 
Constructor Summary
TypeDescriptor()
           
TypeDescriptor(ClassProxy clazz, String type, String superType)
           
 
Method Summary
 AdapterDescriptor asAdapterDescriptor()
           
 TypeDescriptor asTypeDescriptor()
           
 TypeDescriptor clone()
           
 boolean equals(Object obj)
           
static TypeDescriptor fromAnnotation(ClassProxy clazz, WebObject type)
           
 String getFragment()
           
 String getId()
           
 int getVisibility()
           
 boolean isAdapter()
           
 boolean isMainFragment()
           
 void setVisibility(String v)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

clazz

public ClassProxy clazz

type

public String type

fragment

public String fragment

superType

public String superType

visibility

public int visibility
Constructor Detail

TypeDescriptor

public TypeDescriptor()

TypeDescriptor

public TypeDescriptor(ClassProxy clazz,
                      String type,
                      String superType)
Method Detail

setVisibility

public void setVisibility(String v)

getVisibility

public int getVisibility()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

clone

public TypeDescriptor clone()
Overrides:
clone in class Object

getId

public String getId()

getFragment

public String getFragment()

isMainFragment

public boolean isMainFragment()

isAdapter

public boolean isAdapter()

asAdapterDescriptor

public AdapterDescriptor asAdapterDescriptor()

asTypeDescriptor

public TypeDescriptor asTypeDescriptor()

fromAnnotation

public static TypeDescriptor fromAnnotation(ClassProxy clazz,
                                            WebObject type)

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.