public class LspsXClass extends Object implements org.hibernate.annotations.common.reflection.XClass
Constructor and Description |
---|
LspsXClass(String name)
Creates new instance.
|
LspsXClass(String name,
LspsXClass superclass,
boolean isCollection)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(Annotation annotation)
Adds an annotation.
|
void |
addProperty(LspsXProperty property)
Adds a property.
|
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Annotation[] |
getAnnotations() |
List<org.hibernate.annotations.common.reflection.XMethod> |
getDeclaredMethods() |
List<org.hibernate.annotations.common.reflection.XProperty> |
getDeclaredProperties(String accessType) |
List<org.hibernate.annotations.common.reflection.XProperty> |
getDeclaredProperties(String accessType,
org.hibernate.annotations.common.reflection.Filter filter) |
org.hibernate.annotations.common.reflection.XClass[] |
getInterfaces() |
String |
getName() |
org.hibernate.annotations.common.reflection.XClass |
getSuperclass() |
boolean |
isAbstract() |
<T extends Annotation> |
isAnnotationPresent(Class<T> annotationType) |
boolean |
isAssignableFrom(org.hibernate.annotations.common.reflection.XClass c) |
boolean |
isCollection()
Returns true if collection.
|
boolean |
isEnum() |
boolean |
isInterface() |
boolean |
isPrimitive() |
String |
toString() |
public LspsXClass(String name, LspsXClass superclass, boolean isCollection)
name
- superclass
- isCollection
- public LspsXClass(String name)
name
- public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface org.hibernate.annotations.common.reflection.XAnnotatedElement
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
isAnnotationPresent
in interface org.hibernate.annotations.common.reflection.XAnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface org.hibernate.annotations.common.reflection.XAnnotatedElement
public void addAnnotation(Annotation annotation)
annotation
- public String getName()
getName
in interface org.hibernate.annotations.common.reflection.XClass
public org.hibernate.annotations.common.reflection.XClass getSuperclass()
getSuperclass
in interface org.hibernate.annotations.common.reflection.XClass
public org.hibernate.annotations.common.reflection.XClass[] getInterfaces()
getInterfaces
in interface org.hibernate.annotations.common.reflection.XClass
public boolean isInterface()
isInterface
in interface org.hibernate.annotations.common.reflection.XClass
public boolean isAbstract()
isAbstract
in interface org.hibernate.annotations.common.reflection.XClass
public boolean isPrimitive()
isPrimitive
in interface org.hibernate.annotations.common.reflection.XClass
public boolean isEnum()
isEnum
in interface org.hibernate.annotations.common.reflection.XClass
public boolean isAssignableFrom(org.hibernate.annotations.common.reflection.XClass c)
isAssignableFrom
in interface org.hibernate.annotations.common.reflection.XClass
public void addProperty(LspsXProperty property)
property
- public List<org.hibernate.annotations.common.reflection.XProperty> getDeclaredProperties(String accessType)
getDeclaredProperties
in interface org.hibernate.annotations.common.reflection.XClass
public List<org.hibernate.annotations.common.reflection.XProperty> getDeclaredProperties(String accessType, org.hibernate.annotations.common.reflection.Filter filter)
getDeclaredProperties
in interface org.hibernate.annotations.common.reflection.XClass
public List<org.hibernate.annotations.common.reflection.XMethod> getDeclaredMethods()
getDeclaredMethods
in interface org.hibernate.annotations.common.reflection.XClass
public boolean isCollection()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.