org.chromattic.metamodel.bean
Class PropertyInfo<V extends ValueInfo>

java.lang.Object
  extended by org.chromattic.metamodel.bean.PropertyInfo<V>
Direct Known Subclasses:
MultiValuedPropertyInfo, SingleValuedPropertyInfo

public abstract class PropertyInfo<V extends ValueInfo>
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
PropertyInfo(java.lang.String name, V value, org.reflext.api.MethodInfo getter, org.reflext.api.MethodInfo setter)
           
 
Method Summary
 AccessMode getAccessMode()
           
<A extends java.lang.annotation.Annotation>
AnnotatedProperty<A>
getAnnotated(java.lang.Class<A> annotationClass)
           
 java.util.Collection<AnnotatedProperty<?>> getAnnotateds(java.lang.Class<? extends java.lang.annotation.Annotation>... annotationClasses)
           
 org.reflext.api.MethodInfo getGetter()
           
 java.lang.String getName()
           
 org.reflext.api.MethodInfo getSetter()
           
 V getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyInfo

public PropertyInfo(java.lang.String name,
                    V value,
                    org.reflext.api.MethodInfo getter,
                    org.reflext.api.MethodInfo setter)
Method Detail

getName

public java.lang.String getName()

getValue

public V getValue()

getAccessMode

public AccessMode getAccessMode()

getGetter

public org.reflext.api.MethodInfo getGetter()

getSetter

public org.reflext.api.MethodInfo getSetter()

getAnnotateds

public java.util.Collection<AnnotatedProperty<?>> getAnnotateds(java.lang.Class<? extends java.lang.annotation.Annotation>... annotationClasses)

getAnnotated

public <A extends java.lang.annotation.Annotation> AnnotatedProperty<A> getAnnotated(java.lang.Class<A> annotationClass)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010 eXo Platform SAS. All Rights Reserved.