Class TypeDescriptor
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description ClassProxy
clazz
String
fragment
String
superType
String
type
int
visibility
-
Constructor Summary
Constructors Constructor Description TypeDescriptor()
TypeDescriptor(ClassProxy clazz, String type, String superType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdapterDescriptor
asAdapterDescriptor()
TypeDescriptor
asTypeDescriptor()
TypeDescriptor
clone()
boolean
equals(Object obj)
static TypeDescriptor
fromAnnotation(ClassProxy clazz, WebObject type)
String
getFragment()
String
getId()
int
getVisibility()
int
hashCode()
boolean
isAdapter()
boolean
isMainFragment()
void
setVisibility(String v)
String
toString()
-
-
-
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()
-
clone
public TypeDescriptor clone()
-
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)
-
-