|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.addon.jpacontainer.metadata.PropertyMetadata
public class PropertyMetadata
This class represents the metadata of a property. If the property is
transient, this is an ordinary JavaBean property consisting of a getter
method and optionally a setter method. If the property is persistent,
additional information is provided by the PersistentPropertyMetadata
interface.
ClassMetadata,
Serialized Form| Field Summary | |
|---|---|
protected Class<?> |
getterDeclaringClass
|
protected String |
getterName
|
protected Class<?> |
setterDeclaringClass
|
protected String |
setterName
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object obj)
|
|
|
getAnnotation(Class<T> annotationClass)
Gets the annotation of the specified annotation class, if available. |
|
Annotation[] |
getAnnotations()
The annotations of the property, if any. |
|
String |
getName()
The name of the property. |
|
PropertyKind |
getPropertyKind()
|
|
Class<?> |
getType()
The type of the property. |
|
int |
hashCode()
|
|
boolean |
isWritable()
Returns whether the property is writable or not. |
|
Object |
readResolve()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final String getterName
protected final String setterName
protected final Class<?> getterDeclaringClass
protected final Class<?> setterDeclaringClass
| Method Detail |
|---|
public Object readResolve()
throws ObjectStreamException
ObjectStreamExceptionpublic String getName()
public Class<?> getType()
public Annotation[] getAnnotations()
getAnnotation(java.lang.Class)public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
annotationClass - the annotation class.
getAnnotations(),
Class.getAnnotation(java.lang.Class)public boolean isWritable()
public PropertyKind getPropertyKind()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||