org.weda.property.impl
Class ObjectDescriptor

java.lang.Object
  extended by org.weda.property.impl.ObjectDescriptor

public class ObjectDescriptor
extends java.lang.Object

Цель: возвращать название свойства заданного класса в результате возвращается значение атрибута name аннотации description или название свойства если нет аннотации

Author:
tim

Constructor Summary
ObjectDescriptor()
           
 
Method Summary
 void addAdditionalPropertyInfo(PropertyDescriptor property)
           
 java.lang.Class getObjectClass()
           
 PropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
           
 java.util.List<java.lang.String> getReadWriteProperties()
          Метод возвращает имена свойств которые можно читать и устананавливать.
 void init()
           
 void setConverter(ValueTypeConverter converter)
           
 void setObjectClass(java.lang.Class value)
           
 void setRegistry(ObjectDescriptorRegistry registry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectDescriptor

public ObjectDescriptor()
Method Detail

init

public void init()
          throws ObjectDescriptorException
Throws:
ObjectDescriptorException

getObjectClass

public java.lang.Class getObjectClass()

setObjectClass

public void setObjectClass(java.lang.Class value)

addAdditionalPropertyInfo

public void addAdditionalPropertyInfo(PropertyDescriptor property)

getPropertyDescriptor

public PropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
                                         throws ObjectDescriptorException
Throws:
ObjectDescriptorException

getReadWriteProperties

public java.util.List<java.lang.String> getReadWriteProperties()
                                                        throws ObjectDescriptorException
Метод возвращает имена свойств которые можно читать и устананавливать.

Throws:
ObjectDescriptorException

setRegistry

public void setRegistry(ObjectDescriptorRegistry registry)

setConverter

public void setConverter(ValueTypeConverter converter)


Copyright © 2005-2006 . All Rights Reserved.