Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.javatools.db.property
Class PropertyIterator

java.lang.Object
  extended by oracle.javatools.db.property.PropertyIterator

public class PropertyIterator
extends java.lang.Object

A class that iterates through the properties of a DBObject.

Since:
11.0

Constructor Summary
PropertyIterator(java.lang.Class objClass, java.lang.Class<? extends DBObjectProvider> proClass)
           
 
Method Summary
 java.util.Map<java.lang.String,PropertyInfo> getPropertyInfos()
          The returned map includes the PropertyInfos for this iterator's object class and only includes bean properties (not extra properties).
 java.util.Map<java.lang.String,PropertyInfo> getPropertyInfos(boolean excludeTransientGet, boolean excludeTransientSet, boolean beanOnly)
           
static java.util.Map<java.lang.String,PropertyInfo> getPropertyInfos(java.lang.Class beanClass)
          Returns a map of property name to PropertyInfo object for the given bean class.
static java.util.Map<java.lang.String,PropertyInfo> getPropertyInfos(java.lang.Object bean)
          Returns a map of property name to PropertyInfo object for the given bean.
 java.util.Iterator<PropertyInfo> getPropertyIterator()
          The returned iterator includes the PropertyInfos for the object class and only includes bean properties (not extra properties).
 java.util.Iterator<PropertyInfo> getPropertyIterator(boolean excludeTransientGet, boolean excludeTransientSet, boolean beanOnly)
           
static java.util.Iterator<PropertyInfo> getPropertyIterator(java.lang.Class beanClz)
          Returns an Iterator of the properties of the given bean class.
static java.util.Iterator<PropertyInfo> getPropertyIterator(java.lang.Object bean)
          Returns an Iterator of the properties of the given bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyIterator

public PropertyIterator(java.lang.Class objClass,
                        java.lang.Class<? extends DBObjectProvider> proClass)
Method Detail

getPropertyIterator

public java.util.Iterator<PropertyInfo> getPropertyIterator()
The returned iterator includes the PropertyInfos for the object class and only includes bean properties (not extra properties). Any property with a Transient get or set is ignored.


getPropertyIterator

public java.util.Iterator<PropertyInfo> getPropertyIterator(boolean excludeTransientGet,
                                                            boolean excludeTransientSet,
                                                            boolean beanOnly)

getPropertyInfos

public java.util.Map<java.lang.String,PropertyInfo> getPropertyInfos()
The returned map includes the PropertyInfos for this iterator's object class and only includes bean properties (not extra properties). Any property with a Transient get or set is ignored.


getPropertyInfos

public java.util.Map<java.lang.String,PropertyInfo> getPropertyInfos(boolean excludeTransientGet,
                                                                     boolean excludeTransientSet,
                                                                     boolean beanOnly)

getPropertyInfos

public static java.util.Map<java.lang.String,PropertyInfo> getPropertyInfos(java.lang.Object bean)
Returns a map of property name to PropertyInfo object for the given bean. Any property that has a Transient annotation on either the get or set method will be ommitted from the map.


getPropertyInfos

public static java.util.Map<java.lang.String,PropertyInfo> getPropertyInfos(java.lang.Class beanClass)
Returns a map of property name to PropertyInfo object for the given bean class. Any property that has a Transient annotation on either the get or set method will be ommitted from the map.


getPropertyIterator

public static java.util.Iterator<PropertyInfo> getPropertyIterator(java.lang.Object bean)
Returns an Iterator of the properties of the given bean. The infos in the iterator will be ordered alphabetically by property name - except "ID" and "name" which will appear at the beginning of the list if present. Any property that has a Transient annotation on either the get or set method will be ommitted from the Iterator.


getPropertyIterator

public static java.util.Iterator<PropertyInfo> getPropertyIterator(java.lang.Class beanClz)
Returns an Iterator of the properties of the given bean class. The infos in the iterator will be ordered alphabetically by property name - except "ID" and "name" which will appear at the beginning of the list if present. Any property that has a Transient annotation on either the get or set method will be ommitted from the Iterator.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.