org.nuxeo.ecm.webengine.model.impl
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
clazz
public ClassProxy clazz
type
public String type
fragment
public String fragment
superType
public String superType
visibility
public int visibility
TypeDescriptor
public TypeDescriptor()
TypeDescriptor
public TypeDescriptor(ClassProxy clazz,
String type,
String superType)
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.