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